Download MetaTrader 5
To add comments, please log in or register
Having troubles understanding the code? Articles can help you!
BB2013
120
BB2013 2016.09.30 08:55 

Hi,

 

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 ?

Thanks

Keith Watford
Moderator
7906
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