This MetaTrader 5 expert advisor implements a multi-layered grid strategy that manages up to three independent grids simultaneously on a single instrument.
Springfield 3 Grids uses the Relative Strength Index (RSI) across different timeframes to determine the initial trade direction for each grid. The EA employs martingale lot scaling, increasing the volume of subsequent positions by a multiplier at fixed point intervals. Risk is managed through a basket take profit calculated from the weighted average price of all open orders. The EA requires a license key to operate.
Simultaneous management of three independent grids
Read from Springfield-3Grids-MT5-Bot.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpLicenseKey
string
โ
Put here you license key with no sapces and line breaks
InpMaxTradesA
uint
5
MaxTrades: Max grid size
InpLotsA
double
0.1
Lots: Initial grid order lots size
InpLotsExponentA
double
1.5
LotsExponent: Next grid order volume ratio
InpStepA
uint
300
Step: Price distance to open next grid order, points
InpTakeProfitA
uint
300
Take Profit: Distance from grid Break Even, points
InpRSITimeFrameA
ENUM_TIMEFRAMES
PERIOD_M1
RSI timeframe
InpMaxSlippageA
ulong
2
Max slippage for market operations, points
InpMagicA
long
2023111901
Magic number of the grid
InpEnabledB
bool
true
Grid enabled
InpMaxTradesB
uint
5
MaxTrades: Max grid size
InpLotsB
double
0.1
Lots: Initial grid order lots size
Show all 30 inputs
Name
Type
Default
Description
InpLotsExponentB
double
1.5
LotsExponent: Next grid order volume ratio
InpStepB
uint
300
Step: Price distance to open next grid order, points
InpTakeProfitB
uint
300
Take Profit: Distance from grid Break Even, points
InpRSITimeFrameB
ENUM_TIMEFRAMES
PERIOD_H1
RSI timeframe
InpMaxSlippageB
ulong
2
Max slippage for market operations, points
InpMagicB
long
2023111902
Magic number of the grid
InpEnabledC
bool
true
Grid enabled
InpMaxTradesC
uint
5
MaxTrades: Max grid size
InpLotsC
double
0.1
Lots: Initial grid order lots size
InpLotsExponentC
double
1.5
LotsExponent: Next grid order volume ratio
InpStepC
uint
300
Step: Price distance to open next grid order, points
InpTakeProfitC
uint
300
Take Profit: Distance from grid Break Even, points
InpRSITimeFrameC
ENUM_TIMEFRAMES
PERIOD_D1
RSI timeframe
InpMaxSlippageC
ulong
2
Max slippage for market operations, points
InpMagicC
long
2023111903
Magic number of the grid
InpRSIMAPeriod
uint
14
RSI: MA period, bars
InpRSIAppliedPrice
ENUM_APPLIED_PRICE
PRICE_CLOSE
RSI: Applied price
InpLogLevel
LogLevel
LogLevel(INFO)
Log level
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone sournk/Springfield-3Grids-MT5-Bot 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, and any .mqh files into the Include folder the code expects.
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 MetaTrader 5 expert advisor functions as a grid-based recovery system that can operate independently or manage trades from external EAs via magic number filtering. It initiates entries using Bollinger Bands and RSI indicators, then manages drawdown through a recovery grid matrix. The system employs dynamic ATR-bas
Advanced Grid Trading is a MetaTrader 5 expert advisor that manages a complex grid strategy across four configurable layers. It places stop and limit orders at fixed intervals, employing either fixed or geometric lot scaling for increased grid depth. Trade management includes a shared profit pool used to close losing p
This Expert Advisor for MetaTrader 5 focuses on gold trading through a combination of mean-reversion signals and a grid management system. It uses multi-timeframe filters, including exponential moving averages and ADX on the H1 timeframe, to identify trend direction while executing entries on M15 based on RSI and Bolli
Icarus is an automated trading system for MetaTrader 4 that employs a grid strategy with Martingale lot scaling. It utilizes Bollinger Bands and the Stochastic Oscillator to identify entry points, offering a conjunctive mode for filtered execution. The EA manages risk through maximum position limits, equity warning thr
This MetaTrader 4 robot implements a multi-currency mean-reversion strategy, targeting price returns to the average on correlated forex pairs. It manages trades using a grid system with a significant martingale multiplier to scale lot sizes. The expert advisor allows for simultaneous trading on multiple symbols to dive
This MetaTrader 4 expert advisor is an automated grid trading system that utilizes a variety of indicators including Moving Averages, CCI, Bollinger Bands, and MACD for trade entries. It employs a martingale-style lot multiplier to manage position sizing across sequential grid levels. The software includes risk control