Gold Breakout Surge EA
- 专家
- 版本: 1.0
- 激活: 5
Gold Breakout Surge EA — Volatility Squeeze + Profit-Based Pyramid Adding
An explosive-move catcher for Gold (XAUUSD) that adds to winners, never to losers.
Strategy Logic
Gold Breakout Surge EA waits for a "volatility squeeze" (a coiled spring) and then rides the breakout with profit-based pyramid adding — the opposite of Martingale.
1. Squeeze detection: The EA only looks for trades when the ATR percentile is below the threshold (default 30%) — meaning volatility has compressed to a historical low. Low volatility is almost always followed by a volatility expansion (a big move).
2. Session filter: Trades only during the active London/New York session, avoiding the low-quality Asian-range false breakouts.
3. Trend alignment: Breakout direction must agree with the H4 EMA 50/200 trend.
4. Breakout entry: A 20-bar range breakout, in the trend direction.
5. Pyramid adding (the core): Adds to the position only when in profit (every 0.3×ATR), with each add smaller than the last (decay 0.7). Crucially, every add moves the stop loss up — so risk never increases, and a reversal only gives back profit, never the initial capital.
6. Trailing stop: After the adds are complete, a 3×ATR trailing stop rides the move.
The key difference from Martingale: Martingale adds when losing and doubles the size (guaranteed eventual blow-up). This EA adds only when winning, with shrinking size, and always moves the stop in the direction of profit.
Backtest Results (Gold XAUUSD, 2016–2026, daily, 10 years)
| Metric | Result |
|---|
|---|---|
| Total return | +112% (1,000 → 2,121) |
|---|---|
| Annualized return | ~7.9% |
| Max drawdown | 2.5% |
| Win rate | 53.5% |
| Profit factor | 15.67 |
Yearly: profitable in 8 of 10 years (worst year −1.0%). Out-of-sample: first 5 years +42%, last 5 years +49%.
Control test: without the pyramid adding, the same entries lost −15.7%. The adding is what turns it profitable.
Disclaimer: past performance does not guarantee future results.
Parameters — how to adjust, and the trade-offs
| Parameter | Default | What it does | Turning it UP | Turning it DOWN |
|---|
|---|---|---|---|---|
| Squeeze threshold (%) | 30 | ATR percentile below which to trade | More trades (looser filter) | Fewer, higher-quality trades (tighter filter) |
|---|---|---|---|---|
| Range period | 20 | Breakout channel length | Fewer, bigger-range breakouts | More, smaller-range breakouts |
| ATR percentile window | 100 | Lookback for the percentile | More stable reading | More reactive reading |
| Start / End hour | 10 / 23 | Active trading session (server time) | — | — |
| Initial stop loss ATR | 2.0 | First-trade stop = 2×ATR | Wider (fewer stops, bigger loss) | Tighter (smaller loss, more stops) |
| Add interval (ATR) | 0.3 | Profit distance between adds | Slower scaling, less give-back | Faster scaling, more profit on big moves, more give-back |
| Add decay factor | 0.7 | Size of each add vs previous | Larger later adds (more profit, more risk) | Smaller later adds (safer, less profit) |
| Max add-on trades | 5 | Number of adds after the first | More scale-in on trends | Less scale-in |
| Trailing stop ATR | 3.0 | Trailing distance after adds | More room for the trend | Locks profit sooner |
| First trade risk (%) | 1.0 | % of balance risked on the first trade | Higher growth, larger drawdown | Safer, lower growth |
| Max daily loss (%) | 3.0 | Stops trading after daily loss | More tolerance | Safer |
| Max drawdown red line (%) | 15.0 | Hard stop if drawdown hit | More tolerance | Safer |
Risk Management
1% risk on the first trade (adjustable)
Pyramid adding never increases total risk (stop moves up with every add)
Daily loss limit + hard drawdown red line
Never averages down — a losing trade is closed at the stop, never added to
Free Demo
A free demo version is available on the Market. Test it on your broker's demo account before buying.
