The Impossible Gold
- Experts
- Versão: 2.1
- Atualizado: 8 outubro 2026
The Impossible Gold v2.1
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.
New in Version 2.1: Progressive Take Profit
Version 2.1 adds optional progressive take-profit extension, adapted from The Impossible Bullion. When price nears its target, Gold can move the TP further in configurable pip steps, allowing a position to stay open for a larger move. You can set the step size and maximum extensions; the dashboard shows the feature status and extensions applied. Breakeven or trailing stops may still close the trade first. TP extension does not guarantee additional profit.
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 free session-breakout EA for XAUUSD M5. Version 2.1 includes progressive TP extension adapted from Bullion; this feature is now available in both products.
The Impossible Bullion retains additional trade-selection and management controls beyond Gold's session-breakout feature set, including:
- Configurable RSI scoring bands and an optional block for entries at extreme RSI levels
- An optional Bollinger Band exhaustion filter, with adjustable period, deviation, and allowed close distance beyond the outer band
- Advanced trend-direction control for trade entries
- Expanded Discord reporting and on-chart monitoring
- Additional prop-risk controls
The RSI and Bollinger exhaustion blocking filters are optional and disabled by default. Bullion is designed for traders who want deeper entry-filter configuration and expanded trade-management controls.
From the same author
The Impossible Bullion provides expanded entry filtering, trend-direction controls, and additional prop-risk tooling for XAUUSD M5. Progressive TP extension is shared with Gold from version 2.1. Bullion's feature details are available on its 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.

Hello brother, I used this robot, did back testing, very good, I did week testing from 2020 to 20026, is it okay? Its result is 20, which means two years, the result is less, and the result is 22, which means sister, we are 22, so far, it is completely fast, okay, now tell me what does it mean, I had invested, I had invested 25 dollars, is it okay? This is what I mean, it worked very well for me in testing. Okay, now tell me how I should use this in Rails. Okay, tell me, I want it to work well. Okay, so tell me, which browser should I use? Check what it is, what are its requirements? Tell me, I am very grateful to you. I am very grateful to you for the way you have created this thing. And you tell me, do this, I mean, comment on it. I am waiting for you. I am waiting for you. Tell me the right thing. i am waiting for you ?