OnTrade function
tradatore: I Mean: supposing in receive 2 ticks events with 1 second of interval, but inside the OnTick it takes 3 seconds, what' s going to happen? Ps: I looked for multithread in mql5 but i did not find anything |
|
|
Thanks. So About the NewTick event it s clear, but it s not clear about the OnTrade...
Hi guys,
do you know how functions( like OnTrade, OnTick in MT5) are called?
I Mean: supposing in receive 2 ticks events with 1 second of interval, but inside the OnTick it takes 3 seconds, what' s going to happen?
The 2° call starts after the first call is finished or the second starts even if the first call is not finished?.
Thanks
Ps: I looked for multithread in mql5 but i did not find anything