Hello all I have a question about the OnTimer(). If the OnTimer() should trigger while the EA is in Sleep() will the EA continue to Sleep() or will the OnTimer() function operate?
- what can cause my variable value to get stucked to a fixed number?
- Please help me correct this function
- MT5: OBJ_HLINE dragging event
Only one event runs at a time. If OnTick is sleeping, OnTimer is in the queue and will run when OnTick returns.

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