The Impossible Gold
- Experts
- Versione: 2.0
- Aggiornato: 1 aprile 2026
The Impossible Gold v2.0
Session breakout scalper for XAUUSD on the M5 timeframe. The EA identifies session high/low ranges and waits for a confirmed breakout. Four independent scoring components (ADX, EMA, ATR, RSI) must all agree above a configurable threshold before any trade opens. Every trade opens with a defined TP and SL. No martingale, no grid, and no averaging down.
Version 2.0 defaults were genetically optimised over 3 years of Every Tick data with realistic spreads. The delivered defaults are the optimised values.
How It Works
The EA scans a configurable lookback window for the session high and low, then waits for price to break above or below with a buffer. Four scoring components evaluate the breakout quality:
- ADX trend strength confirms directional momentum is present
- EMA alignment validates trend direction via moving average crossover
- ATR volatility filter removes low-volatility noise
- RSI momentum confirms the entry is not overextended
Trading is restricted to configurable GMT session hours with an optional exclusion zone and per-day blocking. A trailing stop locks in profits as price moves favourably. An optional breakeven feature moves the stop loss to entry after a configurable trigger distance.
Risk Management
Risk-based lot sizing calculates position size from account equity and a configurable risk percentage. The EA includes several independent protection layers: daily loss limit, total drawdown limit, consecutive loss pause, daily trade cap, and a weekly regime filter that uses EMA slope on the W1 chart to prevent trading against the macro trend.
The Shield circuit breaker monitors equity peak and stops trading when drawdown from peak exceeds a configured threshold. It supports permanent stop, next-day reset, or recovery-based reset modes.
Adaptive Risk Mode
Adaptive risk controls can reduce exposure during elevated drawdown periods by progressively lowering risk multiplier, raising the minimum score threshold, and capping trade count.
A news filter can pause trading around high-impact USD events.
Monitoring
An on-chart dashboard displays scoring components, regime status, trade statistics, and Shield state. Discord webhook alerts notify on trade open, trade close, and weekly performance summaries. Daily drawdown tracking is logged in the expert tab.
Recommended Settings
| Parameter | Value |
|---|---|
| Pair | XAUUSD |
| Timeframe | M5 |
| Leverage | 1:100 |
| Account | Hedge |
All v2 defaults are optimised. Attach to XAUUSD M5 and the EA is ready to trade.
Before sending a private message: the Optimisation Settings guide linked above covers parameter walkthroughs and broker-specific tuning. The source code is proprietary and not available. If your question is not answered in the guide, leave a comment below. Reviews are appreciated.
Gold vs Bullion
The Impossible Gold is the stable/free baseline for XAUUSD M5.
The Impossible Bullion is the advanced edition focused on tighter trade selection and expanded control, including:
- Progressive TP management to improve profit capture in trending phases
- 9-factor scoring for higher-quality entry filtering versus the Gold baseline
- Advanced trend-direction control for trade entries
- Enhanced Discord reporting and improved on-chart UI/monitoring features
Bullion is designed for traders who want deeper optimisation controls and active feature expansion.
From the same author
The Impossible Bullion — advanced next-generation XAUUSD M5 edition with expanded filtering, advanced trend-direction control, Progressive TP management, and deeper prop-risk tooling. If you want tighter trade selectivity and broader control than Gold, see Bullion here MQL5 Market product page.
Important Notes
The news filter uses the MT5 built-in Economic Calendar and works on live and demo accounts only. It does not function in the Strategy Tester. Broker spread quality affects results. A VPS is recommended for continuous operation.
This EA is free with many configurable parameters and no restrictions. For support or questions, use the Comments section below or send a private message.
Risk Disclaimer: Past performance does not guarantee future results. Trading Gold on margin involves significant risk of loss and is not suitable for all investors. Only trade with capital you can afford to lose. Always test on a demo account before trading live. The developer is not responsible for any losses on live or personal accounts. This is a trading tool, not financial advice.

when you modify the script with updates, i must re download the ea?