The Flexible Grid Expert Advisor uses the RSI indicator to enter a trade. To enter a purchase, the RSI must cross from the bottom up the value specified in the Expert Advisor parameters (for sales, on the contrary, cross from the top down).
In case of a successful entry, the trade is closed either by Take Profit or by Trailing Stop.
If the market goes against an open trade, a grid of orders starts to open at a given distance from the average price of the grid. Also, newly opened orders can be filtered using the Bollinger Bands indicators (for example, Sell opens only if the price has closed above the upper limit of the Bollinger Bands) and Moving Average (for example, Buy opens only if the price has closed below the Moving Average).
The Expert Advisor separately accompanies multidirectional order grids. The Expert Advisor works with explicit control of the opening of candles, so that when optimizing, you can use the mode for opening prices.
- The default parameters are optimized for the conservative option of working with EURUSD on the H1 timeframe
- The minimum recommended deposit is $1000 with an initial lot of 0.01 when using one currency pair ($2000-3000 when using several instrumentns)
- Support for 4-and 5-digit quotes
[spoiler title=”Read More…”]
The Expert Advisor can work on various trading instruments and with a different degree of risk. The settings files for different currency pairs are attached in comments #71.
The Expert Advisor can work on various trading instruments and with a different degree of risk. The settings files for different currency pairs are attached in comments #71.
Input parameters
General Settings
- Comment – comment on transactions
- Magic Number – the magic number for the EA’s orders
- Slippage – slippage
Money Management Settings
Money Management Settings
- Lot size – lot size
- Use Money Management – use money management
- Balance for Lot size – the amount of the balance for using the Lot Size lot size (when using money management, the lot size will be calculated using the formula: AccountBalance/BalanceForLotSize*LotSize)
- Trailing Stop for Buy/Sell – the size of the Trailing Stop in pips (if equal to 0 – the trailing is not used and the grid is closed when the profit is reached Grid minimum step)
- Trailing Stop Step – the step of changing the Trailing Stop in pips
Capital Protection Settings
- Type of protection – type of drawdown control: NoControl – no control, FixedMoney – a specific amount in the account currency, BalancePercent – a percentage of the balance
- Maximum drawdown (in currency of account) – maximum drawdown amount
- Maximum balance DD percent – maximum drawdown as a percentage of the balance
Capital Protection Settings
- Type of protection – type of drawdown control: NoControl – no control, FixedMoney – a specific amount in the account currency, BalancePercent – a percentage of the balance
- Maximum drawdown (in currency of account) – maximum drawdown amount
- Maximum balance DD percent – maximum drawdown as a percentage of the balance
Signal Settings
- Period RSI for Buy/Sell – the period of the RSI indicator
- Buy Signal – the RSI value for the purchase
- Sell Signal – the RSI value for the sale
Grid Settings
Signal Settings
- Period RSI for Buy/Sell – the period of the RSI indicator
- Buy Signal – the RSI value for the purchase
- Sell Signal – the RSI value for the sale
Grid Settings
Grid Settings
- Grid minimum step for buy/sell – the minimum distance from the current price to the average grid price for opening an order.
- Filter Type for Buy/Sell-filter type for opening grid orders: None-filter is not used, Bollinger Bands-used by Bollinger Bands, Moving Average-used by Moving Average)
- Bollinger Bands period – the period of the Bollinger Bands indicator
- Bollinger Bands deviation – deviation of the Bollinger Bands indicator
- Moving Average period – the period of the Moving Average indicator
Settings for optimization (not used when working with the Expert Advisor)
- Use DD restriction via optimization – use the limit on equity drawdown during optimization
- Maximum DD – maximum drawdown as a percentage of the initial capital
- Minimum number of trades – minimum number of orders
Settings for optimization (not used when working with the Expert Advisor)
- Use DD restriction via optimization – use the limit on equity drawdown during optimization
- Maximum DD – maximum drawdown as a percentage of the initial capital
- Minimum number of trades – minimum number of orders
When optimizing, specify the Custom parameter to optimize
[/spoiler]