this is the code for stochastic with settings of 14,5,5
check if its of any use
_SECTION_BEGIN("Stochastic %K");
k=StochK( periods = 14, ksmooth=5 );
d=StochD( periods = 14, Ksmooth=5, Dsmooth=5 );
Plot(k, "stock 14,5", colorDarkGreen, styleLine);
Plot(d,"stoch 14,,5",colorDarkRed, styleLine);
_SECTION_END();