
🌱 新手4行速覽術語表
- 這個EA做什麼?
- 一款同時運行黃金(XAUUSD)M30突破策略與8個日線分形停損單策略的激進型EA。Exness 7.7年測試結果:PF 1.51,最大DD 30.8%。
- 價格?
- 免費(在合作經紀商註冊帳戶後,可下載綁定該帳戶的專用版)。不想開戶的人可在MQL5市場購買(買斷/租用,價格顯示在購買頁)。兩種方式都在本頁下方。前往免費領取步驟 ↓
- 適合誰
- 想在黃金上博取較大波動、能承受約30%回撤的人。第一次用EA請先從回撤較小的EA開始。
- 取得後要做的事
- 安裝MT5
- 免費版請把下載的檔案放入MT5的Experts資料夾;在MQL5購買的會出現在MT5的「市場」標籤。拖到圖表上並設定
- 在XAUUSD M30圖表執行,先用模擬帳戶跑1〜2週再轉實盤
GOLD VIPER EA — 進攻型黃金突破 (XAUUSD M30)
預設(Ultra = Standard) ×92.3 / Exness 7.7年·複利
$1.0万 → $92万
使用預設設定(RunMode = Ultra = Standard ×1.0)的實測結果:+9,125% / PF 1.51 / 餘額DD 24.9% / 淨值DD 30.8% / 2,806筆交易(年化+80.4%)。Exness XAUUSDm M30,2019.01-2026.09,$10,000,複利,MT5「根據真實點差的每一個報價」模式。但歷史資料品質僅為8%(真實tick僅存在於部分時段),因此數值可能偏樂觀,請留意。
⚠ v2 is a DIFFERENT engine (replaced 2026-07-03). v1 was an XAUUSD M1 grid scalper; v2 is an XAUUSD M30 breakout system. After updating: re-attach to an M30 chart, close any open positions from the old version BEFORE updating, and do NOT load old presets (.set) — use the defaults. The MagicNumber is shared, so leftover old positions will be adopted by the new engine.
⚠ 這是一款激進型EA。即使在預設設定下,淨值回撤最大也可能達到約31%,Aggressive模式下則可達約40%。請僅以可承受損失的資金進行交易。
⚡ 回測起始資金為$10,000。第二引擎以最低0.01手下單,因此小額帳戶的實際風險會高於設定值。資金較小時建議使用微型(美分)帳戶
How it works
Hypothesis: gold forms its strongest initial trends at calm-to-volatile regime transitions. The EA trades only when the ATR regime filter (fast ATR / slow ATR >= 1.2) and EMA50/200 trend agreement confirm a moving market, then enters on a closed-bar breakout of the 32-bar channel with an ATR margin. Exits are ATR-scaled: once group profit reaches the group TP (ATR x 3.0) a group trailing stop (width ATR x 0.4) rides the peak to let winners run, while the group SL (ATR x 1.5) caps the whole basket hard. On adverse moves it averages with same-size grid entries (max 5, no martingale) while the group SL caps the whole basket. Lot size is volatility-normalized risk% (a group-SL hit = 3% of balance). v2.13 adds regime-quality sizing: the stronger the volatility regime at entry (volRatio above the 1.2 gate), the larger the lot (up to x1.5) - losing regimes keep the base lot, so drawdown stays nearly unchanged while profits compound faster.
第二引擎:分形停損單8個策略(v2.35,始終開啟)
在v2.35中,除突破策略外,還有8個策略始終運行,在D1(僅策略2使用H4)分形高低點掛停損單,並在平倉前以移動停損擴大獲利。這些策略始終開啟,並使用獨立的magic編號區間(FB_MagicBase至+7)。在預設設定的2,806筆交易中,有2,565筆來自此引擎,貢獻了大部分利潤。AllowBuy/AllowSell與RunMode對兩個引擎均生效。★每個帳戶僅可掛載於一張圖表(XAUUSD M30)。掛載於多張圖表會導致第二引擎的訂單重複(舊的TWIN/PACK配置已停用)。
Entry & exit timing
- Entry: closed-bar breakout of the 32-bar (M30) channel + ATR x 0.6 margin + EMA50/200 trend agreement
- Regime gates: ATR ratio >= 1.2 (volatility expansion only) + |EMA50-EMA200| >= ATR x 0.5 (trend present)
- Take profit: group TP = ATR x 3.0 (volatility-scaled, spread-floor guarded)
- Stop loss: group SL = ATR x 1.5, executed by the EA and checked every tick (breakout orders carry no broker-side SL, so keep the EA running)
- Scale-in: same-size grid add every ATR x 1.0 adverse move (max 5, no lot escalation = no martingale)
- Safety: monthly -8% circuit breaker (pauses new baskets for the rest of a losing month) / regime-quality sizing scales lots only on strong regimes (cap x1.5) / emergency close at 150% margin level / trading hours 6-20 server time / Monday-open & Friday-close avoidance
Live-spread backtest
總報酬率(7.7年複利)
+9,125% (92.25倍)
Profit factor
1.51
Win rate
54.8%
Max balance DD
24.9%
Max equity DD
30.8%
Trades
2,806
以上數據為預設設定(v2.35)在Exness XAUUSDm M30、2019.01-2026.09、$10,000、複利條件下的實測結果。MT5運行於「根據真實點差的每一個報價」模式,但歷史資料品質僅為8%(真實tick僅於部分時段被保存,其餘由M1 K線生成)。舊版v2.13的Dukascopy 22.5年數據因引擎構成不同,已不再作為官方數值引用。
Parameters (in .mq5 input order, key ones)
| Parameter | Default | Description |
|---|---|---|
| EntryLookback | 32 | Breakout channel lookback bars (M30) |
| EntryATR_Multi | 0.6 | Breakout margin = ATR x this |
| TrendEMA_Fast / Slow | 50 / 200 | Trend EMAs (fast/slow) |
| UseTrendFilter | true | Require trend agreement (robust, recommended) |
| AllowBuy | true | 允許買入(false = 僅賣出,兩個引擎通用) |
| AllowSell | true | 允許賣出(false = 僅買入,兩個引擎通用) |
| MinTrendATR | 0.5 | Regime: |EMA gap| >= ATR x this |
| MinVolRatio | 1.2 | Regime: fast ATR / slow ATR >= this |
| GridDistanceATR | 1.0 | Grid spacing = ATR x this |
| MaxGridCount | 5 | Max grid count (same lot) |
| GroupTP_ATR | 3.0 | Group TP = ATR x this |
| GroupSL_ATR | 1.5 | Group SL = ATR x this (executed by the EA; no broker-side SL) |
| UseTrailExit | true | Trail the group past TP instead of a hard TP close (ON by default in v2.11) |
| TrailActivateATR | 3.0 | Start trailing once group profit >= ATR x this (= Group TP) |
| TrailDistATR | 0.4 | Close when group profit retraces ATR x this from its peak |
| BreakevenATR | 0.0 | Lock a breakeven floor once group profit reaches ATR x this (0=off) |
| UseMonthlyLossStop | true | Monthly loss breaker (v2.12): once the month's realized loss hits the trigger, pause new baskets until next month (open basket still managed) |
| MonthlyLossStopPct | 8.0 | Monthly stop trigger % (defined at Standard risk; Defensive auto-scales x0.5; auto-disabled in Aggressive) |
| UseRegimeSizing | true | Regime-quality sizing (v2.13): scales lots up only on strong regimes; losing regimes keep the base lot |
| RegimeSizeSlope / Cap | 0.75 / 1.5 | Scale = 0.75 per volRatio above the 1.2 gate, capped at x1.5. Auto-disabled in Aggressive |
| RiskPercent | 3.0 | Risk % per basket (group-SL hit = this % of balance) |
| FixedBaseBalance | 0 | >0 = risk computed on this fixed base (compounding OFF; equals daily-withdrawal operation). 0 = compound on current balance |
| MaxLotTotal | 5.0 | Total lot cap |
| MaxMarginPercent | 20 | Initial-lot margin cap (% of balance) |
| TradeStartHour / EndHour | 6 / 20 | Trading hours (server time) |
| MaxSpreadPoints | 100 | Max spread (points, with ATR-linked dynamic allowance) |
| EmergencyMarginLevel | 150 | Emergency close-all margin level % |
| RunMode | Ultra (= Standard ×1.0) | 運行模式(Defensive ×0.5 / Standard / Aggressive ×2 / Ultra = 預設。在本EA中,Ultra與Standard ×1.0相同) |
| MagicNumber | 20260602 | Magic number |
| FB_RiskPercent | 0.5 | 第二引擎每筆訂單的風險百分比(到初始SL的損失 = 餘額的該百分比 × RunMode)。0 = FB_FixedLot |
| FB_MaxLot | 5.0 | 第二引擎每筆訂單的手數上限 |
| FB_RunS1 … FB_RunS8 | true | 8個策略各自的開/關(僅S2使用H4,其餘使用D1) |
| FB_NfpPause | true | 在非農就業數據(NFP)公布日,於伺服器時間15:20-19:30平倉並取消掛單,19:30重新掛單 |
| FB_MagicBase | 2609220 | 第二引擎的magic起始值(使用至+7;該區間不得包含MagicNumber) |
🛡 RunMode=標準為出廠預設設定
GOLD VIPER的主要數據(PF 1.51 / 淨值DD 30.8% / 年化80.4%)是直接使用出廠預設設定RunMode = Ultra(在本EA中與Standard ×1.0相同)時的實測結果,無需額外調整設定。Aggressive(×2.0)可成長至+74,279%,但淨值DD會加深至39.9%,且品質倉位調整與月度斷路器會自動關閉。如需更保守的設定,請選擇Defensive(×0.5,淨值DD 21.3%)。
驗證狀態
從回測到前瞻測試,驗證進行到哪一步
- Backtest已完成
- 期間
- M30 (2019.01.01 - 2026.09.01)
- 歷史品質
- 8% real ticks — real-tick coverage is low for this period, so fill prices are reproduced less accurately
- 交易數
- 2806
- 獲利因子
- 1.51
- 最大回撤
- 30.83%
- OOS需注意
- 資料來源
- MT5 官方逐筆資料
- 驗證年數
- 7.7
- Forward進行中
- 經紀商
- EXNESS
- 開始
- Jul 25, 2026
- 交易數
- 2
- 獲利因子
- 2.17
- 最大回撤
- 2.99%
- 收益率
- +3.73%
- 更新
- 43 minutes ago
- Live未進行
📈MT5 Strategy Tester 報告 — GOLD VIPER EA

