EA tick flood, how is it handled?

 
For example, during some high market volatility I might get 10 ticks per second. What if my EA would require 2 seconds to calculate and execute? Does it mean that 19 ticks are ignored until EA is ready for next run?

And while you are at it how can I stop the EA from running further? For example, stop when there is not enough free margin. I can't call deinit(), can I?.
 
See "MQL4: Program Run"

At incoming of new quotes, the start() function of the attached experts and custom indicators will be executed. If the start() function launched at the preceding quote was running when a new quote came, the new quote will be skipped by the expert. All new quotes income while the program was being executed are skipped by the program until the current execution of the start() function has been completed. After that, the start() function will be run only when a successive new quote incomes. For custom indicators, the start() function will be launched for recalculation after the current chart symbol or timeframe has been changed independently on new quotes incoming. The start() function will not be run when the expert properties window is open. The latter cannot be opened during the expert execution.[/quote]
 
Thank you very much.
 
You're welcome.
Reason: