Trading robot · MT5

SMC Liquidity EA

by Shifrozy

This expert advisor for MetaTrader 5 automates Smart Money Concepts (SMC) and institutional liquidity strategies.

High risk

GitHub stars1
Forks0
Last update6 days ago28 Sep 2026
LicenceMIT

Overview

SMC Liquidity EA maps liquidity pools on a higher timeframe, monitors for liquidity sweeps, and uses a lower timeframe to identify market structure shifts (CHoCH) and breaks of structure (BOS). To enter positions, the EA looks for confluence between Order Blocks (OB) and Fair Value Gaps (FVG) within a Point of Interest (POI). It features multiple entry modes including pending orders, immediate market execution, or multi-order entry scaling. Risk management includes protective stop-loss buffers, dynamic position sizing, and risk-to-reward target levels.

Details

Author

Shifrozy on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

SMC / ICT / price action, Breakout, Grid

Markets

Any symbol

Timeframes

M1-M5, M15-H1

Risk Profile

  • Opens a grid of orders: exposure builds up in a trend

Input Parameters

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

NameTypeDefaultDescription
MagicNumberlong202409Magic Number
EACommentstringSMC_LIQOrder Comment
HTF_TimeframeENUM_TIMEFRAMESPERIOD_H1Higher Timeframe (Liquidity)
LTF_TimeframeENUM_TIMEFRAMESPERIOD_M5Lower Timeframe (Execution)
SwingLookbackint100HTF Bars To Scan
HTFSwingStrengthint2HTF Swing Strength (bars each side)
LTFSwingStrengthint1LTF Swing Strength (bars each side)
MinSwingDistPointsint30Min Swing Distance (points)
LiquidityTolPointsint10Equal High/Low Tolerance (points)
SweepBufferPointsint2Sweep Buffer (points above/below)
MinSweepDistPointsint3Min Sweep Penetration (points)
SweepConfirmationModeENUM_SWEEP_MODESWEEP_WICK_ONLYSweep Confirmation
Show all 40 inputs
NameTypeDefaultDescription
SweepLookbackBarsint20Sweep Check Window (HTF bars)
StructureBreakMethodENUM_BREAK_METHODBREAK_WICKBreak Confirmation Method
MinBreakDistPointsint3Min Break Distance (points)
MinDisplacementATRdouble0.1Min Displacement (× ATR)
ATRPeriodint14ATR Period
RequireSecondBOSboolfalseRequire Additional BOS
BOSMinDistPointsint3BOS Min Distance (points)
BOSBreakMethodENUM_BREAK_METHODBREAK_BODY_CLOSEBOS Confirmation Method
OBLookbackCandlesint10OB Lookback (candles before displacement)
OBUseBodyOnlyboolfalseUse Body Only (vs Full Candle)
OBMinSizePointsint3OB Min Size (points)
OBMaxAgeBarsint500OB Max Age (LTF bars)
MinFVGSizePointsint3FVG Min Size (points)
MaxFVGSizePointsint1000FVG Max Size (points)
FVGMitigationPctdouble70.0FVG Mitigation % (invalidation)
FVGExpiryBarsint300FVG Expiry (LTF bars)
RequireOBFVGConfluenceboolfalseRequire OB+FVG Overlap
MinOverlapPointsint2Min Overlap Size (points)
AllowFVGOnlyEntrybooltrueAllow FVG-Only Entry
EntryModeENUM_ENTRY_MODEENTRY_HYBRIDEntry Mode (HYBRID=Market+Grid, MARKET, PENDING)
NumberOfEntriesint3Number of Split Entries (Grid 1-10)
VolumeDistENUM_VOLUME_DISTVOL_EQUALVolume Distribution
SLBufferPointsint20Protection Buffer Beyond POI (points)
TPModeENUM_TP_MODETP_RISK_REWARDTP Mode
RiskRewardRatiodouble2.0Risk:Reward Ratio
FixedTPPointsint500Fixed TP (points)
UseFixedLotboolfalseUse Fixed Lot (true=Fixed Lot, false=Risk %)
FixedLotSizedouble0.01Fixed Lot Size

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone Shifrozy/MT5-SMC-EA 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

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

Fimathe EA

by yolisses
12 stars

Fimathe EA is a MetaTrader 5 robot designed to automate the Fimathe trading technique. It replaces manual channel drawing by analyzing a user-defined range of historical candles to determine reference channels and neutral zones. The system identifies price partitions and uses the median distance to set entry levels. Fo

MT5 Trading robot BreakoutTrend followingSMC / ICT / price action
Updated 5 years ago None stated GitHub repository of Fimathe EA
10 stars

This MetaTrader 5 expert advisor automates trading based on Smart Money Concepts and Order Block identification. It analyzes price action across multiple timeframes, utilizing higher timeframe data for trend context and lower timeframes for entries. The system includes trade management tools such as break-even triggers

MT5 Trading robot SMC / ICT / price actionGrid High risk

Fimather

by leandro-pzk
4 stars

This MetaTrader 5 expert advisor automates trading based on the Fimathe methodology, a price action technique centered on channel expansions. The software allows users to define a macro channel using specific high and low price points, which it then fractionates into sub-levels for entry and exit signals. It features a

MT5 Trading robot BreakoutSMC / ICT / price action
Updated 3 years ago None stated GitHub repository of Fimather

EA XAUUSD Premium

by diditgravatar
4 stars

This MetaTrader 5 expert advisor is designed for gold trading, utilizing a multi-timeframe strategy across the M15, H1, and H4 charts. It integrates technical indicators including ADX, RSI, and Moving Averages to identify trend-following and breakout opportunities. Risk controls include dynamic lot sizing based on acco

MT5 Trading robot Trend followingBreakoutGrid High risk
Updated 1 year ago None stated GitHub repository of EA XAUUSD Premium

ICT Smart Money EA

by Sonthep
4 stars

This MetaTrader 5 expert advisor automates trading using Smart Money Concepts (SMC) and Inner Circle Trader principles. It identifies market entries by detecting Order Blocks, Break of Structure, Liquidity Sweeps, and Fair Value Gaps. The system incorporates a confidence scoring algorithm that evaluates signal strength

MT5 Trading robot SMC / ICT / price actionBreakout
Updated 1 year ago None stated GitHub repository of ICT Smart Money EA

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