Thread: How to code?
View Single Post
  #1073 (permalink)  
Old 07-04-2008, 11:07 PM
IN10TION's Avatar
IN10TION IN10TION is offline
Senior Member
 
Join Date: Mar 2007
Posts: 657
Blog Entries: 1
IN10TION is on a distinguished road
:: 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 View Post
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.
__________________
NEW UPDate! 04 Nov. 09 IN10TION newsReader v09.98 Lite - the best forex news reader on your chart
Reply With Quote