Trading robot · MT5

SMC Gold Diggers

by Konyuka

This MetaTrader 5 expert advisor automates trading for XAUUSD using Smart Money Concepts.

High risk

GitHub stars8
Forks1
Last update1 year ago25 Jun 2025
LicenceNone stated

Overview

SMC Gold Diggers implements a multi-timeframe approach, analyzing the H1 for bias, M15 for structure, and M5 for execution. The strategy enters positions based on order blocks, fair value gaps, and liquidity grabs. Risk controls include percentage-based lot sizing, trailing stops, and breakeven triggers, alongside daily profit and loss limits. It features session filtering for London and New York hours and a volatility filter. The repository includes several versions but lacks documentation in the README.

Details

Author

Konyuka on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

SMC / ICT / price action, Martingale

Markets

Gold

Timeframes

M15-H1

Risk profile

  • Uses martingale lot scaling: losses can grow fast

Input parameters

Read from cld_live_demo.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
BaseTimeframeENUM_TIMEFRAMESPERIOD_M15Base timeframe (market structure) - FASTER
ConfirmTimeframeENUM_TIMEFRAMESPERIOD_M5Confirmation timeframe - FASTER
HigherTimeframeENUM_TIMEFRAMESPERIOD_H1Higher timeframe (bias) - FASTER
MaxOpenTradesint2Maximum open trades - INCREASED for more opportunities
Slippageint30Slippage in points (higher for live)
RiskPerTradePercentdouble0.5Risk per trade (% of balance) - CONSERVATIVE
StopLossPipsint80Default SL (8 pips for XAUUSD) - TIGHT
TakeProfitPipsint160Default TP (16 pips for XAUUSD) - FAST PROFITS
UseAutoRRbooltrueUse automatic risk-reward
MinRiskRewarddouble2.0Minimum risk:reward ratio
UseTrailingStopbooltrueEnable trailing stop
TrailingStopPipsint60Trailing stop distance - TIGHT
Show all 40 inputs
NameTypeDefaultDescription
UseBreakevenbooltrueMove SL to breakeven
BreakevenPipsint40Breakeven trigger distance - FAST
SMC_Indicator_NamestringLuxAlgo - Smart Money ConceptsIndicator name
SMC_OB_Lookbackint10Order block lookback (bars) - SHORTER
SMC_FVG_Lookbackint8FVG lookback (bars) - SHORTER
UseOrderBlocksbooltrueTrade order blocks
UseFairValueGapsbooltrueTrade fair value gaps
UseLiquidityGrabsbooltrueTrade liquidity grabs
MinOBSizedouble15Minimum order block size (1.5 pips) - EVEN SMALLER for more signals
UseSessionFilterbooltrueEnable session filtering
LondonStartHourint7London session start (GMT)
LondonEndHourint16London session end (GMT)
NewYorkStartHourint13New York session start (GMT)
NewYorkEndHourint21New York session end (GMT)
UseVolatilityFilterbooltrueEnable volatility filter
MaxATRPercentdouble1.2Maximum ATR percentage (relaxed for live)
UseSpreadFilterbooltrueEnable spread filter
MaxSpreadPipsdouble50Maximum spread (pips) - Higher for live
MagicNumberint20241225EA Magic Number (Updated)
TradeCommentstringSMC-Gold-LiveDemoTrade comment
EnableAlertsbooltrueEnable trade alerts
EnablePartialClosebooltrueEnable partial position closing
PartialClosePercentdouble50.0Partial close percentage
PartialClosePipsint80Partial close trigger (8 pips) - FAST PROFITS
DailyProfitTargetdouble50.0Daily profit target ($)
DailyMaxLossdouble-25.0Daily maximum loss ($)
MaxDailyTradesint15Maximum trades per day
StopAfterDailyTargetbooltrueStop trading after daily target reached

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone Konyuka/SMC-GoldDiggers from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
  3. 3Copy the filesCopy the .mq5 file into Experts.
  4. 4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
  5. 5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.

Similar expert advisors

EA Scalper XAUUSD

by francomascareloai
236 stars

EA Scalper XAUUSD is an automated trading research project for MetaTrader 5 focused on gold. It employs a multifaceted entry strategy using Smart Money Concepts like order blocks and liquidity sweeps, alongside moving average crossovers and Fibonacci zones. The EA includes a self-learning module designed to adapt to di

MT5 Trading robot SMC / ICT / price actionIndicator crossoverScalping High risk
Updated 3 months ago Custom licence GitHub repository of EA Scalper XAUUSD

Prop Firm EA Fleet

by cgemise971
20 stars

Prop Firm EA Fleet is a collection of MetaTrader 5 robots designed for passing prop firm evaluations and managing funded accounts. The suite utilizes various strategies including market structure analysis, session range breakouts for London and New York sessions, and high-frequency scalping. It features strict risk man

MT5 Trading robot SMC / ICT / price actionBreakoutScalping High risk
Updated 9 months ago None stated GitHub repository of Prop Firm EA Fleet

Simba Sniper EA

by oriokie
6 stars

This MetaTrader 5 expert advisor focuses on XAUUSD using a multi-timeframe scalping approach based on Smart Money Concepts. It identifies institutional market structures by analyzing H4 trends, H1 supply and demand zones, and M5 entries. The logic incorporates order block detection, Fair Value Gaps (FVG), and liquidity

MT5 Trading robot SMC / ICT / price actionScalpingTrend following High risk
Updated 8 months ago Custom licence GitHub repository of Simba Sniper EA
4 stars

This MetaTrader 5 expert advisor utilizes a combination of Bollinger Bands, Relative Strength Index, and Average Directional Index to identify entries. It supports multi-timeframe analysis for trend confirmation and provides optional filters for Average True Range and price action patterns such as hammers. Risk managem

MT5 Trading robot Trend followingMean reversionSMC / ICT / price action High risk
Updated 1 year ago None stated GitHub repository of Alif BB RSI ADX MTFA

Fibonacci ICT EA

by Shifrozy
2 stars

Fibonacci ICT EA for MetaTrader 5 combines institutional price action concepts with Fibonacci retracement levels. It identifies higher timeframe trends and enters on pullbacks to specific golden zones using confirmations like Break of Structure and Fair Value Gaps. The system includes robust risk management such as per

MT5 Trading robot SMC / ICT / price actionIndicator crossoverMean reversion High risk
Updated 3 weeks ago None stated GitHub repository of Fibonacci ICT EA

ICT SSL Premium Discount

by 26730023-PhamPhuNguyenHung
2 stars

This MetaTrader 5 expert advisor implements Smart Money Concepts (SMC) by identifying liquidity sweeps and premium or discount zones. It detects buy-side and sell-side liquidity levels, looking for price sweeps followed by retest entries. The robot manages trades using a fixed risk-to-reward ratio, trailing stops, and

MT5 Trading robot SMC / ICT / price actionMartingaleGrid High risk
Updated 6 months ago None stated GitHub repository of ICT SSL Premium Discount

More trading robots

Need a broker for MT5?

Compare regulated brokers that support MetaTrader, with spreads, minimum deposits and leverage side by side.

Compare brokers