GridMaster Pro 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 management features such as fixed or dynamic lot sizing based on account percentage, hard stop losses, take profits, and a trailing stop mechanism. A built-in circuit breaker monitors equity drawdown, pausing the EA and optionally closing all positions if a specific percentage threshold is breached.
Read from GridMaster Pro.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
GridMode
ENUM_GRID_MODE
GRID_NEUTRAL
Grid Mode
MaxOrders
int
5
Max orders per side
ATRPeriod
int
14
ATR period
ATRMultiplier
double
1.5
ATR multiplier for grid distance
LotMode
ENUM_LOT_MODE
LOT_FIXED
Lot sizing mode
LotSize
double
0.1
Fixed lot size
RiskPercent
double
1.0
Risk % per order (dynamic mode)
UseTakeProfit
bool
true
Enable Take Profit
DefaultTP
double
200.0
Min TP in points (auto-adjusted for broker)
UseStopLoss
bool
true
Enable Stop Loss
DefaultSL
double
1000.0
Min SL in points (auto-adjusted for broker)
UseTrailingStop
bool
true
Enable Trailing Stop
Show all 18 inputs
Name
Type
Default
Description
TrailingPoints
double
100.0
Trailing stop in points
TrailingStep
double
20.0
Trailing step in points
MaxDrawdownPct
double
5.0
Max drawdown % before pausing
CloseOnDrawdown
bool
true
Close all orders on drawdown breach
MagicBase
int
47291
Base magic number
DebugMode
bool
false
Enable debug logging
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone sajidmahamud835/grid-master-pro-mt5-ea from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .mq5 file into Experts.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
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.
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
High Frequency Grid EA is an automated trading robot for MetaTrader 5 that implements a mean-reversion strategy through a grid of pending orders. It places buy and sell stop orders at calculated distances, using dynamic spread monitoring to ensure execution only during favorable conditions. The EA includes a trailing s
This MetaTrader 5 expert advisor executes a mean reversion strategy based on price deviation from a Simple Moving Average. It enters short positions when prices rise above the average and long positions when prices fall below. The algorithm utilizes an aggressive grid-based recovery system where both the entry distance
This high-frequency scalping robot for MetaTrader 5 is specifically designed for the gold market. It determines entry points using a combination of EMA trend filters, ADX trend strength, and dynamic RSI levels. To recover from losing positions, the EA utilizes an aggressive martingale grid system with a customizable lo
This expert advisor facilitates arbitrage trading between futures and spot instruments, primarily targeting gold and stock indices. Available for MetaTrader 4 and 5, it monitors the price difference between two related symbols against a moving average to identify trade opportunities. The logic includes a noise-filterin
IchiDCA CCBSN PropFirm EA is an automated trend-following robot for MetaTrader 5, optimized for gold and forex markets. It triggers trades based on Ichimoku Cloud breaks, filtered by dual Exponential Moving Averages and MACD indicators. The strategy manages positions through a Dollar Cost Averaging system that layers u