Download MetaTrader 5

What different result about count forward & count backward ?

To add comments, please log in or register
sorasit
359
sorasit 2014.04.18 01:15 

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
9642
Keith Watford 2014.04.18 03:35  
It depends on what the loop is doing
whroeder1
14737
whroeder1 2014.04.18 11:42  
GumRai: It depends on what the loop is doing
Exactly. See Loops and Closing or Deleting Orders - MQL4 forum
sorasit
359
sorasit 2014.04.18 12:19  

thank alot
To add comments, please log in or register