• Overview
  • Reviews (11)
  • Comments (70)
  • What's new

Flexible Grid

Flexible Grid EA

The Flexible Grid EA uses the RSI indicator to enter the trade. To enter BUY, the RSI must cross the bottom up the value specified in the EA parameters (for the sales, on the contrary, cross from top to bottom).

In case of a successful entry, the transaction closes either according to Take Profit, or Trailing Stop is used.

If the market goes in opposite direction, the order grid opens at a specified distance from the average price of the grid. Also, newly opened orders can be filtered using Bollinger Bands indicators (for example, Sell opens only if the price has closed above the upper Bollinger Bands limit) and Moving Average (for example, Buy opens only if the price has closed below Moving Average).

The EA separately follows the differently directed warrants. The EA works with explicit control over the opening of the candles, so when optimizing, you can use the mode at price open.


  • The default parameters are optimized for the conservative variant of trading with EURUSD on the H1 timeframe
  • The minimum recommended deposit is $ 1000 with the initial lot 0.01 when using one currency pair ($3000 when using 7 pairs)
  • Support for 4- and 5-digit quotes
The EA can work on various trading instruments and with varying degrees of risk. Setting files for different currency pairs and more information in the blog: https://www.mql5.com/en/blogs/post/721361

Monitoring of the real account (initial balance $ 936, currency pairs EURUSD, GBPUSD, USDCAD, AUDUSD, NZDUSD, USDJPY, USDCHF): https://www.mql5.com/ru/signals/472639

Input parameters

General settings
  • Comment - comment to the orders
  • Magic Number - the magic number for orders of the adviser
  • Slippage - slippage size
Money management settings
  • Lot size - lot size
  • Use Money Management - use MM
  • Balance for Lot size - the amount of balance for using lot size Lot Size (when using the money management lot size will be calculated by the formula: AccountBalance / BalanceForLotSize * LotSize)
  • Trailing Stop for Buy/Sell - the size of Trailing Stop in pips (if equal to 0 - trailing is not used and the grid is closed when the profit is reached Grid minimum step)
  • Trailing Stop Step - the step of changing Trailing Stop in pips

Capital protection settings

  • Type of protection: NoControl - no control, FixedMoney - a specific amount in the account currency, BalancePercent - a percentage of the balance
  • Maximum drawdown (in currency of account) - the maximum amount of drawdown
  • Maximum balance DD percent - maximum drawdown as a percentage of the balance
Signal settings
  • Period RSI for Buy/Sell - period of the RSI indicator
  • Buy Signal - RSI value for Buy
  • Sell ​​Signal - RSI value for Sale
Grid settings

  • Grid minimum step for buy/sell - the minimum distance from the current price to the average price of the grid for opening an order
  • Filter Type for Buy/Sell - the type of filter to open the orders of the grid: None - the filter is not used, Bollinger Bands - used by Bollinger Bands, Moving Average - used 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 indicator Moving Average
Settings for optimization (not used in the work of the Expert Advisor)
  • Use DD restriction via optimization - use the equity drawdown constraint
  • Maximum DD - maximum drawdown as a percentage of initial capital
  • Minimum number of trades - the minimum number of orders

When optimizing, specify the optimized parameter to Custom

Moreno Dainese
Moreno Dainese 2019.05.17 16:41   

In tutti i miei backtest dal 2010 questa griglia ha fatto saltare il deposito sul conto cent ho un grande dd dovuto ad audusd sul conto normale uso solo usdcad l’unica valuta che ha superato i backtest

Top Forex
Top Forex 2019.02.15 11:13 

One of the best programmers here on MQL5.

He has checked that FLEXGRID worked well on my account and we also exchanged opinions on other systems. Absolutely recommended!!!

RK99 2019.02.08 09:50 

This is one of the best grid ea ever. It have dynamic entries and exit as well. A good money management and risk control will make your account grow with this ea. Dmitriy is a great guy, he's always around to help and answer all my question. Great ea and great developer should get more than 5 stars.

micuccis 2019.01.24 11:12 

After using Flexible Grid for about one month and having my invested money back, I can say: this is amazing Expert Advisor! Results are also confirmed by the developer's signal.

I like the way it is working, safe and profitable.

The developer Dimitry is always polite and supportive.

Flexible Grid is honstly recommend.

Azamat Sarsembaev
Azamat Sarsembaev 2018.12.04 21:25 

все четко работает) и главное Дмитрий всегда поможет настроить, быстро и качественно 5 звезд ставлю) будем ждать если обновления или же новые проекты от Дмитрия!

Xianwei Li
Xianwei Li 2018.12.01 02:26 

This EA low risk and have smart entry and have profit exit, at moment, it always get profit, keep going. 5 rate

Vhug84 2018.11.14 22:17 

good results, at the moment 5 stars

iwilllonger 2018.10.16 10:16 

perfect...great...excellent...very good EA....

New version take more profit than old version.Strong support.Dmitriy Sheykin always cares about customers' condition.

BlueDot 2018.10.11 17:37 

So far so good

I will update

2018 10 19

My real money account grow steady and demo account (auto lot on) made 10% profit per week.

5 STARS !!!!

2018 10 27

Still making money with very low DD

I am using only 4 pairs now EURUSD GBPUSD AUDUSD NZDUSD but increased lot size.

Because my broker has 200 open position limit.

Sevgi Simsek
Sevgi Simsek 2018.10.03 14:27 

Great product. It really works as it appears. The author is great. Very good support. A winning EA.

- He keeps doing good. 13.10.2018

Chihteng Lin
Chihteng Lin 2018.09.07 16:01 

Through backtesting, I understand that this is a special grid strategy EA

It’s the same as backtesting so far, I’m looking forward to it.

The author is friendly and offers a good SUPPORT

No doubt five stars recommended !

Version 2.0 2018.09.25
1. Separate signal parameters for buyand sell orders
2. The principle of the drawdown control has been changed: all open transactions on the account are now taken into account (previously only transactions opened by a particular adviser instance were accounted for)
Version 1.1 2018.09.11
Added protection of funds on the account. You can specify both the specific amount and the percentage of the deposit. Description changed