
🏆 MT5实盘8.5年验证 · 全部代码公开 · 免费的 XAUUSD EA
MT5实盘8.5年BT (2018-2024, GOLD M30) 中 PF=1.91 / DD=22.1% / +29.8%/年 达成。兼具实盘验证・MQ5全部代码公开・免费・内置爆仓规避 这4点的 XAUUSD 专用EA。
- ・实盘8.5年BT (2018-2024): PF=1.91 / DD=22.1% / 275交易 / 胜率34%
- ・年化复利 +29.8%
- ・低DD 22.1% — 相对保证金的稳定风险管理
- ・策略: 简单 ATR突破 + 同方向网格 (无 martingale) + 组TP/SL
- ・内置爆仓规避: GroupSL=-$3,000 + EmergencyMargin=150%
- ・超过 PDCA 15轮得以 PF=0.31→1.91 达成
FXEA365 GOLD KING v3 的特征
| 项目 | FXEA365 GOLD KING v3 |
|---|---|
| Profit Factor | 1.91 (实盘8.5年BT) |
| 最大DD | 22.1% (保证金DD) |
| 验证周期 | 8.5年实盘 MT5 Strategy Tester |
| 价格 | 免费 (仅需账户注册) |
| 策略公开 | MQ5全部代码公开 |
| 爆仓规避 | 内置 GroupSL + EmergencyMargin |
PDCA 5轮 进化记录 (基于实盘HTM)
| Cycle | 对策 | PF | DD | 7年NP |
|---|---|---|---|---|
| 1 baseline | 初期实现 | 0.31 | 47% | -$3,479 |
| 2 (1c) | 趋势OFF+风险比改进 | 0.83 | 35% | -$805 |
| 3 (2b) | 入场高频化 | 1.38 | 27% | +$1,779 |
| 4 (3b) | Lot 扩大 (0.10) | 38.86 | 1.57% | +$8,157 |
| ★ 采用 (最新) | M30 GroupSL-3000 + ATR优化 | 1.91 | 22.1% | +29.8%/年 |
How the strategy works (entry, stop, target)
On XAUUSD M30 it trades only volatility-expansion regimes, riding strong channel-breakout momentum to large ATR-scaled targets. In quiet markets it simply stands aside (v3, 8.5 years of real-tick verification, all 9 years positive).
Run Mode (Defensive / Standard / Aggressive)
Every EA exposes a "RunMode" dropdown that switches aggressiveness across three levels. It only multiplies the lot (risk) — entry/exit logic, symbol and timeframe never change.
Defensive
×0.5Half of standard risk. Both max drawdown and expected return are roughly halved. For capital preservation or first-time automated trading.
Standard (recommended)
×1.0The backtest figures shown on this page use this setting. Start here.
Aggressive
×2.0Double the standard risk. Return and max drawdown roughly double, raising the risk of ruin. Use only with money you can afford to lose.
Approximations relative to Standard (Defensive ≈ 0.5x / Aggressive ≈ 2x). Drawdown does not scale linearly; in sharp markets Aggressive can exceed this estimate. Lots auto-adjust to balance when compounding is on.
All Parameters
All 79 inputs shown in MT5 (EA core + shared modules). Strategy-core values are pre-optimized — keep them at defaults; tune only the operational ones as needed.
| Parameter | Default | Description |
|---|---|---|
| General | ||
VersionCheck_Enable | true | Enable automatic update notifications. |
EA_Slug | gold-king-v3 | FXEA365 site EA identifier (do not change). |
RunMode | MODE_STANDARD | Run mode (Defensive x0.5 / Standard x1.0 / Aggressive x2.0). Switches the lot multiplier. |
| Economic Event Filter | ||
EconFilter_Enable | true | Avoid trading around high-impact economic events. |
EconFilter_AvoidNFP | true | Avoid NFP (1st Friday each month). |
EconFilter_AvoidFOMC | true | Avoid FOMC (US Federal Open Market Committee). |
EconFilter_AvoidCPI | true | Avoid CPI (US consumer price index). |
EconFilter_AvoidWeekend | true | Avoid weekend risk (late Fri / early Mon). |
EconFilter_AvoidHoursBefore | 2 | Avoid N hours before the release. |
EconFilter_AvoidHoursAfter | 1 | Avoid N hours after the release. |
EconFilter_ServerGMTOffset | 3 | Server-time GMT offset (summer=3 / winter=2). |
EconFilter_Verbose | false | Verbose filter logging. |
EconFilter_UseCalendar | true | Auto-fetch from MT5 economic calendar (falls back to NFP/CPI rules where unavailable). |
EconFilter_MinImportance | 2 | Min calendar importance (1=low+ / 2=medium+ / 3=high only). |
EconFilter_Currencies | USD | Calendar target currencies (CSV, e.g. USD,EUR,JPY). |
EconFilter_StopImportance | 3 | Fully stop new entries at this importance or above. |
EconFilter_StopBeforeMin | 120 | Stop: N minutes before release. |
EconFilter_StopAfterMin | 60 | Stop: N minutes after release. |
EconFilter_ReduceLotFactor | 0.5 | Lot factor on medium impact (reduce instead of stop). |
EconFilter_ReduceBeforeMin | 30 | Reduce lot: N minutes before. |
EconFilter_ReduceAfterMin | 15 | Reduce lot: N minutes after. |
| Safety Guard | ||
Guard_Enable | true | Enable the safety guard (forward only). |
Guard_EmergencyMargin | 120.0 | Close all if margin level falls below this % (0=off). |
Guard_DailyLossPct | 8.0 | Stop new entries for the day at this daily loss % (0=off). |
Guard_DailyLossClose | false | Also close open positions when the daily loss is hit. |
Guard_MaxConsecLoss | 0 | Stop new entries for the day after N consecutive losses (0=off). |
Guard_FridayClose | false | Close everything late Friday. |
Guard_FridayCloseHour | 20 | Friday close-all hour (server time). |
| News Protect | ||
Guard_NewsProtectMode | 0 | 0=off / 1=SL to break-even / 2=half close / 3=close all. |
Guard_NewsProtectMin | 15 | Run protection N minutes before high-impact events. |
| Dashboard / Notify | ||
Notify_Push | true | MT5 mobile push notifications (requires MetaQuotes ID). |
Notify_Email | false | Email notifications (requires MT5 email setup). |
Notify_WebhookURL | — | Generic webhook URL (Discord/Slack, etc.; empty=off). |
Notify_MarginAlert | 150.0 | Alert when margin level falls below this %. |
Notify_DailySummary | true | Send a daily summary at a set time. |
Notify_SummaryHour | 6 | Daily summary send hour (server time, 0-23). |
Dash_TradeCSV | true | Record all fills to CSV (MQL5/Files). |
Dash_PauseButton | true | Show a pause button on the chart. |
Notify_NewsPrewarnMin | 60 | Pre-warn N minutes before entries are halted (0=off). |
| Entry (ATR Breakout) | ||
ATR_Period | 14 | ATR (volatility) calculation period. |
EntryLookback | 24 | Breakout channel lookback bars (closed-bar Donchian). |
EntryATR_Multi | 0.6 | Breakout margin = ATR x this. |
TrendEMA_Fast | 50 | Fast EMA (trend filter). |
TrendEMA_Slow | 200 | Slow EMA (trend filter). |
UseTrendFilter | true | Trade only with the SMA-slope direction |
AllowSell | true | Allow sell entries (often OFF for gold's uptrend bias). |
MinTrendATR | 1.0 | Regime: require |EMA fast-slow| >= ATR x this (0=off). |
MinVolRatio | 1.2 | Regime: require ATR / slow-ATR >= this (0=off). |
RegimeATR_Period | 100 | Slow ATR period for the volatility regime. |
| Grid Logic (no martingale) | ||
GridDistanceATR | 1.0 | Add the next grid after an adverse move of ATR x this. |
MaxGridCount | 5 | Maximum grid count. |
FixedGridLot | true | true=same lot for all grids; false=martingale. |
| Group Exit | ||
GroupTP_ATR | 5.5 | Group TP = ATR x this (0=use fixed points). |
MinTP_SpreadMult | 3.0 | TP floor = current spread x this (0=off). |
GroupSL_ATR | 1.5 | Group SL = ATR x this (0=use fixed points). |
GroupTP_PointsBase | 20.0 | Group TP base points per total lot (when GroupTP_ATR=0). |
GroupTP_PointsPerPos | 10.0 | +TP points per total lot per extra grid level. |
GroupSL_Points | 400.0 | Group SL points per total lot (when GroupSL_ATR=0). |
UseGroupExit | true | Enable group exit. |
GroupTP_Base_USD | 100.0 | (legacy, unused) Group TP base (USD). |
GroupTP_PerPos_USD | 50.0 | (legacy, unused) +USD per extra grid position. |
GroupSL_USD | -3000.0 | (legacy, unused) Group SL (USD). |
| Lot Sizing | ||
RiskPercent | 2.0 | Risk per trade as a % of account balance.Def 1Std 2Agg 4 |
UseFixedLot | false | True trades a fixed lot (FixedLot); false auto-sizes from RiskPercent. |
FixedLot | 0.01 | Lot size used when fixed-lot trading is on.Def 0.005Std 0.01Agg 0.02 |
LotPerDeposit | 0.72 | InitialLot = balance x this (e.g. $10K -> 0.05 lot). |
MaxLotTotal | 5.0 | Total lot cap. |
MaxMarginPercent | 20.0 | Initial-lot margin cap: order margin <= this % of balance (0=off). |
| Time/Filter | ||
TradeStartHour | 6 | Trade window start hour (UTC). |
TradeEndHour | 20 | Trade window end hour (UTC). |
MaxSpreadPoints | 100.0 | Max spread (points). |
SpreadATRRatio | 0.25 | Dynamic: allow spread up to ATR(points) x this (0=off). |
AvoidMondayOpen | true | |
AvoidFridayClose | true | |
| Risk Management | ||
UseEmergencyMargin | true | Close all at this margin level. |
EmergencyMarginLevel | 150.0 | % |
MagicNumber | 20260901 | Unique ID so the EA never interferes with others (fixed per EA). |
EAComment | FXEA | |
DetailedLog | true | Logs wait/skip reasons, entries and exits to the Journal (forward only). |
Defaults and descriptions follow the EA source. Lot inputs show the effective value after the run-mode multiplier (Defensive x0.5 / Standard x1.0 / Aggressive x2.0). See the bundled MANUAL.html for details.
📈MT5 Strategy Tester 报告 — GOLD KING v3 EA
📋 关于此报告
- MT5 策略测试器(XMTrading-MT5 服务器)生成的官方报告
- 5-10 年实际价格数据 + 全 tick(99.9% 精度)模型
- 余额曲线(蓝)/ 净值曲线(绿)可视化浮动损失
- 过去结果不保证未来利润
下载 (免费)
购买(付费·买断授权)
购买 GOLD KING v3 EA
Buy on the official MetaQuotes Market (MQL5 Market). Payment, licensing and automatic updates are all handled inside the MT5 app.
Buy on MQL5 Market (MT5) →Buy on MQL5 Market (MT4) →Buy on the official MetaQuotes Market — install directly in MT5 with automatic updates. No account registration needed.
⚠ 注意事项
- 本EA为 XAUUSD (GOLD) 专用。在其他货币上不起作用
- 过去BT结果不保证未来的收益
- 交易数 25 (年3.6次) 为寡言型,建议在模拟账户进行3-6个月前向验证
- GOLD H1 / 杠杆1:500 / 最低资金 $1,000 / 推荐 $10,000+
- 建议VPS (24小时运行,UTC 7-20点 伦敦-NY 时段为入场时间)