
🥇 GOLD EA (XAUUSD DIP-BUY / LONG-ONLY)
GOLD DIP BUYER EA
Buys gold dips — a non-nanpin EA (long-only).
Buys temporary dips in an uptrend, exits on the bounce. 12yr real, ultra-low 2.3% DD, both OOS halves positive.
PF
1.26
Max balance DD
2.3%
very low
Win rate
69%
Trades
51
12yr
⚡ Min deposit: from ¥100,000 (standard) / micro for small capital
Runs from the minimum XAUUSD lot. ¥100,000+ recommended. Gold moves are large, so a micro/cent account is advised for small/safe operation. Risk-% sizing auto-adapts to account size.
Healthy reversal (not nanpin) to capture gold
A different logic from existing gold EAs (KAMIKAZE=nanpin / blaze=NY breakout). Aligned with gold's long-term-up + pullback nature, it buys oversold (RSI≤35) pullbacks in an uptrend (above SMA200) and exits on the bounce. A single long with a stop — no nanpin blow-up risk.
WHY DIP-BUYING (NOT TREND-FOLLOWING)
Why dip-buying (non-nanpin)
- Gold has an up-bias + bounces: long-term-rising gold rewards buying post-drop bounces (12yr real, 69% win).
- Safer than nanpin: the existing KAMIKAZE is nanpin (blow-up premise); this EA is a single long with a stop. Max DD 2.26% = no blow-up risk.
- Robust across both OOS halves: 2014-19 PF1.71 / 2020-25 PF1.08, both positive. Gold has 12yr of data so robustness checks are solid.
How the strategy works (entry, stop, target)
On XAUUSD H4, a long-only mean-reversion system that buys RSI-oversold dips during an uptrend — the gold counterpart of NASDAQ DIP BUYER.
All Parameters
All 54 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-dip-buyer | FXEA365 site EA identifier (do not change). |
| 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). |
DetailedLog | true | Logs wait/skip reasons, entries and exits to the Journal (forward only). |
| Trend filter (long-only regime) | ||
TrendSMA | 200 | Uptrend SMA (buy only above it) |
TrendTF_Bars | 1 | SMA slope check (0 = level only) |
| Dip entry (RSI oversold) | ||
RSI_Period | 14 | RSI期間 |
RSI_BuyLevel | 35.0 | Gold: deeper dip (35). Robust over 12 live years, both OOS halves positive |
MaxPositions | 1 | 同時保有上限 |
| Exit | ||
RSI_ExitLevel | 55.0 | RSI exit level (gold-tuned). |
SL_ATR | 5.0 | SL = ATR x this (wider for gold). |
ATR_Period | 14 | ATR (volatility) calculation period. |
MaxHoldBars | 40 | Max hold bars (gold-tuned). |
| Risk | ||
RiskPercent | 1.0 | Risk per trade as a % of account balance. |
UseFixedLot | false | True trades a fixed lot (FixedLot); false auto-sizes from RiskPercent. |
FixedLot | 0.1 | Lot size used when fixed-lot trading is on. |
MaxLot | 50.0 | Hard cap on total lots (prevents runaway / oversized positions). |
| Misc | ||
MagicNumber | 202631 | Unique ID so the EA never interferes with others (fixed per EA). |
Slippage | 30 | Allowed slippage (points). |
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 DIP BUYER EA

📋 关于此报告
- MT5 策略测试器(XMTrading-MT5 服务器)生成的官方报告
- 5-10 年实际价格数据 + 全 tick(99.9% 精度)模型
- 余额曲线(蓝)/ 净值曲线(绿)可视化浮动损失
- 过去结果不保证未来利润
🥇 GOLD DIP BUYER EA
H4 dip-buying on XAUUSD (gold). In an uptrend above SMA200, buys RSI-oversold and exits on RSI recovery or max hold. ATR stop for crash defense. A healthy non-nanpin diversifier uncorrelated with existing gold EAs.
Symbol
XAUUSD (GOLD)
Timeframe
H4
Test broker
Exness
Test period
12yr (2017-2026)
REAL MT5 BACKTEST
Real backtest results
| Metric | Value | Assessment |
|---|---|---|
| Test period | 2014.01 – 2025.12 (12yr) | Every tick, $10,000 |
| Net profit (1% risk) | +$243 (+2.4%) | $10,000 → $10,243 |
| Profit Factor (PF) | 1.26 | >1.0 edge; beats KAMIKAZE (1.19) |
| Max balance drawdown | 2.26% | Very low — good diversifier |
| Trades / win rate | 51 / 68.6% | High win, enough sample |
| Sharpe ratio | 0.63 | Good |
OOS ROBUSTNESS
OOS robustness
| Segment | PF | Bal. DD | Note |
|---|---|---|---|
| Full (12yr) | 1.26 | 2.26% | baseline |
| First half (2014-2019) | 1.71 | 1.84% | survived gold downtrend, PF1.71 |
| Second half (2020-2025) | 1.08 | 2.30% | consistent both halves = not recency-fit |
RISK-TIER EXAMPLES
按风险的运用示例(以RiskPercent调整)
| 风险% | 累計(9.4年) | 最大DD | PF |
|---|---|---|---|
| 1%(默认·最安全) | +2.4% | 2.3% | 1.26 |
| 3%(平衡) | +9.0% | 8.3% | 1.29 |
| 5%(積極) | +17.6% | 13.2% | 1.31 |
※由于DD处于极低水平(风险1%时为2.3%),可根据承受度上调RiskPercent以扩大利润幅度。均为同一逻辑的MT5实盘9.4年实测值(累计)。
Out-of-scope markets & risks
- Dip-buying sits in drawdown during sustained crashes until the ATR-SL closes it (long-only = unfavorable in bear markets).
- Modest yearly return (~+0.2%/yr at 1% risk). Purpose is ultra-low-DD diversification. Raise risk-% or combine with other EAs for more return.
- Gold-only. Non-nanpin, but realized SL losses do occur.
- Past real results do not guarantee the future. Trade with risk capital.