OPEN-SOURCE SCRIPT
Atualizado

Liquidity Sweep Detector Pro

10 160
Liquidity Sweep Detector Pro is an advanced Smart Money Concepts (SMC) indicator designed to identify areas where liquidity is likely resting and detect potential buy-side and sell-side liquidity sweeps. The indicator combines equal highs/lows, market structure, and trend analysis to help traders recognize high-probability reversal and continuation zones.

Unlike traditional support and resistance indicators, this tool focuses on liquidity behavior created by stop-loss clusters around swing highs and swing lows.

### Features

• Automatic Equal High (EQH) Detection

• Automatic Equal Low (EQL) Detection

• Buy-Side Liquidity (BSL) Sweep Detection

• Sell-Side Liquidity (SSL) Sweep Detection

• Dynamic Liquidity Levels

• Automatic Liquidity Level Removal After Sweep

• EMA Trend Filter

• Market Bias Dashboard

• Clean Chart Visualization

• Non-Repainting Logic

### How It Works

The indicator continuously scans recent market structure to locate equal highs and equal lows where liquidity is commonly accumulated.

When price moves above an Equal High and quickly closes back below it, the indicator identifies a Buy-Side Liquidity Sweep.

When price moves below an Equal Low and closes back above it, the indicator identifies a Sell-Side Liquidity Sweep.

These sweeps often indicate stop hunts and can provide valuable context before potential reversals or trend continuations.

### Dashboard

The dashboard displays:

• Current Trend

• Latest Equal High

• Latest Equal Low

• Last Liquidity Sweep

This provides a quick overview of current market conditions.

### Best Markets

• Forex

• Gold (XAUUSD)

• Silver (XAGUSD)

• Indices

• Crypto

• Stocks

### Recommended Timeframes

• M5

• M15

• H1

• H4

The indicator adapts well across multiple timeframes, although higher timeframes generally produce stronger liquidity signals.

### Notes

Liquidity sweeps should always be combined with market structure, trend direction, and proper risk management. No indicator can guarantee future price movement, and this tool is intended to assist with market analysis rather than provide guaranteed trading signals.
Notas de Lançamento
Added a Smart Money Concepts (SMC) inspired indicator designed to identify potential buy-side and sell-side liquidity sweeps using equal highs/lows and price rejection behavior.
Notas de Lançamento
Update Notes
Added Buy & Sell Signal system based on confirmed Liquidity Sweeps.


Introduced Bearish Liquidity Sweep (BSL) sell confirmations.
snapshot
Introduced Bullish Liquidity Sweep (SSL) buy confirmations.
snapshot
Added optional trend filter using the 50 EMA and 200 EMA to improve trade quality.
Added market structure confirmation before generating trade signals.

📈 Improvements
Improved liquidity sweep detection accuracy.
Reduced false signals during ranging markets.
Enhanced support and resistance visualization.
Optimized pivot and liquidity zone calculations.
Improved chart performance and reduced unnecessary redraws.
Enhanced signal timing for earlier yet more reliable entries.

Fixes
Fixed occasional duplicate sweep detections.
Improved label positioning and chart readability.
Fixed edge cases where signals could appear after large volatility spikes.
General code optimization and stability improvements.

Signals are generated only after confirmation to help reduce repaint-like behavior.
Designed for educational and analytical purposes; always combine with your own risk management.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.