Gold King Breakout Grid MT4
- Experts
- 버전: 1.0
- 활성화: 5
GOLD KING — Regime-Filtered Momentum Breakout for XAUUSD (v2.0)
GOLD KING is an automated trading system for gold (XAUUSD) on the M30 timeframe. Version 2.0 is a complete engine upgrade: a closed-bar channel momentum breakout entry, a volatility-expansion regime filter, ATR-scaled exits and volatility-normalized position sizing — re-optimized and verified on 8.5 years of REAL TICK data (2018-2026). Every single calendar year of that backtest finished positive.
This is a tool. It does not promise profit. Automated trading carries real risk, and the grid component means a strong, sustained adverse move can reach the group stop-loss. Please read the whole description and size your risk before using it on a live account.
HOW IT WORKS
1) Entry — Channel momentum breakout
A closed M30 bar must break above (or below) the recent price channel (EntryLookback = 24 bars) by at least 0.6 x ATR. This demands genuine explosive momentum — weak pokes through the channel are ignored. An EMA(50/200) trend filter restricts entries to the prevailing trend direction, and trading is limited to the London/New York session (06-20 UTC).
2) Regime filter — Trade only when gold is awake
New positions are allowed only when ATR(14) >= 1.2 x ATR(100), i.e. when current volatility is clearly expanding above its long-term average, and the EMA spread confirms a real trend. In quiet, choppy markets the EA simply stands aside. This filter is the reason the choppy years 2018, 2021 and 2022 finished flat-to-positive instead of bleeding.
3) Exit — Volatility-scaled targets, tight stop
The whole position group is managed as one basket with ATR-scaled exits: take-profit at 5.5 x ATR, group stop at 1.5 x ATR. Targets automatically adapt from calm $2-ATR gold (2018) to wild $15-ATR gold (2025). The result is a true trend-momentum profile: ~34% win rate with winners about 5x larger than losers — not a fragile high-win-rate scalper. A take-profit floor of 3 x current spread protects the exit economics on high-spread brokers.
4) Grid — Same-size averaging (NOT martingale)
If the market moves against the basket, the EA may add up to 4 additional orders of the SAME lot size at 1 x ATR spacing. Because every order is the same size, exposure is bounded and predictable — this cannot snowball the way a martingale (lot-doubling) system does.
5) Sizing — Volatility-normalized risk
Lot size is computed so that one group stop-loss costs RiskPercent of the balance (default 2.0%), using the current ATR. Risk per trade is therefore constant across volatility regimes.
6) Safety layers
- Group stop-loss + 150% margin-level emergency close
- Economic-calendar news filter (built-in MetaTrader calendar, no external connection; pauses before high-impact events)
- Daily-loss stop, consecutive-loss stop, weekend close
- On-chart dashboard, push/email alerts, one-click pause button
REAL-TICK BACKTEST (every tick based on real ticks, 2018.01 - 2026.06, $10,000 deposit, default settings)
- Net profit: +801% compounded ($10,000 -> $90,123)
- CAGR: +29.8% per year / Profit Factor: 1.91 / Sharpe ratio: 17.8
- Maximum balance drawdown: 22.1% (equity 26.4%)
- 275 trades (~2-3 per month), all 9 calendar years positive:
2018 +4% | 2019 +54% | 2020 +37% | 2021 +4% | 2022 +3% | 2023 +20% | 2024 +103% | 2025 +23% | 2026 YTD +28%
- Honest out-of-sample test: parameters were chosen on 2018-2023 only; the unseen 2024-2026 window scored Profit Factor 2.65.
RUN-MODE: ONE DROPDOWN FOR RISK
- Defensive (x0.5): ~16%/yr at ~11% max drawdown
- Standard (default, RiskPercent 2.0): ~30%/yr at ~22% max drawdown
- Aggressive (x2): ~53%/yr at ~30% max drawdown (verified on real ticks, no blow-up)
Because risk and reward scale proportionally, you choose the profile that fits your account and temperament from a single input.
KEY INPUTS
- RunMode: Defensive / Standard / Aggressive
- RiskPercent: percent of balance risked per group stop (volatility-normalized sizing)
- EntryLookback, EntryATR_Multi: channel length and breakout margin
- MinVolRatio, RegimeATR_Period, MinTrendATR: volatility/trend regime filter
- UseTrendFilter, TrendEMA_Fast, TrendEMA_Slow: trend filter
- GroupTP_ATR / GroupSL_ATR: ATR-scaled basket take-profit and stop
- MinTP_SpreadMult: take-profit floor in spreads
- GridDistanceATR, MaxGridCount: grid spacing and maximum orders
- EmergencyMarginLevel: margin emergency close threshold
- News filter, daily-loss, weekend-close and notification settings
RECOMMENDED SETUP
- Symbol: XAUUSD / GOLD / XAUUSDm, Timeframe: M30
- Hedging account, leverage 1:100 or higher, $1,000+ (or an equivalent cent account)
- VPS or an always-on PC recommended so the EA runs 24/5
- Expect ~2-3 trades per month. This EA waits for high-quality momentum; it does not scalp every day. Flat periods are normal and are exactly how it protects your capital.
IMPORTANT RISK DISCLOSURE
This product is a software tool for automated order execution. It is not investment advice and does not manage your funds. No trading system can guarantee profit, and past performance — including real-tick backtests — does not guarantee future results. The strategy concentrates its gains in volatility-expansion phases; quiet years around +0-5% are normal and expected. Grid-based systems can experience drawdowns and, in extreme sustained trends, reach the group stop-loss. Always test on a demo account first, start with conservative risk, and only trade with money you can afford to lose.
SUPPORT
Please use the built-in chat for questions. Updates and improvements are published through the Market and delivered to you automatically.
