Trading robot · MT5

Grid Assistant Pro

by ramadanrahmad

The Grid Assistant Pro is an Expert Advisor for MetaTrader 5 that executes grid trading on XAUUSD.

High risk

GitHub stars1
Forks0
Last update8 days ago11 Oct 2026
LicenceNone stated

Overview

Grid Assistant Pro opens multiple limit order layers at user-defined pip distances with scaled lot sizes upon one-click button press or limit order catch. The EA synchronizes stop loss and take profit across all positions sharing a magic number. It features independent grids and a smart auto-runner that reduces the deepest position lot to 0.01 after take profit to enable trend survival. Users trigger position rescue by manually closing one trade in a grid. The interactive panel allows instant execution and management. It supports grid lot scaling with up to eight layers and optional auto stop loss at layer end.

Details

Author

ramadanrahmad on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Grid

Markets

Gold

Timeframes

Any timeframe

Risk Profile

  • Opens a grid of orders: exposure builds up in a trend

EA Files

Input Parameters

Read from GridEA_Sync.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
InpGridStep1double4.0Jarak Layer Lot 1 (Pips)
InpLimitLayer1int5Jumlah layer lot pertama
InpLot1double0.01Lot pertama
InpGridStep2double6.0Jarak Layer Lot 2 (Pips)
InpLimitLayer2int6Jumlah layer lot kedua
InpLot2double0.02Lot kedua
InpGridStep3double8.0Jarak Layer Lot 3 (Pips)
InpLimitLayer3int7Jumlah layer lot ketiga
InpLot3double0.03Lot ketiga
InpGridStep4double10.0Jarak Layer Lot 4 (Pips)
InpLimitLayer4int1Jumlah layer lot keempat
InpLot4double0.04Lot keempat
Show all 26 inputs
NameTypeDefaultDescription
InpGridStep5double12.0Jarak Layer Lot 5 (Pips)
InpLimitLayer5int1Jumlah layer lot kelima
InpLot5double0.05Lot kelima
InpGridStep6double14.0Jarak Layer Lot 6 (Pips)
InpLimitLayer6int1Jumlah layer lot keenam
InpLot6double0.06Lot keenam
InpGridStep7double16.0Jarak Layer Lot 7 (Pips)
InpLimitLayer7int1Jumlah layer lot ketujuh
InpLot7double0.07Lot ketujuh
InpGridStep8double18.0Jarak Layer Lot 8 (Pips)
InpLimitLayer8int1Jumlah layer lot kedelapan
InpLot8double0.08Lot kedelapan
InpUseAutoSLboolfalseGunakan Auto SL di akhir layer
InpAutoSLDistancedouble5.0Jarak Auto SL dari layer terakhir (Pips)

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone ramadanrahmad/GridEA from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
  3. 3Copy the filesCopy the .mq5 file into Experts.
  4. 4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
  5. 5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.

Similar Expert Advisors

GridMaster Pro

by sajidmahamud835
128 stars

An automated MetaTrader 5 expert advisor that executes a bi-directional grid trading strategy. It uses the Average True Range (ATR) indicator to dynamically calculate grid spacing, allowing the system to adapt to current market volatility. The robot supports neutral, bullish, and bearish modes. It includes risk managem

MT5 Trading robot GridMean reversion High risk
Updated 6 months ago MIT GitHub repository of GridMaster Pro

MultiTrader

by mazmazz
14 stars

MultiTrader is a multi-currency expert advisor for MetaTrader 4 and MetaTrader 5 that executes trades across multiple forex instruments concurrently. It uses a modular system of filters to generate entry and exit signals based on various technical indicators. The EA manages risk through fixed or trailing stop losses, b

MT4MT5 Trading robot GridMulti-strategy High risk
Updated 5 years ago GPL-3.0 GitHub repository of MultiTrader

Punlie Grid

by punlie
10 stars

Punlie Grid is a MetaTrader 5 expert advisor that executes a grid trading strategy tailored for gold, crude oil, and cryptocurrencies. It places orders at fixed point intervals and features a trend-following filter that uses daily timeframe data to align trades with the prevailing market direction. Risk controls includ

MT5 Trading robot GridTrend following High risk
Updated 1 year ago MIT GitHub repository of Punlie Grid

RSI Martingale EA

by peefpee
10 stars

This Expert Advisor for MetaTrader 5 implements a martingale trading strategy triggered by the Relative Strength Index (RSI). It opens an initial position when RSI reaches overbought or oversold thresholds. If price continues to move against the initial trade, the EA layers additional orders at set point intervals, mul

MT5 Trading robot MartingaleMean reversionGrid High risk
10 stars

This MetaTrader 5 expert advisor automates trading based on Smart Money Concepts and Order Block identification. It analyzes price action across multiple timeframes, utilizing higher timeframe data for trend context and lower timeframes for entries. The system includes trade management tools such as break-even triggers

MT5 Trading robot SMC / ICT / price actionGrid High risk

Smart Grid Martingale EA

by chenhengyi53-design
9 stars

This MetaTrader 5 expert advisor executes a grid trading strategy enhanced with martingale lot scaling. The system identifies market direction through multi-timeframe analysis using Exponential Moving Averages and the Average Directional Index. It features dynamic grid spacing that adjusts based on market volatility an

MT5 Trading robot GridMartingaleTrend following High risk
Updated 8 months ago None stated GitHub repository of Smart Grid Martingale EA

More trading robots

Need a Broker for MT5?

Compare regulated brokers that support MetaTrader, with spreads, minimum deposits and leverage side by side.

Compare brokers