Hi guys,
I'm looking into the code of adding the economic calendar in an MQL5 EA. I would be interested in understanding how a code is built around, for
example, not trading on the red days of the related currencies.
I read through this, but I would like to see an sample code: https://www.mql5.com/en/forum/304240
I would like to learn how to use CalendarEventbyCurrency and implement it in the entry criteria of an EA.
Can anyone provide me with an example of how the bool CalendarEventbyCurrency function might be used as an entry criteria?
Thanks a lot,
Martin

New MetaTrader 5 Platform build 2005: Economic Calendar, MQL5 applications as services
- 2019.02.20
- www.mql5.com
The MetaTrader 5 platform update will be released on February 21, 2019...
- MetaTrader 5 Built-in Trading Strategy Tester
- MetaEditor - Professional editor of trading applications
- MQL5 Wizard: Development of trading robots for MetaTrader 5

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