adibi83: if I use the function and let the EA "sleep" for 10 seconds, will if freeze completely even if there are new pips? or will new pips cause the "start" section run all over |
From NewTick
All
new quotes that are received while the program is running are ignored
until the OnTick() is completed. After that the function will run only
after a new quote is received. |
adibi83:
Same answer applies to start() . . .
The problem is I don't have the OnTick() function, rather the Start() function... I wrote the code before MQL was updated
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi there,
I'm using an EA on MT4 build 670. I have a question regarding the Sleep() function: if I use the function and let the EA "sleep" for 10 seconds, will if freeze completely even if there are new pips? or will new pips cause the "start" section run all over for every new pip again and then the EA will also continue to run after the 10 seconds of "sleep" would end...?
TX