Found out the issue.
Expert Terminal messages were showing :
2014.07.22 22:16:19.430 array out of range in 'TESTindie.mq4' (37,73)
Corrective is:
{ static int i, from; if(prev_calculated == 0) from = rates_total - prev_calculated -1; else from = rates_total - prev_calculated; for(i=from; i>=0; i--) lineBuffer[i] = open[i]; return(rates_total); }
you could do
int from = MathMin(rates_total-1, rates_total-prev_calculated); for (int i=from; i>=0; i--)
The below code with
#property strict
directive compiles without error, but doesn't display anything.
If you comment '#property strict' directive
//#property strict
it will also compile without error and the indicator will display a line.
Not working code:
What is going wrong?