Do events like OnTick() queue up ?

To add comments, please log in or register
Azkron
35
Azkron  

I am working in an Expert Advisor which makes heavy calculations in the OnTick() event which can take seconds and I am wondering what happens with OnTick() events that are triggered while the current OnTick() event is being handled. 

I do not mind "loosing" OnTick() events but I am concerned about them making some kind of queue, as if that where the case then my Expert Advisor will get stuck handling old OnTick() events that have been queued up.

Carl Schreiber
Moderator
7248
Carl Schreiber  
I think you will just miss some ticks but you don't get every tick especially in times with high (tick-) volumes.
Marco vd Heijden
Moderator
8422
Marco vd Heijden  

no they get overwritten so please see 

OnTimer() 
Azkron
35
Azkron  
Carl Schreiber:
I think you will just miss some ticks but you don't get every tick especially in times with high (tick-) volumes.

Ok thank you

To add comments, please log in or register