The Expert Advisor intended for trading important news which provoke the movement of more than a hundred pips, such as Non-Farm Payrolls, with brokers permitting hedging.
The EA enters the market one minute before news release by opening two opposite orders with a preset stop loss.
Trades are closed the stop loss or trailing stop. The size of the stop loss and trailing stop is at your discretion, as well as the lot size. Once the two orders are closed, it opens a limit order in the opposite direction accompanied with a trailing stop.
- ECN = true - place an order, then place a stop loss
- HourStart - hour
- MinuteStart - minute
- StopLoss - stop loss level
- Step - a distance in pips between the market price and the pending order that will be placed when both orders are closed
- Lot - lot size
- Profit_Level - take profit level
- TrailingStop - trailing stop
- Slip - slippage
- Magic - magic number