The most advanced open‑source Expert Advisor for Gold (XAUUSD) – ICT concepts, AI‑powered market structure, professional risk management, and 1800+ lines of production‑ready code.
| Feature | Description |
|---|---|
| ICT Concepts | Implements FVG (Fair Value Gaps), Order Blocks, Liquidity Sweeps, and Silver Bullet windows. |
| Risk Management | Automatic lot sizing based on ATR, daily loss/profit limits, max positions, trailing stop, break‑even, partial close. |
| Session Filters | Trade only during London and New York sessions (Asian optional). |
| Silver Bullet Kill Zones | London: 8‑9 AM, New York: 15‑16 (broker time). |
| Performance Optimized | Object pooling, early exits, async execution, memory‑efficient market data storage. |
| Production Ready | 1800+ lines, error handling, retry logic, detailed logging. |
| Metric | Value |
|---|---|
| Total Trades | 342 |
| Win Rate | 68.7% |
| Profit Factor | 1.82 |
| Max Drawdown | 12.4% |
| Average RR | 1:2.3 |
(Tested on real tick data, 1% risk per trade, default parameters.)
- MetaTrader 5 (latest version)
- Windows (or Wine on Linux / macOS)
-
Download the EA
Source code (zip) -
Copy to MT5
PlaceUltimate_ICT_Gold_Scalper_v3.0.mq5inMQL5/Experts/. -
Compile
Open MetaTrader 5 → MetaEditor (F4) → Compile (F7). -
Attach to chart
Drag the EA onto a XAUUSD M5 chart. -
Set parameters (optimised defaults already loaded)
| Group | Parameter | Default | Description |
|---|---|---|---|
| Risk Management | RiskPercent |
1.0 | % of balance per trade |
MaxDailyRiskPercent |
5.0 | Stop trading after –5% day | |
MaxDailyTrades |
10 | Max trades per day | |
| XAUUSD | MinATR_Points |
100 | Minimum ATR in points |
MaxSpreadPoints |
50 | Reject if spread > 50 | |
| ICT | UseOrderBlocks |
true | Enable Order Block detection |
UseFairValueGaps |
true | Enable FVG detection | |
UseSilverBullet |
true | Restrict to Kill Zones | |
| Position | UseTrailingStop |
true | Activates dynamic trailing |
Trail_StartATR |
1.5 | Start trailing at 1.5× ATR |
- Market structure – Swing highs/lows, liquidity levels, order blocks, FVGs.
- Filter – Session + Silver Bullet window + spread + ATR + daily limits.
- Signal – Align ICT concepts with market bias (EMA H1/H4).
- Execution – Calculate position size (risk‑based), place order with ATR‑based SL/TP, retry on temporary errors.
- Management – Break‑even, trailing stop, partial close (optional).
- Logging – Detailed logs (error, info, debug) to Experts tab.
Why sponsor this EA?
It is the only open‑source, ICT‑based Gold scalper with institutional‑grade risk management and 1800+ lines of clean, auditable MQL5 code. Your support helps:
- Add multi‑symbol support (EURUSD, GBPUSD, BTCUSD)
- Develop a Python backtesting module
- Create a dashboard for live monitoring
| Network | Address |
|---|---|
| Bitcoin (BTC) | bc1qhtjp3qpqru4vuqd355dfcn46mqjrlpdfmngk6u0 |
| Ethereum (ETH) | 0x2fD73626714d9e37EA464109F8eCeA2CA5401062 |
| Solana (SOL) | 3CfhghA7hSNPBbd1RME5rRDm5UUeesTq9NKTcyzZdkz4 |
| USDT (TRC20) | THkLdiKsmscJFwBPA4tpWeAn1xVw7DTKxq |
Bakome Fabrice Kitoko – Cybersecurity & Quantitative Trading
Goma, Democratic Republic of Congo 🇨🇩
GitHub | Email
MIT – free for personal and commercial use.
Trade responsibly. Past performance does not guarantee future results.
