This Expert Advisor is based on the famous Morning channel breakout strategy.
At the appointed hour, the EA plots a channel using High and Low of the specified number of candles of the selected Timeframe.
Filtering is performed by the size of the channel range.
The BuyStop and SellStop orders with the initial lot are placed at the channel boundaries.
If one of the pending orders triggers, the other one is deleted.
The EA marks the Breakeven price on the chart with yellow icons.
If the price passes the Breakeven level and moves into the profit area for the distance specified in TP_pips, all order of the current series are closed.
If the price reaches the opposite borders of the channel, the EA opens an order in the opposite direction with a lot size increased by the Martin coefficient.
- TF - working timeframe.
- HourStart - broker time for opening pending orders.
- FlatBars - the number of bars to plot the channel.
- Max_Flat - the maximum width of the channel.
- Min_Flat - the minimum width of the channel.
- FirstLots - lot size for the initial orders.
- Martin - lot multiplier when opening subsequent orders in the series.
- TP_pips - the number of pips in profit from the Breakeven price to close all orders in the current series.
- Magic - identification number of the EA's orders.
- PushError - enable sending push notifications to a mobile terminal when opening the next order is not possible.
- AlertError - enable Alerts when opening the next order is not possible.