Hi everyone,
I'm on my first EA (with mql5) and I have some trouble.
My goal: Get new datas from Calendar event after maximum 5sec.
Unforthunetly I get new data sometimes after 1 minutes, sometimes 4 minutes.. It's too long !
I don't understand why, I use EventTimer() to launch the trigger who check the change_id:
I hope you can a little bit help me, thank's !
Xasmy
How did you measure the delay? Did you look at other calendar and see that the same event is already published there but not in the MQL5 calendar?
Do you understand that the planned exact time of news release can never happen with 0 seconds precision. Usually there is a bias - in either direction - news can be published slightly earlier or slightly after planned time. And 1 minute lag is practical, imho.
How did you measure the delay? Did you look at other calendar and see that the same event is already published there but not in the MQL5 calendar?
Do you understand that the planned exact time of news release can never happen with 0 seconds precision. Usually there is a bias - in either direction - news can be published slightly earlier or slightly after planned time. And 1 minute lag is practical, imho.
The built-in calendar is a service, which MQ provides in partnership with some (not disclosed yet) news provider, so the delays you observe can occur either on the provider side or on the MQ server - in both cases we can do nothing with this, as MQ should fix it.
The only obvious workaround is to use the external news sources with low latency.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi everyone,
I'm on my first EA (with mql5) and I have some trouble.
My goal: Get new datas from Calendar event after maximum 5sec.
Unforthunetly I get new data sometimes after 1 minutes, sometimes 4 minutes.. It's too long !
I don't understand why, I use EventTimer() to launch the trigger who check the change_id:
I hope you can a little bit help me, thank's !
Xasmy