📋 關於此報告
- MT5 策略測試器(XMTrading-MT5 伺服器)生成的官方報告
- 5-10 年實際價格資料 + 全 tick(99.9% 精度)模型
- 餘額曲線(藍)/ 淨值曲線(綠)可視化浮動損失
- 過去結果不保證未來利潤
Where it fails / main risks
- Extended ranges: failed breakouts reversing before TP produce consecutive group-SL hits (2020 and early 2024 were such regimes)
- Spread spikes: breakouts right after news or in thin markets suffer slippage and worse TP/SL geometry
- Aggressive模式(×2)的淨值回撤可達約40%。高於預設(Ultra = Standard)的風險等級,請僅在能承受帳戶餘額大幅波動的資金條件下選擇
- Grid adds are same-size and capped at 5, but floating loss can grow to the group-SL distance while holding through a crash
- 測試僅涵蓋7.7年(2019-2026),且大部分處於黃金上漲行情。舊版本在2004-2012年這類長期停滯行情中曾連續11年虧損,而此情形在加入第二引擎後尚未經過驗證。若此類停滯行情再次出現,可能發生長時間連續虧損與深度回撤。請僅以閒置資金進行交易
下載(免費)
購買(付費·買斷授權)
購買 GOLD VIPER EA
Buy on the official MetaQuotes Market (MQL5 Market). Payment, licensing and automatic updates are all handled inside the MT5 app.
🏷 現為首發價 —— 每售出3份價格上調一檔。越早購買越優惠。
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.
The real risk, blow-up triggers, compounding note▾
GOLD VIPER v2.35 是一款在同一張圖表上同時運行兩個引擎的黃金(XAUUSD)激進型EA:①M30波動率狀態突破(L32通道收盤價突破+EMA趨勢一致,ATR縮放的分組TP/SL)和②在D1/H4分形高低點掛停損單的8個策略(始終開啟)。Exness XAUUSDm 7.7年(2019-2026)、$10,000複利:×92.3/PF 1.51(歷史資料品質8%)。突破網格:同手數最多5單,組停損由EA執行(經紀商端無停損),無馬丁格爾。
- ⚠ 這是一款激進型EA。即使在預設設定下,淨值回撤最大也可能達到約31%,Aggressive模式下則可達約40%。請僅以可承受損失的資金進行交易。
- Grid recovery 'holds losers and waits', so the visible balance DD looks low — but the real risk is floating loss (equity DD). Even in its best real window, without the cap equity DD hit 97% (near total wipe).
- Withdraw daily, use only spare capital you can afford to lose, keep it under 10% of your portfolio, and prefer a micro (cent) account.
- If you want a low-drawdown defensive EA, pick one with a low equity drawdown from the EA ranking instead.
依RunMode分類的實測比較(v2.35,Exness 7.7年)
| Setting | 結果($10,000 →) | Equity DD | Verdict |
|---|---|---|---|
| Ultra = Standard(預設) | $92万 | 30.8% | +9,125% / PF 1.51 / 餘額DD 24.9% / 2,806筆交易 |
| Defensive (risk x0.5) | $17万 | 21.3% | +1,589% / PF 1.74 / 餘額DD 17.8% / 2,819筆交易 |
| Aggressive (risk x2) | $744万 | 39.9% | +74,279% / PF 1.52 / 餘額DD 29.9% / 2,811筆交易 |
三種模式皆於相同期間、相同起始資金下測得。淨值DD為MT5的「最大回撤」(資金最高點相對回撤的%),相對DD為Defensive 17.8%、預設25.4%、Aggressive 38.4%。在Aggressive模式下,品質倉位調整與月度斷路器會自動關閉。
MT4 版(v2.35,於 MT4 策略測試器中另行實測——由 Dukascopy M1 資料產生的每個跳動,建模品質 90%,並非真實跳動;XAUUSD M30 2019.01–2026.07,點差 16 點,$10,000 複利,每種模式約 2,730 筆交易):Defensive +2,737% / PF 1.58 / eqDD 22.0% · Standard (= Ultra) +7,672% / PF 1.39 / eqDD 30.7% · Aggressive +105,651% / PF 1.46 / eqDD 41.6%。MT4 版沒有以美元計的籃子停損/停利與成交量上限鉗制,新聞迴避採用 NFP/FOMC/CPI 日程規則。
Compounding = lot scales with balance (volatility-normalized risk%). Multiples are backtest values starting at $10,000 with no withdrawals and do not guarantee future profits.