Download MetaTrader 5

Expert interruption

To add comments, please log in or register
Find out how social trading can improve your profits
BB2013 2016.09.30 08:55 



I developed an expert.

As far as I know, the expert starts running when the price change.

However, if the price change again, and my expert does not get to finish, the expert do not continues and another expert run starts.

This happens when the market is under strong variations.

So, under this case, my expert never comes to the end.

Is possible to avoid expert interruption by a new change in the price ?


Keith Watford
Keith Watford 2016.09.30 09:03  
The OnTick() code is executed when a new tick comes in. The execution continues until it reaches a return and any new ticks are ignored. New ticks do not interrupt the EA's OnTick() execution.
To add comments, please log in or register