Hello,
OnTick, the EA starts executing its code, but before it completes executing the full code, the next tick occurs. In this case, what will happen? Will the new tick be ignored until the EA completes the full code execution, or will the EA’s operation be interrupted in the middle by every new tick?
Code is fully executed from top to bottom in OnTick() upon arrival of each tick unless interrupted by something else, e.g., a code error, disconnection, etc.
There is no default "stop-and-go-back" action in OnTick() for any tick.
Code is fully executed from top to bottom in OnTick() upon arrival of each tick unless interrupted by something else, e.g., a code error, disconnection, etc.
There is no default "stop-and-go-back" action in OnTick() for any tick.
Yes.
Just imagine a supermassive tick backlog that could accumulate in a hypothetical "ignored until" scenario.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello,
OnTick, the EA starts executing its code, but before it completes executing the full code, the next tick occurs. In this case, what will happen? Will the new tick be ignored until the EA completes the full code execution, or will the EA’s operation be interrupted in the middle by every new tick?