During the time when new trades are not allowed and those time periods are being shown on a chart by vertical lines, this input specifies the width of the vertical lines used. If an input width of 1 is specified, I tend to use dotted lines instead of solid lines.
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: Historic Calendar Data This input tells the EA to expand the timeframe where high risk ‘All Day’ events
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: Historic Calendar Data This input tells the EA to process ‘All Day’ events.
When running an EA, it is possible to prevent trading say 10 minutes before a high risk calendar event and 20 minutes after a high risk calendar event. This input is used to specify how many minutes after the calendar event, trading is prohibited.
When running an EA, it is possible to prevent trading say 10 minutes before a high risk calendar event and 20 minutes after a high risk calendar event. This input is used to specify how many minutes before the calendar event, trading is prohibited.
It is possible to import and avoid trading during high risk calendar events, using the following calendar: “http://www.forexfactory.com/ffcal_week_this.xml” However the time of these calendar events is not necessarily that same as the time of the Brokers Server. This input, adjusts the time of the calendar events when they are imported.
If the hour provided is positive then all trades are closed during the input broker/server hour. As an example, it could be used to force trades to close before the period of time in the evening where Broker spreads widen considerably. PLEASE BE CAREFUL OF THE TWO SIMILAR INPUTS – WEEKDAY AND WEEKDEND
If the Broker/Server time is within the Spread Widening Start and End hour, and if the spot is less than this value away from the StopLoss then all open trades are closed. This is used to model the large spike in spreads that tends to occur at 22:00 GMT. Please note that the
It is possible to provide a start and end hour, where the EA will close any trades if the spot gets too close to the StopLoss. This is used to model the high peak in spreads that occur at roughly 22:00 GMT. The trades are closed if the spot is within I_SWCloseDistanceInPoints of
It is possible to provide a start and end hour, where the EA will close any trades if the spot gets too close to the StopLoss. This is used to model the high peak in spreads that occur at roughly 22:00 GMT. The trades are closed if the spot is within I_SWCloseDistanceInPoints of