Trading robot · MT5

SmartMoney MTF EA

by SiyabongaDlamini

This automated expert advisor for MetaTrader 5 implements institutional Smart Money Concepts using a multi-timeframe approach.

GitHub stars9
Forks5
Last update4 months ago11 May 2026
LicenceApache-2.0

Overview

SmartMoney MTF EA synchronizes analysis across three timeframes to identify trend direction, premium or discount zones, and market structure shifts. The robot executes trades based on liquidity sweeps and Fibonacci retracement levels, specifically targeting optimal trade entry zones. Risk controls include percentage-based lot sizing, minimum risk-to-reward filters, automated breakeven adjustments, and trailing stops. It also includes session-based filters to limit trading to high-volume London and New York sessions.

Details

Author

SiyabongaDlamini on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

SMC / ICT / price action, Trend following

Markets

Gold, Forex

Timeframes

M1-M5, M15-H1

Risk Profile

No grid, martingale or hedging logic was found in its code or README. That says nothing about how it performs: backtest it first.

Topics

expert-advisorforexgoldmetatrader-5mql5mql5-strategysmart-money-conceptssmctrading-botxauusd

Input Parameters

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

NameTypeDefaultDescription
InpHigherTFENUM_TIMEFRAMESPERIOD_H4Higher TF (H4 or H1)
InpMiddleTFENUM_TIMEFRAMESPERIOD_M15Middle TF (M15 or M5)
InpEntryTFENUM_TIMEFRAMESPERIOD_M1Entry TF (M1)
InpSwingBarsint5Bars to confirm swing
InpMaxSwingLookbackint150Max bars to look back for swings
InpDiscountThresholddouble0.50Discount zone threshold (0.5 = 50%)
InpFibEntryMindouble0.618Min Fib retracement for entry
InpFibEntryMaxdouble0.786Max Fib retracement for entry
InpRequireFibZoneboolfalseMust be in Fib zone to enter
InpSweepLookbackBarsint20Bars to look back for sweep levels
InpSweepConfirmationBarsint1Bars to confirm sweep
InpSweepWickRatiodouble0.5Min wick ratio for sweep
Show all 39 inputs
NameTypeDefaultDescription
InpSweepCloseRatiodouble0.4Close must be within this % of bar
InpConsolidationBarsint6Bars for consolidation
InpConsolidationPipsdouble3.0Max range for consolidation (pips)
InpStructureLookbackint15Bars for structure analysis
InpRequireStructureShiftboolfalseRequire structure shift for entry
InpRiskPercentdouble1.0Risk per trade (%)
InpMinRRdouble2.0Minimum Risk:Reward
InpMaxRRdouble10.0Maximum Risk:Reward for extended targets
InpSlBufferPipsint3SL buffer in pips
InpUseExtendedTargetbooltrueUse extended targets on sweeps
InpUseBreakevenbooltrueMove to breakeven
InpBreakevenRRdouble1.0RR to trigger breakeven
InpUseTrailingbooltrueUse trailing stop
InpTrailingRRdouble2.0RR to start trailing
InpTrailingStepdouble0.5Trail at this % of profit
InpMagicNumberint123456Magic Number
InpSlippageint50Max slippage (points)
InpMaxSpreadint30Max spread (points)
InpMaxDailyTradesint10Max trades per day
InpMaxOpenPositionsint3Max open positions at once
InpTradeCooldownBarsint5Bars between trades on entry TF
InpFilterSessionsbooltrueFilter by trading session
InpTradeLondonbooltrueTrade London session
InpTradeNewYorkbooltrueTrade New York session
InpTradeAsiaboolfalseTrade Asia session
InpDebugModebooltrueEnable debug prints
InpDrawZonesbooltrueDraw zones on chart

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone SiyabongaDlamini/SmartMoney.MQ5 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
237 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

Gold Trader EA

by mehdi-jahani
141 stars

Gold Trader EA is a multi-strategy expert advisor designed for trading XAUUSD on the MetaTrader 5 platform. It employs a fusion engine that combines up to 14 different technical analysis methods, including candlestick patterns, chart patterns, price action, and institutional levels. The system requires a user-defined n

MT5 Trading robot Multi-strategyTrend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of Gold Trader EA
84 stars

This MetaTrader 5 expert advisor implements Smart Money Concepts including Order Blocks, Fair Value Gaps, and Break of Structure entries. It features an automated mode that combines multiple strategies alongside market regime detection using ADX or Efficiency Ratio to ensure trading in trending conditions. Risk managem

MT5 Trading robot SMC / ICT / price actionTrend followingMulti-strategy
Updated 2 months ago Apache-2.0 GitHub repository of SMC Unified Expert Advisor

ICT Gold EA

by darula-hpp
36 stars

This automated trading system for MetaTrader 5 focuses on spot Gold using Inner Circle Trader methodology. It identifies entries through order block detection, market structure analysis, and weekly opening price levels. The strategy is further filtered by dual moving averages and specific trading sessions, primarily Lo

MT5 Trading robot SMC / ICT / price actionIndicator crossoverTrend following
Updated 11 months ago None stated GitHub repository of ICT Gold EA

MT5 Sniper EA

by rithsila
27 stars

This expert advisor for MetaTrader 5 implements a Smart Money Concepts strategy. It identifies institutional trade setups using Order Blocks, Fair Value Gaps, Break of Structure, and liquidity sweeps. The robot performs multi-timeframe analysis across five periods to determine market bias and ensure trend alignment. Ri

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 11 months ago None stated GitHub repository of MT5 Sniper EA

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

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