What happens when a new tick arrives while ontick event is still processing previous tick??

 

Hello  everybody

So the question is: What happens when a new tick arrives while ontick event  is still processing previous tick??

Is this tick event discarded??? or is there a tick queue to be processed so all ticks are definitely processed????

Thanks in advance


Juan

 
jbru:

Hello  everybody

So the question is: What happens when a new tick arrives while ontick event  is still processing previous tick??

Is this tick event discarded??? or is there a tick queue to be processed so all ticks are definitely processed????

Thanks in advance


Juan

The new tick is not processed, there is no queue. You lost it.

See documentation for new Tick

The NewTick event is generated if there are new quotes, it is processed by OnTick() of Expert Advisors attached. In case when OnTick function for the previous quote is being processed when a new quote is received, the new quote will be ignored by an Expert Advisor, because the corresponding event will not enqueued.

 
angevoyageur:

The new tick is not processed, there is no queue. You lost it.

See documentation for new Tick

Thanks so much  angevoyageur


juan


Reason: