The best solution for EA not to trade when there is important news

rrocchi  
Nguyen Trong Thanh:
As the topic title.
I'm developing an EA and am having a hard time finding a solution for "news" timing.

Those of you who have been through and experienced, please help.

Thanks !

Query the MQL5 Calendar 


Reference:


https://www.mql5.com/en/docs/calendar

Documentation on MQL5: Economic Calendar
Documentation on MQL5: Economic Calendar
  • www.mql5.com
Economic Calendar - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Yashar Seyyedin  
Nguyen Trong Thanh #:

Thank you for your answer.

According to your link, it seems to be for MT5

I'm working on MT4

And my current solution is to extract the information from the website: https://ec.forexprostools.com

It looks manual, but it works on my EA

Anyway, thank you very much!

Check this thread:

https://www.mql5.com/en/forum/442802

Calendar in mql4 - How do you handle economic news in Mql4?
Calendar in mql4 - How do you handle economic news in Mql4?
  • 2023.03.03
  • www.mql5.com
If not how do you handle news with mql4. Can i use paid signals in mql5 to trade on a demo account. Read news from forex factory website by web request. This article deals with an example of reading rss markup by means of mql4 using the functions for html tags analysis
Reason: