Download MetaTrader 5

What different result about count forward & count backward ?

To add comments, please log in or register
sorasit
359
sorasit  

for (i = 0;i < limit;i++) and for (i = limit;i >= 0;i--)

What optimum condition to use count forward and count backward ?


thank you

Keith Watford
Moderator
10637
Keith Watford  
It depends on what the loop is doing
whroeder1
15719
whroeder1  
GumRai: It depends on what the loop is doing
Exactly. See Loops and Closing or Deleting Orders - MQL4 forum
sorasit
359
sorasit  

thank alot
To add comments, please log in or register