
07-04-2008, 11:07 PM
|
 |
Senior Member
|
|
Join Date: Mar 2007
Posts: 657
|
|
:: it will not work with indicators like that, even if you loop 1.000.000 times, it will stall everything else, nothing other then that loop will be processed, when the loop is finished then your terminal will continue her normal processes before a new tick.
:: in that 1.000.000 loop it's useless to check/control something else, that's why sleep() function doesn't work.
Quote:
Originally Posted by TheRumpledOne
Hey, that's a good idea!
I could check the time and if X seconds or minutes have elapsed then exit the loop.
THANKS!!
P.S. This was not for an EA. I don't code EAs.
|
|