I want my EA to be executed on every tick and, if there is no new tick for several seconds, to be executed every xxx ms (for example 500ms).
What is the best way to code this in MQL?
Thanks in advance!
New tick means new price change.
Logically, you can't generate your own price.