Optimised Set Files for The Impossible EA (EURUSD) and The Impossible Gold (XAUUSD)
Both EAs work out of the box with default parameters — no configuration needed. These optimised set files refine the parameters further for better results on specific brokers and live conditions.
To request either set file, leave a comment below or send me a private message on MQL5.
The Impossible Gold — Live-Tuned Set File
EA: The Impossible Gold (FREE)
Signal: mql5.com/en/signals/2365039
The genetic optimiser assumes zero spreads. Real Gold spreads on OANDA ($1-3) caused premature trailing stop-outs and "Invalid stops" errors at the default trail settings. This set file adjusts 3 parameters for smoother live execution. Everything else stays identical to the optimised defaults.
What changed (3 parameters):
| Parameter | Default | Live-Tuned | Why |
|---|---|---|---|
| TrailingStart | 10 | 25 | Prevents trail triggering inside the spread |
| TrailingStep | 2 | 5 | Avoids "Invalid stops" on minimum stop distance |
| MaxTradesPerDay | 5 | 10 | Wider trail exits faster, room for more trades per session |
When to use it:
- Backtesting / Strategy Tester — use defaults (click Reset). Zero-spread environment matches the optimiser.
- Live or demo account — load this set file for real broker conditions.
Full settings reference (all parameters):
| Section | Parameter | Value |
|---|---|---|
| Strategy | Timeframe | M5 |
| Strategy | LookbackBars | 32 |
| Strategy | BufferPips | 2.0 |
| Strategy | MinRangePips | 10.0 |
| Strategy | MaxRangePips | 1500.0 |
| Strategy | MinScoreToTrade | 70 |
| Session | SessionStart | 7 |
| Session | SessionEnd | 17 |
| Session | ExcludeStart | 12 |
| Session | ExcludeEnd | 15 |
| Risk | RiskPerTrade | 1.5% |
| Risk | CompoundAggressive | true |
| Risk | MagicNumber | 778899 |
| TP/SL | TP_Pips | 180 |
| TP/SL | SL_Pips | 30 |
| TP/SL | MaxSpread | 50 |
| Trail | UseTrailingStop | true |
| Trail | TrailingStart | 25 (live-tuned) |
| Trail | TrailingStep | 5 (live-tuned) |
| Protection | MaxOpenTrades | 1 |
| Protection | MaxTradesPerDay | 10 (live-tuned) |
| Regime | EnableRegimeFilter | true |
| Regime | RegimeEMAPeriod | 50 |
| Regime | RegimeLookback | 4 |
| Regime | RegimeMinSlope | 0.30 |
The Impossible EA — 2026 Optimised Set File
Signal: mql5.com/en/signals/2362924
Tier 2 genetic optimisation refined 29 parameters using Jan 2023 - Dec 2025 data. Validated on completely unseen 2026 data with strong out-of-sample results.
Out-of-Sample results (Jan - Mar 2026):
- +233.7% return on $1,000 start
- 46 trades, 65.2% win rate, PF 2.67
- 19.54% max drawdown
Full settings reference (all 29 optimised parameters):
Pullback Strategy
| Parameter | Value |
|---|---|
| PB_Enabled | true |
| TP_Pips | 20 |
| SL_Pips | 5 |
| PB_TrendEMA | 50 |
| PB_PullbackEMA | 20 |
| PB_RSI_Low / High | 40 / 60 |
| PB_MinADX / MaxADX | 15 / 35 |
| PB_MinEMASlope | 0.12 |
| PB_SessionStart / End | 7 / 15 |
| PB_MaxTradesPerDay | 2 |
| PB_BlockWednesday | true |
| PB_BlockFriday | true |
| PB_BlockDNRegime | true |
Breakout Strategy
| Parameter | Value |
|---|---|
| BO_Enabled | true |
| BO_TP_Pips / SL_Pips | 31 / 12 |
| BO_LookbackBars | 60 |
| BO_BufferPips | 3.0 |
| BO_MinRange / MaxRange | 10 / 80 |
| BO_SessionStart / End | 6 / 17 |
| BO_ExcludeStart / End | 8 / 2 |
| BO_BuyExcludeStart / End | 2 / 14 |
| BO_BuyExclude2Start / End | 14 / 4 |
| BO_SellExcludeStart / End | 12 / 14 |
| BO_BlockWednesday | true |
| BO_BlockFriday | true |
RSI Reversal Strategy
| Parameter | Value |
|---|---|
| RSI_Enabled | true |
| RSI_TP_Pips / SL_Pips | 6 / 6 |
| RSI_Period | 8 |
| RSI_Oversold / Overbought | 30 / 70 |
| RSI_MaxADX | 25 |
| RSI_SessionStart / End | 7 / 15 |
| RSI_BlockWednesday | true |
Risk and Trade Management
| Parameter | Value |
|---|---|
| RiskPerTrade | 3.0% |
| CompoundAggressive | true |
| MaxOpenTrades | 1 |
| MaxDailyLoss | 30% |
| MaxDrawdown | 50% |
| MaxSpread | 20 |
| UseBreakeven | true (10/3) |
| UseTrailingStop | true (10/6) |
| EnableShield | true (400% arm, 10% DD) |
| EnableRegimeFilter | true (EMA 50, slope 0.15) |
| EnableNewsFilter | true (30 min before, 15 after) |
When to use it:
- Default parameters produce the 3-year in-sample backtest (+544.4%). Download the EA and trade with no changes.
- This optimised set file adds the Tier 2 refinements that produced +233.7% on unseen 2026 data.
How to Load a Set File
- Download the .set file (request via comment or PM)
- Open MT5 and attach the EA to the correct chart (EURUSD M5 or XAUUSD M5)
- In the EA inputs tab, click Load and browse to the downloaded file
- Click OK — all parameters are loaded at once
To return to defaults at any time, click Reset in the inputs tab.
Links
The Impossible EA (EURUSD) — FREE | Live Signal
The Impossible Gold (XAUUSD) — FREE | Live Signal
For questions, set file requests, or to share your results, use the Comments below or send a private message.
Past performance does not guarantee future results. Trading involves significant risk. Only trade with capital you can afford to lose.


