at line 163 replace this part: "iNoLagMa(iMA(TempBuffer,0,1,0,MODE_SMA,Price,i),AtrPeriod,alphas,0,i);"
with this one : " iNoLagMa(iMA(NULL,NULL,1,0,MODE_SMA,Price,i),AtrPeriod,alphas,0,i); "
compile and try
at line 163 replace this part: "iNoLagMa(iMA(TempBuffer,0,1,0,MODE_SMA,Price,i),AtrPeriod,alphas,0,i);"
you can try also at line 163 to replace this part: "iNoLagMa(iMA(TempBuffer,0,1,0,MODE_SMA,Price,i),AtrPeriod,alphas,0,i),"
Code: Select all
TempBuffer [i]
just to accommodate about this one : correctly spot it shaileshm , the second statement is redundantshaileshm wrote: Mon Jun 04, 2018 3:11 am
I would also like to know about the line 105 of the code
if the value av/=pastBars is rqeuired to be repeated twice or is a mistake?Code: Select all
av/=pastBars; av/=pastBars;
Regards
Hello TEAMTRADER ,TEAMTRADER wrote: Mon Jun 04, 2018 9:00 pm Would someone look at this and see why it does not show the stochastics 'line' on the chart please?
Thanks
TEAMTRADER