
GOLD VIPER EA — Attack-type grid scalper (blow-up risk)
Live spread, 5.5 months / compounding
¥10万 → ¥128万
Exness XAUUSDm M1 2026.01-06.15 / $10,000 / 1:500 / compounding (LotPer1k=0.01). 12yr demo BT: PF 2.31 / CAGR ~69% (optimistic spread, reference only).
⚠ Blow-up-accepted grid. Removing the margin cap, enabling trailing, lowering the deviation below 1.5, or multiplying lots EACH wiped the account (-100%) in testing. Do not change the default settings.
⚡ Minimum deposit: from ¥100,000 (standard). For small/safer sizing use a micro (cent) account.
How it works
GOLD VIPER is an aggressive EA that runs a mean-reversion scalp plus a selective grid on XAUUSD M1. The hypothesis: when M1 gold stretches too far from a moving average (EMA20) it tends to snap back quickly. The edge is three-layered — (1) fade only statistically stretched moves (confirmed by RSI and a range filter) to bank many small high-win take-profits; (2) if price keeps going, average the position with a same-lot selective grid while a fixed per-leg stop caps the loss of each leg; (3) a margin cap halts grid-deepening and new baskets when the margin level falls, preventing a runaway floating loss (a full wipe). With the grid (recovery) off the strategy is a net loss on real data, so the profit depends on the grid's recovery power — hence the attack / blow-up-accepted positioning.
Entry & exit timing
- Entry: when price is at least DevEntryUSD ($1.5) away from EMA20 and RSI(14) is oversold/overbought (30/70), fade it for a snap-back.
- Range filter: skip fading when price is in a strong trend (distance from the EMA200 exceeds ATR×2.5) — avoids big losses in one-way markets.
- Take-profit: close each leg at a small fixed TP ($3). In grid mode the whole basket closes when float >= total lots × $3.
- Stop-loss: each leg has a fixed SL ($4.5 ≈ 1.5× TP). This per-leg stop is the survival mechanism that caps each leg's loss (disabling it risks a full wipe).
- Grid add: add a same-lot leg every RecoveryStepUSD ($2) of adverse move, up to 5 legs, improving the average price.
- Safety: when the margin level drops below MinMarginLevelPct (2000%), grid-deepening and new baskets stop — capping equity DD from 97% (best window, uncapped) to about 7%.
Live-spread backtest
Return (5.5mo, compounding)
+1,178% (12.8倍)
Profit factor
2.46
Win rate
88.9%
Balance drawdown
6.13%
Equity drawdown
6.93%
Trades
3,337
Exness XAUUSDm M1 / 2026.01-06.15 (5.5 months) / $10,000 / compounding / default settings (margin cap on, same-lot). Reference: a 12-year MetaQuotes-Demo backtest returns PF 2.31 / balance DD 2.6% / CAGR ~69% (optimistic spread, reference only). Long-term real-broker data is not yet verified.
Parameters (in .mq5 input order, key ones)
| Parameter | Default | Description |
|---|---|---|
| TradeDirection | Both | Trade direction (0=Both/1=Buy only/2=Sell only) |
| EntryMode | 0 | 0=Mean-reversion (default) / 1=Momentum breakout |
| MeanMAperiod | 20 | EMA period used as the mean for reversion |
| DevEntryUSD | 1.5 | Fade when price is this far ($) from mean. ★Below 1.5 = blow-up; do not lower |
| UseRSIfilter | true | Require an RSI extreme to confirm the fade |
| RSIos / RSIob | 30 / 70 | Buy only RSI≤30, sell only RSI≥70 |
| UseRangeFilter | true | Range filter: skip fading a strong trend |
| TrendFlatMaxATR | 2.5 | Skip when distance from long MA exceeds ATR×this |
| TP_USD | 3.0 | Take profit (price distance $, small/high-win) |
| SL_USD | 4.5 | Stop loss (price distance $, ≈1.5× TP) |
| HiddenSLTP | true | Manage SL/TP internally (not on the broker) |
| UseTrailing | false | Trailing. ★Must be false with the grid (blow-up) |
| LotPer1k | 0.01 | Lot per $1000 balance (compounding). Drives monthly return |
| MaxLotCap | 5.0 | Hard per-order lot cap |
| UseRecovery | true | Selective grid recovery (source of high PF; OFF loses on real data) |
| RecoveryStepUSD | 2.0 | Add a leg every this $ of adverse move |
| RecoveryMaxOrders | 5 | Max grid legs per basket |
| RecoveryLotMult | 1.0 | 1.0=same-lot (safe) / >1=martingale (danger/wipe) |
| RecoveryGroupTP_USD | 3.0 | Basket group take-profit (total lots × this $) |
| UseMarginCap | true | Bound grid depth by margin level (anti-blowup, required) |
| MinMarginLevelPct | 2000.0 | Stop adding/seeding below this margin level % |
| MaxOpenPositions | 8 | Max simultaneous positions |
| MagicNumber | 20260602 | Unique magic number (no clash with other EAs) |
📈MT5 Strategy Tester 報告 — GOLD VIPER EA

📋 關於此報告
- MT5 策略測試器(XMTrading-MT5 伺服器)生成的官方報告
- 5-10 年實際價格資料 + 全 tick(99.9% 精度)模型
- 餘額曲線(藍)/ 淨值曲線(綠)可視化浮動損失
- 過去結果不保證未來利潤
Where it fails / main risks
- Sustained strong trend: if price keeps running one way while the fading grid waits for reversion, the basket's floating loss grows. The margin cap prevents a full wipe but a large drawdown is unavoidable.
- No long real-broker record: at release the real-spread track is only 5.5 months; the 12-year figure is optimistic demo spread. Future markets/spreads can lower results.
- Changing settings breaks it: trailing ON, lowering DevEntryUSD below 1.5, martingale lots, or removing the margin cap each produced a -100% wipe in testing. Do not change the default settings.
- Spread/fill dependent: an M1 scalp is sensitive to costs — it needs a low-spread account and fast fills; wide spreads or slippage hurt results. Withdraw daily and trade with under 10% of your portfolio.
下載(免費)
購買(付費·買斷授權)
購買 GOLD VIPER 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.
The real risk, blow-up triggers, compounding note▾
A reverse-engineered attack-type clone of the MQL5 best-seller 'Scalping Robot Pro' ($1,499). XAUUSD M1 mean-reversion scalp combined with a same-lot selective grid recovery, per-leg stop, and a margin-cap anti-blowup. Real spread (Exness, 5.5 months): PF 2.46, 88.9% win, equity-DD 6.9%, ¥100k → ¥1.28M (x12.8). Grid-dependent: blow-up accepted, spare capital, separate account only.
- ⚠ Blow-up-accepted grid. Removing the margin cap, enabling trailing, lowering the deviation below 1.5, or multiplying lots EACH wiped the account (-100%) in testing. Do not change the default settings.
- 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, use AUREUS GOLD or another defensive EA instead.
Results by setting (5.5 months / same entry)
| Setting | Result (¥100k→) | Equity DD | Verdict |
|---|---|---|---|
| Default (margin cap on, same-lot) | ¥128万 | 6.9% | ✅ adopted, survives |
| Martingale (LotMult 1.3-1.5) | — | 29-40% | dangerous (high DD) |
| No margin cap | — | 97% | near total wipe |
| Trailing ON / deviation < 1.5 | -100% | — | full wipe |
Figures compare the same entry on real Exness XAUUSDm 2026. Anything other than the default is not recommended.
Compounding keeps profit in the account and scales the next lot to balance — losses also grow when the market turns. Figures are past backtests and do not guarantee future results.