Search found 29 matches

MQL5 vs MQL4 order logic for loops

Hi everyone, I noticed that in mql5 when I write a custom Indicator with for loop, the order is reversed with respect to mq4, for example MQL4: for(int i = limit - window_size-1; i >= 0; i--) This code goes from the last bar trought the present bar. In mql5 this is reversed. Does exists a way to rev...

Return to the advanced search