Gold Range Grid Mean Reversion
- Experts
-
Fabien Martino
Automated trading systems for MetaTrader 5 — built on real data, not promises. - 버전: 1.0
- 활성화: 5
🚀 LAUNCH OFFER — FOUNDER PRICING
First 10 copies: $99. After the 10th sale the price rises to $199 — and keeps climbing as the live track record and reviews grow. All 10 founder copies are still open: this is the lowest price it will ever be.
👉 Try the free demo, run the 8-year backtest yourself, then lock in the founder price.
Gold Range Grid — a gold grid that knows when NOT to trade.
Most gold grid EAs are blind martingales: they keep averaging into a move and blow the account the first time gold trends hard. Gold Range Grid is built the opposite way. It is a mean-reversion grid that only trades RANGES and steps aside in trends, using an ADX regime filter on H4. A per-side floating-drawdown kill-switch caps the worst case, the number of levels and total lots are capped (no unlimited martingale), and an optional capital-protection floor can shield your deposit.
► WHY THIS EA IS DIFFERENT
- It knows when to stand aside. The ADX(H4) regime filter only lets it grid when gold is RANGING. When a trend starts, it stops adding and can close its baskets — this is the single reason it survives where ordinary gold grids die.
- It trades BOTH sides of the range. It buys dips and sells rallies as two independent baskets, capturing the chop that trend systems miss.
- Capped, not unlimited. Flat lot sizing (multiplier 1.0), a maximum number of levels per side, and a hard cap on total lots. A per-side drawdown kill-switch closes a side if it goes too far against you.
- Volatility-adaptive. Grid spacing and take-profit are based on ATR, so the EA adapts to gold's changing volatility instead of fixed point distances.
- Optional capital protection. Turn on the capital floor / profit-lock to secure your initial deposit.
- Honest, reproducible backtest. The DEFAULT inputs reproduce the published result. Run it yourself in the Strategy Tester — nothing is hidden.
► HOW IT WORKS
- Regime: an ADX filter on H4 measures trend strength. The EA only opens and adds when ADX is below the threshold (a range); when ADX rises into a trend it pauses and can close the open baskets.
- Entry: ATR-spaced DCA on each side. It adds to a side only after price moves against it by a multiple of ATR, up to a capped number of levels, on closed bars only.
- Exit: each side is closed at an ATR-based profit target, when the regime turns to "trend", or by the per-side drawdown kill-switch — whichever comes first.
- Risk: every order is checked against free margin before it is sent (no "not enough money" errors), and exposure is capped by max levels per side + max total lots.
► BACKTEST (honest and reproducible)
- 8 years, 2018 → 2026, XAUUSD, real IC Markets data, "1-minute OHLC" model, 5,000 USD start, default lot 0.01.
- Default inputs (lot 0.01): +126% net, Profit Factor 1.11, Recovery Factor 3.41, 74% winning trades, max drawdown ~20%.
- Out-of-sample (2024 → 2026, a period the settings were never optimized on): +55% over 2 years, PF 1.10, 74% winners — the edge holds.
- Higher-risk option: lot 0.04 over the same 8 years ≈ +483% but ~35% drawdown.
- Note: this is a steady, high-hit-rate strategy (~74% winners) with a thin profit factor (~1.10), typical of mean reversion — a low-correlation complement to trend systems, not a moon-shot.
► INSTALLATION (step by step)
1. Buy or rent the product. In MT5, sign in to your MQL5 account: Tools > Options > Community.
2. Open the Navigator (Ctrl+N) > Expert Advisors > Market. The EA appears there after purchase.
3. In Market Watch (Ctrl+M), make sure your gold symbol is visible (XAUUSD, GOLD, XAUUSD.x — your broker's exact name).
4. Open ONE chart: your gold symbol, timeframe H1. (The EA works off H1; the H4 regime is read internally.)
5. Drag Gold Range Grid onto that chart. In the Common tab, tick "Allow Algo Trading", click OK.
6. Keep the default inputs to reproduce the backtest, or lower InpLot for less risk.
7. Turn on the "Algo Trading" button in the toolbar (it must be GREEN). A smiley face appears on the chart.
8. Run it on a VPS (or the MQL5 built-in VPS) so it trades the whole session.
► REQUIREMENTS
- MetaTrader 5, HEDGING account (the EA holds both sides / several positions).
- A gold symbol (XAUUSD) at your broker; attach to a single H1 chart.
- Suggested minimum capital ~1,000 USD at the default 0.01 lot; scale the lot to your balance.
- A VPS is recommended (24/5). No DLL, no WebRequest needed.
► KEY INPUTS
- InpLot = 0.01 — base lot per side (raise for more profit AND more drawdown).
- InpLotMult = 1.0 — flat sizing (not a martingale).
- InpMaxLevels = 8 — max orders per side.
- InpMaxTotalLots = 1.00 — hard cap on total open lots.
- InpGridATR = 0.50 — grid spacing in x*ATR(H1).
- InpUseRegime = true / InpRegimeTF = H4 / InpAdxPeriod = 14 / InpAdxMax = 30 — trade only when ADX < 30.
- InpPauseOnTrend = true — close baskets + pause when a trend starts.
- InpAllowLong / InpAllowShort = true — buy dips and sell rallies.
- InpBasketTP_ATR = 0.50 — per-side basket take-profit in x*ATR.
- InpMaxDD_Pct = 20 — per-side floating-drawdown kill-switch.
- InpUseCapFloor / InpFloorBalance / InpTrailLockPct — optional capital protection (off by default).
► RISK WARNING
Trading leveraged gold CFDs is risky and you can lose money. A grid carries open floating drawdown by nature; the per-side kill-switch and lot caps bound the worst case but do not eliminate risk. Backtests and past performance do not guarantee future results. Always test on a demo account first and size your lot to your own risk tolerance. This EA is a tool, not financial advice.
