January 31, 2018
I_ExpandAllDayEventsByXHours
The forex factory calendar has all day events, which may or may not be included in the weekly xml file. I have added some ‘All Day’ events to the historic xml file in the following post:
This input tells the EA to expand the timeframe where high risk ‘All Day’ events are checked by a certain number of hours. For example, instead of trading being turned off between 00:00 and 23:59 during a general election, it can be turned off from 22:00 the day before to 02:00 the day after. This can be useful if you have a high risk ‘All Day’ event in a different timezone.