iStochastic Problem solved

 

I replaced the 3rd last paramater and changed it for PRICE_CLOSE to 1 and suddenly perfect answers every time!!!!

stoch1=iStochastic(Symbol(),time_period,PeriodsK,PeriodsD,SmoothD,MODE_SMA,PRICE_CLOSE,MODE_MAIN,1);

stoch1=iStochastic(Symbol(),time_period,PeriodsK,PeriodsD,SmoothD,MODE_SMA,1,MODE_MAIN,1);

And there is works!!!

 
johanmalan:

I replaced the 3rd last paramater and changed it for PRICE_CLOSE to 1 and suddenly perfect answers every time!!!!

stoch1=iStochastic(Symbol(),time_period,PeriodsK,PeriodsD,SmoothD,MODE_SMA,PRICE_CLOSE,MODE_MAIN,1);

stoch1=iStochastic(Symbol(),time_period,PeriodsK,PeriodsD,SmoothD,MODE_SMA,1,MODE_MAIN,1);

And there is works!!!

Great, good work!
Reason: