How to make mql5 always running even if no incoming tick ?

To add comments, please log in or register
budiali
60
budiali  
Hello Everyone,
My mql5 is multi currency correlation hedging, so my EA analyze many other currency pairs. The running of EA depend on incoming tick of the chart that I put the EA. Sometime the price of the chart which I put the EA is not move, so there is no incoming tick which make the EA not running for a while, but other currency pairs maybe still moving fast. Do anyone have any idea how to make my mql5 always running even if no incoming tick on chart which I put the EA, so my EA didn't miss to get the price movement of many other currency pairs ? Thank you very much for your help.
Maksim Emeliashin
507
Maksim Emeliashin  
budiali:

Do anyone have any idea how to make my mql5 always running even if no incoming tick on chart which I put the EA, so my EA didn't miss to get the price movement of many other currency pairs ?

Hello!

I have the same question.  I think it's a good idea to add new event (for example, OnTimer()).

Jatin Patel
1238
Jatin Patel  
I think try OnTimer() event.
budiali
60
budiali  
Can you please give the example for the format/structure of mql5 using OnTimer(). Thank you
Marco vd Heijden
Moderator
12476
Marco vd Heijden  
Please read the documentation about it.
To add comments, please log in or register