Ultimate ICT Gold Scalper
- Uzmanlar
-
Allan Mabele
Trading systems Developer, Trader, Freelancer - Sürüm: 3.15
- Etkinleştirmeler: 15
Ultimate ICT Gold Scalper v3.15
Advanced XAUUSD Scalping EA with ICT-Inspired Market Analysis, Liquidity, FVG, Order Blocks, Silver Bullet Sessions & Automated Risk Management
BAKOME Ultimate ICT Gold Scalper v3.15 is an automated MetaTrader 5 Expert Advisor designed primarily for XAUUSD (Gold) scalping on the M5 timeframe.
The EA combines ICT-inspired market analysis with volatility filtering, liquidity-level detection, Fair Value Gap analysis, Order Block detection, session-based trading, Silver Bullet/Kill Zone timing, ATR-based risk management, break-even protection, trailing stops, partial profit management and a live trading dashboard.
It is designed to focus trading activity around periods of increased market activity while applying multiple execution and account-protection controls.
🚀 Key Features
🥇 XAUUSD-Focused Scalping
The EA is optimized around the characteristics of Gold/XAUUSD, including its volatility, spread behavior and rapid intraday movements.
Core calculations are performed primarily on the M5 timeframe, with higher-timeframe EMA information used for directional bias.
📊 ICT-Inspired Market Analysis
The EA incorporates several concepts commonly associated with ICT/Smart Money Concepts:
- Liquidity levels
- Liquidity sweep detection
- Fair Value Gaps (FVG)
- Order Blocks
- Market bias
- Premium market activity periods
- London trading session
- New York trading session
- Silver Bullet / Kill Zone windows
The EA continuously updates detected market structures and displays their status through the live dashboard.
💧 Liquidity Analysis
The EA searches historical M5 price action for significant swing highs and lows that may represent liquidity areas.
Liquidity levels are evaluated using:
- Historical highs/lows
- Level strength
- Price proximity
- Tick volume
- Recent M5 structure
- Daily highs/lows
- Weekly highs/lows
This provides the EA with a dynamic map of important market levels.
🟦 Fair Value Gap Detection
The EA scans M5 price action for potential Fair Value Gaps.
FVG detection includes:
- Bullish FVGs
- Bearish FVGs
- Gap size measurement
- ATR-relative minimum gap filtering
- FVG lookback configuration
The minimum FVG size can be controlled using:
FVG_MinSizeATR
This allows the trader to avoid treating very small price gaps as meaningful market imbalances.
🟨 Order Block Detection
The EA identifies potential bullish and bearish Order Blocks from M5 candle structures.
Detected Order Blocks include:
- Price boundaries
- Direction
- Formation time
- Tick-volume information
- Mitigation status
The number of bullish and bearish Order Blocks is also displayed on the live dashboard.
🎯 Silver Bullet / Kill Zone TradingThe EA includes configurable trading windows for:
London Silver Bullet
Default:
08:00 – 09:00
New York Silver Bullet
Default:
15:00 – 16:00
These periods can be enabled or disabled independently.
The EA can also operate within configurable London and New York trading sessions.
This helps restrict trading to selected periods rather than allowing unrestricted 24-hour execution.
📈 Market Direction FilterThe EA uses a 200-period EMA on H4 to determine the primary directional bias.
Bullish
Price above the H4 EMA → BUY bias
Bearish
Price below the H4 EMA → SELL bias
Neutral
Price approximately aligned with the EMA → no directional bias
This directional filter is combined with the active trading session and Kill Zone conditions before a trade can be executed.
⚡ ATR-Based Dynamic Risk ManagementInstead of relying entirely on fixed-point stop distances, the EA calculates its initial protection using ATR volatility.
Default settings:
ATR Period: 14 Stop Loss: 2.0 × ATR Take Profit: 3.0 × ATR
This allows SL and TP distances to automatically adapt to changing market volatility.
🛡️ Automated Risk ControlsThe EA contains several account-level protection mechanisms.
Risk Per Trade
Default:
1%
Maximum Daily Risk
Default:
5%
Daily Profit Target
Default:
8%
Maximum Daily Trades
Default:
10
Maximum Concurrent Positions
Default:
1
Maximum Lot Size
Default:
0.50 lots
These settings can be adjusted according to the trader's risk model and broker conditions.
🔒 Break-Even ProtectionThe EA can automatically move a profitable position toward break-even after a configurable ATR-based profit threshold has been reached.
Default:
Break-Even = 1.0 × ATR
The EA also validates broker stop and freeze levels before attempting to modify the position.
📉 ATR Trailing StopThe EA includes dynamic ATR-based trailing.
Default configuration:
Trailing Activation = 1.5 × ATR Trailing Distance = 0.5 × ATR
The trailing mechanism adapts to current market volatility rather than using one fixed distance for every market condition.
💰 Partial Profit TakingPartial closing can be enabled to secure a portion of a winning position while allowing the remaining position to continue.
Configurable settings include:
Partial Close: ON/OFF Partial Close Size: 50% Partial Trigger: 1.0 × ATR
This provides flexibility between aggressive profit protection and allowing positions additional room.
⚙️ Advanced Execution EngineThe EA includes an execution layer designed to handle common MT5 trading conditions.
Features include:
- Automatic lot calculation
- Broker minimum/maximum volume validation
- Volume-step normalization
- Margin availability checking
- Automatic lot reduction when necessary
- Spread filtering
- Slippage control
- Retry mechanism for recoverable trade errors
- Price refresh immediately before execution
- Stop-distance validation
- Freeze-level validation
- ECN/Market Execution compatibility
- Synchronous tester execution
- Optional asynchronous live execution
To reduce excessive order attempts, the EA includes several execution safeguards:
- Minimum time between trades
- One trade per M5 candle
- Maximum daily trade count
- Maximum concurrent positions
- Attempt throttling
- Daily profit/loss lock
- Session filtering
- Kill Zone filtering
- Spread filtering
- Minimum volatility filtering
These controls are particularly useful for volatile instruments such as Gold.
📊 Live Professional DashboardThe EA includes a real-time chart dashboard showing important trading information without requiring external monitoring software.
The dashboard displays:
Market
- Current Bid
- Current Ask
- Spread
- M5 ATR
- Current session
- Current Kill Zone
- Current server time
Signal
- H4 EMA market bias
- Bullish/Bearish bias
- Detected FVGs
- Bullish/Bearish FVG count
- Detected Order Blocks
- Bullish/Bearish OB count
- Liquidity levels
- Volume ratio
- Current trading action
Risk
- Account Balance
- Equity
- Daily P/L
- Daily profit target
- Daily loss limit
- Current positions
- Maximum positions
- Estimated next lot size
- Break-even status
- Trailing status
System
- Symbol
- Timeframe
- Magic number
- Daily trade counter
- Last trade time
- Trading status
You decide when the EA is allowed to trade.
Available sessions:
- Asian
- London
- New York
Default configuration focuses on:
London + New York
Asian-session trading can be enabled when desired.
🟢 Volatility FilterThe EA monitors ATR to determine whether sufficient market movement is available.
This helps avoid trading when Gold's volatility falls below the configured threshold.
Default:
Minimum Gold ATR = 100 points
Gold can experience significant spread expansion around:
- Market transitions
- News releases
- Session changes
- Low-liquidity periods
- Broker liquidity conditions
The EA therefore checks the current spread before opening a position.
Default:
Maximum Spread = 50 points
At the beginning of each trading day, the EA establishes a daily account reference.
It continuously monitors:
Daily P/L %
If the configured daily loss limit is reached, new trading is blocked.
If the configured daily profit target is reached, new trading is also stopped.
This allows the EA to operate with a predefined daily risk boundary.
🧪 Strategy Tester FriendlyThe EA contains specific execution and performance optimizations for MetaTrader 5 Strategy Tester.
Heavy ICT calculations are performed primarily when a new M5 bar appears instead of recalculating the complete market structure on every tick.
This includes:
- Liquidity updates
- FVG updates
- Order Block updates
The system also reduces unnecessary logging during testing and forces synchronous execution in tester environments.
⚡ Performance-Oriented ArchitectureThe EA uses optimized internal structures for market data and position tracking.
Included components include:
- Market-data storage
- Position tracking
- Object pooling
- Cached indicator handles
- M5 calculation cycles
- Trade retry handling
- Execution throttling
- Dashboard state management
The objective is to keep the EA responsive while avoiding unnecessary repeated calculations.
⚙️ Recommended Starting ConfigurationFor XAUUSD M5:
Symbol: XAUUSD Timeframe: M5 Risk Per Trade: 1.0% Maximum Daily Risk: 5.0% Daily Profit Target: 8.0% Maximum Positions: 1 Maximum Daily Trades: 10 Maximum Lot: 0.50 ATR SL Multiplier: 2.0 ATR TP Multiplier: 3.0 Maximum Spread: 50 points London Session: ON New York Session: ON Asian Session: OFF London Silver Bullet: ON New York Silver Bullet: ON Break Even: ON ATR BE Trigger: 1.0 Trailing Stop: ON Trail Start: 1.5 ATR Trail Step: 0.5 ATR Partial Close: ON Partial Close: 50% Partial Trigger: 1.0 ATR
These are starting parameters, not guaranteed optimal settings.
💻 Installation- Open MetaTrader 5
- Select File → Open Data Folder
- Navigate to:
MQL5 → Experts
- Copy the EA into the Experts folder.
- Open MetaEditor
- Compile the .mq5 file.
- Return to MetaTrader 5.
- Attach the EA to an XAUUSD M5 chart.
- Enable Algo Trading.
- Configure your risk and session parameters.
Always test the EA in the Strategy Tester and on a demo account before using real funds.
⚠️ Risk DisclaimerTrading Forex, Gold and CFDs involves substantial risk and may result in the loss of your invested capital.
This Expert Advisor is an automated trading tool and does not guarantee profits or eliminate trading risk.
Past performance, backtest results, simulated results or example configurations do not guarantee future results.
Market conditions, spreads, execution speed, slippage, commissions, liquidity and broker specifications can materially affect results.
Use appropriate risk settings and thoroughly test the EA with your broker before deploying it on a live account.
⭐ Why BAKOME Ultimate ICT Gold Scalper?
BAKOME Ultimate ICT Gold Scalper v3.15 brings together:
ICT-Inspired Analysis
Liquidity Detection
Fair Value Gaps
Order Blocks
Silver Bullet Sessions
H4 Directional Bias
ATR Volatility Management
Break-Even
Dynamic Trailing
Partial Profit Taking
Daily Risk Protection
Live Trading Dashboard
MT5 Execution Controls
into a single automated XAUUSD trading system.
Designed for traders who want structured, session-focused Gold scalping with automated risk and position management.
BAKOME Ultimate ICT Gold Scalper v3.15 — Trade the setup. Control the risk. Let the system execute.
