This repository contains a collection of MetaTrader 5 Expert Advisors, featuring an educational rebuild of the multi-currency Waka Waka RSI grid and martingale trading system.
The main advisor triggers initial orders using RSI levels combined with a Bollinger Band breakout filter on the M15 timeframe. It manages multi-symbol baskets using dynamic ATR grid distance scaling, lot multiplier step ladders, weighted take-profit targets, and hidden stop-loss options. Risk controls include maximum spread filters, floating drawdown thresholds, and customizable prop firm equity protection rules.
Read from WakaWaka_Grid.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpAllowNewGrids
bool
true
Allow opening new grids
InpLotSizingMethod
LOT_SIZING_ENUM
LOTS_LOW_RISK
InpFixedLots
double
0.01
Fixed lots
InpDynamicLotPer
double
10000.0
Dynamic: 0.01 lot per this balance/equity
InpCustomDepositLoad
double
0.25
Custom deposit load %
InpFixedInitialDeposit
double
0.0
Tester only: fixed initial deposit (0=off)
InpMaxLotPerOrder
double
100.0
Max lot per order
InpAutoSplit
bool
true
Auto-split oversized lots
InpMaxSpreadPips
double
3.0
Max spread in pips (0=off)
InpMaxSlippagePips
int
3
Max slippage in pips
InpMaxSymbolsWithGrids
int
2
Max symbols with grids at a time
InpOnlyOneSymbolLevel
int
4
Only one symbol if a grid reaches this level (0=off)
Show all 40 inputs
Name
Type
Default
Description
InpAllowHedging
bool
false
Allow buy and sell grid on same symbol
InpTradeOnHolidays
bool
false
Trade Dec 25 - Jan 3
InpAllowBuySell
ALLOW_BUY_SELL_ENUM
ALLOW_BOTH
InpMinFreeMarginPct
double
0.0
Min margin level % (0=off)
InpMaxDrawdownPct
double
0.0
Max floating drawdown % (0=off)
InpMaxDrawdownMoney
double
0.0
Max floating drawdown in money (0=off)
InpDrawdownAction
DD_ACTION_ENUM
DD_CLOSE_STOP_RESTART
InpDrawdownCalc
DD_CALC_ENUM
DD_STRATEGY_ONLY
InpSymbols
string
AUDCAD,NZDCAD,AUDNZD
Symbols (comma separated)
InpStartHour
int
0
Hour to start trading
InpStopHour
int
23
Hour to stop trading
InpBBPeriod
int
35
Bollinger Band period
InpRSIPeriod
int
20
RSI period
InpRSIValue
double
15
RSI distance from 50 to trigger
InpBreakoutFilter
bool
true
Require close beyond recent extreme
InpInitialTPPips
double
10
Initial TP in pips
InpWeightedTP
bool
true
Weight average price by lots
InpGridTPPips
double
0
Grid TP in pips (0 = use initial TP)
InpBreakEvenAfterLevel
int
0
Break even after this level (0=off)
InpHideTP
bool
false
Manage TP internally (don't send to broker)
InpTPOnlyOnNewLevel
bool
true
Adjust TP only when a new level opens
InpSmartTP
bool
false
Smart TP: % of Bollinger width
InpUseOPO
bool
false
OPO: close hidden TP only on bar close beyond it
InpOPOTimeframe
ENUM_TIMEFRAMES
PERIOD_M15
OPO timeframe
InpStopLossPips
double
0
SL in pips (0 = 1000)
InpHideSL
bool
true
Don't send SL to broker
InpGridDistancePips
double
35
Distance between grid levels in pips
InpSmartDistance
bool
true
Scale distance by ATR96/ATR672
How to Install It
1Download the sourceUse "Download source (.zip)" above, or clone mikegoro/MT5 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 repository contains a collection of MetaTrader expert advisors for MT4 and MT5, featuring various algorithmic trading strategies. The primary EA, North East Way, implements a multi-currency grid and martingale system focused on mean reversion for correlated pairs such as AUDNZD and NZDCAD. It manages risk through
This collection for MetaTrader 4 and 5 features the Guangying multi-symbol expert advisor alongside various utility tools and martingale-based robots. The primary system monitors multiple forex pairs and gold from a single chart using Fibonacci-derived logic for trade entries. It includes risk controls such as equity d
This repository provides an extensive collection of MetaTrader 4 and MetaTrader 5 expert advisors, including the Cobra and Pivot Point systems. The included tools utilize strategies ranging from daily pivot level reversals to grid-based recovery and cost-averaging methods. Notable features include ATR-based stop losses
This MetaTrader 5 repository contains a collection of expert advisors, primarily documented around the TrioMartingale strategy. This system uses a martingale grid approach on AUDNZD, NZDCAD, and AUDCAD to exploit triangular correlation and mean-reversion. Entries are filtered using RSI and Moving Averages, while risk i
This repository contains a diverse collection of MetaTrader 4 expert advisors and R-based financial scripts. The primary robot is based on the Nanningbob trading system, which utilizes multi-timeframe analysis across daily and four-hour charts to identify trends and ranging markets. It employs Bollinger Bands for mean-
This repository functions as a large collection of over 170 MetaTrader 4 expert advisors provided in source code format for further development. The library includes various automated trading robots based on popular technical indicators such as Heiken Ashi, RSI, Stochastic, and MACD crossovers. The included files utili