Grid EA

2 reviews / Add a review
The Metatrader grid expert advisor opens grid trades following the classic forex grid trading strategy, and can also trade with the trend and hedge.

MetaTrader Grid EA

The main purpose of the Grid-X expert advisor is to trade in a grid manner, meaning to open more than one trade. The difference, compared to other grid expert advisors, is that the RobotFX Grid expert advisor can also open its trades based on the price action. Even more, if the price reverses, the EA can hedge by placing opposite pending orders at a given distance, with higher, lower or equal lotsize than the initial trades. So, depending on the trader’s needs, this grid expert advisor might be better than all the others.
The RobotFX Grid X was designed not only to open a determined set of grid trades, following the classic forex grid trading strategy, but also to detect the trend, the trade entries and to hedge. While trading with the grid, traders often increase the lotsize, hoping that the price will continue to go in their direction. However, most of the times the price reverses, therefore transforming a possible winning trade into a few losing trades. To prevent this, our forex grid expert advisor can safely decrease the lotsize of the next grid trades. The lotsize can be increased or decreased for the hedging trades as well.
Grid X expert advisor for Metatrader trades following the trend [stay]Grid X expert advisor for Metatrader trades following the trend
The Grid X uses a custom moving average to detect the trend and Stochastic to trade
In downtrend (price below MA), the EA only openes short trades. Stochastic gives the exact trade entry, when it crosses in the overbought zone (opposite for long entries in uptrend).
So we can safely say that the Grid-X EA can:
  • Detect the trend and the exact entry (Stochastic can be customized, as well as the moving average used to detect the trend, to match almost any other trading strategy based on price movement)
  • Trade a grid made of any number of trades placed at any number of pips away and having lotsize chosen by the trader
  • Hedge by placing opposite pending trades, so if the price reverses this hedging grid will trigger, recovering the possible loss from the previous trades
  • Place stop-loss, take-profit, trail, break-even, etc.
Besides the advanced grid trading capabilities, the Grid X expert advisor can be set to follow the trend and enter a precise moment. The trend detector is done by a moving average that the trader can customize (type, length, shift) and the EA will follow it by simply allowing long trades only when the price is above it, or short trades if the price oscillates below the moving average. The exact entry is given by the Stochastic oscillator, as in the MetaTrader trading example above. Stochastic, with the correct settings, can be customized to match any other MetaTrader indicator - so, if the traders would like to use other signals to enter a trade, they can load on the same chart Stochastic and their preferred indicator and match their signals. Then use the same Stochastic settings within to trade using the grid EA. Below are some examples of trades opened and closed by the grid EA based on stoploss, take profit, trailing stop or the MinProfit (see the Settings).
Forex Grid Expert Advisor Forex Grid Expert Advisor Forex Grid Expert Advisor Forex Grid Expert Advisor Forex Grid Expert Advisor Forex Grid Expert Advisor
Because of its hedging capabilities, the Grid X doesn’t offer too many options to close a trade or a basket. But of course, stop-loss and take-profit are available, as well as break-even and trailing stop. The number of grid trades can be restricted by the trader, as well as the number of hedging trades (if hedging is enabled). The distance between the trades and the distance hedging would start can also be changed by the trader.

RobotFX Grid-X Settings

The RobotFX Grid Expert Advisor settings, as seen in MetaTrader:
Grid EA Settings Metatrader [stay]

  • ClientEmail - your email used to acquire the product (leave empty if trading on demo accounts)
  • LotSize - the lotsize of the first trade of the grid (if MoneyManagement is disabled)
  • Enable Stoploss and Takeprofit - if disabled, the EA will not place stop-loss or take-profit
  1. Stoploss (pips) - distance from the opened price where the stop-loss will be placed
  2. Takeprofit (pips) - distance from the opened price where the take-profit will be placed
  • Maximum opened orders - the number of trades allowed to be placed on a chart
  • MinProfit ($$) - if “Close basket of trades at MinProfit” is enabled and there are opened opposite trades on the chart (buys and sells), the EA will close all of them when their profit reaches this amount
  • Slippage (pips) - the maximum distance, in pips, allowed for the price to move between sending a trade order to the server and execution (by the broker’s server)
  • Enable lotsize management - enable in order to use a percentage of the equity to trade, instead of the LotSize (above)
  • Percentage of equity to trade - set the percentage of equity to trade when the above is enabled (0.01 = 1%)
  • Grid level (pips) - the distance between the trades of the same kind (the grid trades)
  • Lotsize multiplier (for grid trades) - use this multiplier to increase or decrease the lotsize of the grid trades
  • Maximum trades of the same type - restricts the EA from opening more than this number of trades for each type of trades (buys or sells)
  • Enable Hedging - whether or not to enable hedging Hedging is opening of opposite type of trades, used to counter losses from a losing trade. A complex hedging expert advisor is the RobotFX Auto Recovery.
  • Hedging distance (pips) - the distance (from the first opened trade) in pips where the hedging (placing of opposite type of trades) will start
  • Lotsize multiplier (for hedging trades) - use this multiplier to increase or decrease the lotsize of the hedging trades Hedging trades are also restricted by the “Maximum trades of the same type” above.
  • Trade entry settings - these are self-explanatory and used to define the trend and the first trade entry
  1. Trend MA (buy above, sell under) - this defines the trend, and the EA will only open buy trades if the price is above this moving average, and sells if the price is below it
  2. “Stoch (buy under)” instructs the EA to open a trade when Stochastic crosses under this level, while “Stoch (sell above)” will open a sell trade when the price crosses above this level
  • BreakEven (pips) - when the price moves away from the opening price this distance in pips, the EA will set/move the stop-loss at the Bid-BreakEven distance (for long trades) or Ask+BreakEven (for short trades)
  • TrailingStop (pips) - the EA will set the stop-loss at break-even as soon as the price is this number of pips away from the opening (plus the spread)
  • TrailingStep (pips) - the EA will move the stop-loss of the trade at the TrailingStop distance from the actual price, as soon as this is at TrailingStep distance from the opening price
  • Close basket of trades at MinProfit - enable to close a basket of (opposite) trades when their profit reaches the MinProfit ($$) above
  • Enable comments on chart - set to true to display information about the broker, trade restrictions, trader (etc) on the chart
  • Magic number (to identify these EA’s trades) - used by the EA to identify the trades opened by itself
  • Trade comment (to identify these EA’s trades) - used by the trader to identify trades opened by this EA
Warning: one of the limitation of this EA, in its current version (1.5), is that it does not consider or interfere with the existing trades on the chart. That applies to any trades, even those opened by itself. So if the EA starts a grid trading and the trader closes the MetaTrader trading terminal, there’s a chance that the EA won’t do anything after restart. This is useful info for traders who trade from home, and often switch off their computers; for those using VPS, that is supposed to be online all the time, it shouldn’t be any issue. This may also be changed in a future version.

Watch how RobotFX Grid-X works

Similar Products



  1. For Grid-X EA, is it possible to use only MA as the entry signal? Can I disable the stochastics?

    1. Hi, I think you should watch the videos and download and try it on a demo trading account. The MA only detects the trend, while the Stochastic is used to determine the exact entries, therefore it is not possible to use only the MA.