The Expert Advisor defines a trend and opens a series of orders at each price correction.
It is possible to limit the number of orders in each order grid to avoid uncontrolled drawdowns.
A series of opposite orders are opened to reduce drawdowns during corrections.
You can use a standard lot or a % of free funds for work.
The EA has a limit on the number of orders in the grid. It also has two additional algorithms for reducing the equity drawdown when a wrong grid is opened.
Parameters
- TimeFrame - the EA operation period
- StopLoss - stop loss level for an order grid
- Plus - minimum profit in points when closing a series of same-type orders, closing an order grid
- Minus - decrease a take profit when opening a new order
- InpStepMinus - take profit level decrease step for an order grid in points
- TakeProfit - profit in points for the main order grid
- Distance - distance for opening the next same-type order in a grid
- Lots - starting lot, 0 - use percentage of free margin
- Percent - percentage of free margin for the calculating lots
- LockLots - starting lot increase ratio for an opposite grid
- countOrderB - number of BUY orders in an order grid
- countOrderS - number of SELL orders in an order grid
- CloseProfit - coefficient for early closure of profitable orders
- CloseLoss - coefficient for early closure of unprofitable orders
- Period_Open_1 - period of the first indicator
- Period_Close_2 - period of the second indicator
- MFI_Close_Up - upper level of the MFI indicator
- MFI_Close_Down - lower level of the MFI indicator
- Period_MFI_Close - period of the MFI indicator
- Period_ADX - period of the ADX indicator
- ADX_Level_Up - upper level of the ADX indicator
- ADX_Level_Down - lower level of the ADX indicator
- InpSlip - slippage in points
- Magic - magic number of the main order grid
Recommend
- EA settings: use the default settings.
- Symbol: GBPUSD.
- Timeframe: M30.
- Minimum deposit: $5 000