Trading robot · MT5

Liquidity Sweep Reversal

by logiccrafterdz

This MetaTrader 5 expert advisor implements a reversal strategy based on institutional trading concepts and liquidity sweeps.

GitHub stars1
Forks0
Last update1 year ago15 Sep 2025
LicenceCustom licence

Overview

Liquidity Sweep Reversal identifies fake breakouts at swing high and low levels, waiting for price rejection patterns like pin bars or engulfing candles to enter trades. The robot manages risk through equity-based position sizing, mandatory stop losses with buffers, and dual take-profit targets. It includes optional filters for volume, trading sessions, and trend alignment. Users can configure daily trade limits and a trailing stop to protect gains. The logic avoids martingale or grid methods, focusing on pure price action.

Details

Author

logiccrafterdz on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

SMC / ICT / price action, Mean reversion

Markets

Forex, Gold

Timeframes

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

algorithmic-tradingforexmetatrader5mql5price-actionreversal-strategyrisk-managementtrading-botliquidity-sweep

Input parameters

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

NameTypeDefaultDescription
PipThresholdint8Breakout threshold in pips (increased for better signals)
BarLimitint3Max bars for re-entry confirmation (increased)
BufferSLint5Stop loss buffer in pips (reduced for tighter SL)
RiskPercentdouble0.5Risk percentage per trade (reduced risk)
MinRangeint30Minimum daily range in pips (increased for volatile days)
UseVolumeFilterboolfalseUse volume filter (DISABLED FOR TESTING)
UseTimeFilterboolfalseUse time filter (DISABLED FOR TESTING)
UseTrendFilterboolfalseUse trend filter (DISABLED FOR TESTING)
MaxTradesPerDayint2Maximum trades per day (as per log settings)
ServerGMTOffsetint0Server GMT offset in hours
VolumeMultiplierdouble1.5Volume multiplier for filtering (increased)
UsePendingOrdersboolfalseUse pending orders on retracement
Show all 18 inputs
NameTypeDefaultDescription
UseTP2booltrueUse second take profit
TrailingStartint15Trailing stop start in pips
TrailingStepint5Trailing stop step in pips
UseEquityForRiskbooltrueUse equity instead of balance for risk
MinSLPipsForRiskint7Minimum SL (in pips) used in risk calc to avoid micro-SL oversizing
MaxLotCapdouble10.0Hard safety cap for lot size (additional to broker max)

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone logiccrafterdz/Strategy003-Liquidity-Sweep-Reversal 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

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

ICT System EA

by 26730023-PhamPhuNguyenHung
5 stars

This MetaTrader 5 expert advisor automates trading strategies based on Inner Circle Trader (ICT) and Smart Money Concepts (SMC). It utilizes a confluence engine to evaluate market structure, PDA zones, fair value gaps, order blocks, and SMT divergence against correlated symbols like the DXY. Designed specifically for p

MT5 Trading robot SMC / ICT / price actionTrend followingMean reversion
Updated 6 months ago None stated GitHub repository of ICT System 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

Xauusd God MT5

by techly39
3 stars

This MetaTrader 5 expert advisor is designed specifically for trading gold (XAUUSD). The system utilizes a modular architecture to detect market regimes, identify ranges, and execute trades based on liquidity sweeps and breakouts. It incorporates several filters, including spread and volume checks, alongside a drawdown

MT5 Trading robot BreakoutSMC / ICT / price actionMean reversion
Updated 10 months ago None stated GitHub repository of Xauusd God MT5

EA SMC Engine

by Pauloeduspbr
3 stars

This automated trading robot for MetaTrader 5 implements Smart Money Concepts (SMC) and ICT principles using a hybrid architecture. Trading logic and signal detection are processed within a native C++ DLL, while the MQL5 bridge handles trade execution and data feeding. The system identifies market structure shifts, inc

MT5 Trading robot SMC / ICT / price actionBreakoutTrend following
Updated 5 months ago MIT GitHub repository of EA SMC Engine

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

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