OnTimer() while Sleep()
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.