...
You have to keep it (the code) within endless loop and use Sleep() to set up some kind of timer, or use some tick generator (one can be found at this post : https://www.mql5.com/en/forum/181239 ) so that even when there are no incoming ticks your EA gets one
rm78:
Hi,
Hi,
I have opened 44 positions with 15 currencies. My target is based on the AccountEquity, but the AccountEquity is not realtime, only if the chart is updated by the opened currency, but sometimes is it lag until 3-5 seconds . How can I solve the problem, so that the AccountEquity is really realtime?
Thanks in advance
Romanworks fine, thank you.
I am going to take future discussion of my tool set to a sub forum.
Do you know where Keits sub forum is?

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
I have opened 44 positions with 15 currencies. My target is based on the AccountEquity, but the AccountEquity is not realtime, only if the chart is updated by the opened currency, but sometimes is it lag until 3-5 seconds
. How can I solve the problem, so that the AccountEquity is really realtime?
Thanks in advance
Roman