SmartLiquiditySweepPro
- Indicators
-
Musa Khunarikov
📊 Professional Trader since 2014 (10+ years of experience).** 💱 Markets: Forex, Stocks, MOEX, Metals.
💻 MQL4-MQL5 Developer. Specialization: Volume Analysis, Cluster Analysis, Footprints, Delta, Volume Profile.
🧠 Experience & Approach: - Version: 1.0
- Activations: 5
💡 Like the tool's logic? 👉 All author's products: https://www.mql5.com/en/users/musa1994/seller 🌐 Trading philosophy: https://developer-mql4-mql5.netlify.app/
Smart Liquidity Sweep Pro — professional SMC indicator for MT5 that identifies true reversal points after liquidity sweeps with triple filtering: Swing levels + volume + absorption. Displays signals directly on candlesticks with liquidity zone visualization.
🎯 What the Indicator Shows
Liquidity Lines (on chart): Automatic marking of Swing High/Low — stop loss clustering zones.
- 🔵 Blue dotted line — Swing Low (seller stop loss zone).
- 🔴 Red dotted line — Swing High (buyer stop loss zone).
Arrows on candlesticks: Appear only on confirmed liquidity sweeps.
- 🟢 Green up — Swing Low sweep + volume absorption (BUY).
- 🔴 Red down — Swing High sweep + volume absorption (SELL).
- 🏷️ "Sweep X.Xx" label — volume-to-average ratio (signal strength).
⭐ Key Features
Triple signal filtering:
- Liquidity: Automatic detection of Swing High/Low over the last 100 bars.
- Sweep: Actual breakout of the level with volume ≥1.2x average.
- Absorption: Confirmation by reversal candle (wick/displacement/level reclaim) within a 1-5 bar window.
EMA 200 trend filter: Buy-sweeps only in uptrend (EMA slope up), sell-sweeps only in downtrend. Protection against counter-trend trades.
No repainting: Arrows are fixed after the confirmation bar closes. Perfect for backtesting and building statistics.
Arrow size by signal strength:
- 1px — volume 1.2-1.5x (weak absorption)
- 2px — volume 1.5-2.0x (medium absorption)
- 3px — volume >2.0x (strong institutional interest)
Clean MQL5 code: Manual mathematical calculation without external handles. Maximum speed and zero errors.
🛠 Installation (MetaTrader 5)
- Copy SmartLiquiditySweepPro.ex5 to the MQL5/Indicators/ folder.
- Restart MT5 or refresh the Navigator (Ctrl+N).
- Drag the indicator onto the chart: Insert → Indicators → Custom → SmartLiquiditySweepPro.
📊 Recommended Settings
Instrument | TF | Swing Left/Right | Volume Mult | Confirm Window |
|---|---|---|---|---|
MOEX, SBER | H1 | 5 / 5 | 1.3 | 5 |
EURUSD, GBPUSD | H1-H4 | 5 / 5 | 1.2 | 3-5 |
XAUUSD | H1 | 7 / 7 | 1.5 | 5 |
BTCUSD | M30-H1 | 5 / 5 | 1.5 | 5 |
US500, NAS100 | M15-H1 | 5 / 5 | 1.3 | 5 |
🎯 Trading Scenarios
Buying the dip in trend: Price in uptrend (above EMA 200), breaks Swing Low with anomalous volume, closes above open → green arrow. Enter with Stop Loss below the absorption bar's low.
Selling the rally in trend: Price in downtrend (below EMA 200), breaks Swing High with anomalous volume, closes below open → red arrow. Enter with Stop Loss above the absorption bar's high.
Filtering false breakouts: If price breaks the level but volume is below threshold or the candle doesn't show absorption — no signal is drawn. This filters out 80% of false breakouts.
Confluence: Use arrows as final entry confirmation together with Volume Profile Professional levels or Order Flow analysis.
⚙️ Indicator Parameters
Swing Detection:
- InpSwingLeft : Number of bars to the left of Swing (default: 5).
- InpSwingRight : Number of bars to the right of Swing (default: 5).
Volume Filter:
- InpVolumeMultiplier : Minimum volume-to-average ratio (default: 1.2).
- InpVolumePeriod : Period for average volume calculation (default: 50).
Confirmation Filter:
- InpWickRatio : Minimum wick-to-range ratio (default: 0.4).
- InpDisplacementRatio : Minimum body-to-range ratio for displacement (default: 0.6).
- InpConfirmWindow : Confirmation window in bars (default: 5).
Liquidity Freshness:
- InpMaxSwingAge : Maximum Swing age in bars (0 = unlimited, default: 100).
Trend Filter:
- InpUseTrendFilter : Enable EMA trend filter (default: true).
- InpTrendEMA : EMA period for trend detection (default: 200).
- InpSlopeLookback : Number of bars for EMA slope calculation (default: 10).
Display:
- InpBuyColor / InpSellColor : Arrow colors (default: green / red).
- InpArrowOffsetPts : Arrow offset from candle in points (default: 30).
- InpDrawLines : Draw liquidity lines (default: true).
- InpMaxLines : Maximum number of lines (default: 8).
- InpDrawLabels : Draw signal strength labels (default: true).
⚠️ Important Warning
The indicator shows probabilistic entry points after liquidity sweeps. It is not a lossless system. Always use Stop Loss and follow risk management. All trading decisions are made by the trader.
🏆 About the Developer
Musa Khunarikov — practicing trader with 12 years of experience (Forex, stocks, MOEX, metals). 51 certificates from Finam Training Center in trading and MQL. Specialization: volume analysis, cluster analysis, delta, volume profile.
Support: 30 days free. Bug fixes — within 48 hours.
