Breakout EA is based on the breakout/rebound from newly formed support and resistance levels. The support/resistance levels are identified using a narrow range of fluctuations in High/Low price of the bar for the period n. Entries are made in the direction of the initial movement from a level +/- n points.
Parameters
- StartTime, EndTime - time for opening orders, not used if 00:00.
- LotsFor1000 - initial lot size per 1000 units of base currency.
- ATRPeriod - period for calculating the average daily volatility, in days.
- TradeDirection - trading method: trade in one or both directions simultaneously.
- OrderOpenMode - calculation of step for opening orders: in pips, in the deposit currency, as a percentage of the balance or as a percentage of ATR.
- GridStep, GridStop - step for averaging positions, not used if 0.
- PyramidStep, PyramidStop - step for increasing positions, not used if 0.
- HedgingStep, HedgingStop - step for hedging positions, not used if 0.
- CountingOrders - order counting: each series separately or the total number of orders in different directions.
- GrowingVolume - scale in to positions by the amount of orders or by lot increment.
- IncreasingLot, DecreasingLot - increase/decrease the lot by the specified percentage, not used if -0.
- StartIncrease, StartDecrease - the position to start increasing/decreasing the lot.
- MaxLotFor1000 - the maximum lot per 1000 units of base currency.
- LevelsMethod - setting take profit/stop loss: separately for short and long positions or for the entire basket of orders.
- LevelsMode - calculation of take profit/stop loss: in pips, in the deposit currency, as a percentage of the balance or as a percentage of ATR.
- StopLoss, TakeProfit - stop loss and take profit, not used if 0.
- TrailingMethod - trailing stop method: separately for short and long positions or for the entire basket of orders.
- TrailingMode - calculation of trailing stop: in pips, in the deposit currency, as a percentage of the balance or as a percentage of ATR.
- TrailingStop, TrailingStep - trailing stop and trailing step.
- MagicNumber - magic number, the EA manages all positions opened manually or by another expert if set to -1.
- TradeComment - Breakout EA .