what happens after end of OnChartEvent - CHARTEVENT_KEYDOWN in run of EA?

To add comments, please log in or register
seic
17
seic  

hello, 

- is the program returns to last line of OnTick() event when i push the button?

- or he calls OnTick() from begining after next ontick event?

i dont fing answer to this question in main MT4 Help... thanks

Petr Nosek
1527
Petr Nosek  
seic:

hello, 

- is the program returns to last line of OnTick() event when i push the button?

- or he calls OnTick() from begining after next ontick event?

i dont fing answer to this question in main MT4 Help... thanks

Maybe I don't understand you well (you can send me a private message in Czech) but if you ask if OnChartEvent() is called during processing OnTick() function my answer is no.

In other words: If you press a key during processing OnTick() it completes itself first and then is called OnChartEvent().

seic
17
seic  
Petr Nosek:

Maybe I don't understand you well (you can send me a private message in Czech) but if you ask if OnChartEvent() is called during processing OnTick() function my answer is no.

In other words: If you press a key during processing OnTick() it completes itself first and then is called OnChartEvent().

thanks for answer, its enough for me...

To add comments, please log in or register