OPEN-SOURCE SCRIPT

Liquidity Sweep + Target

4 401
Liquidity Sweep + Target

This indicator detects liquidity sweeps — moments where price wicks beyond a recent swing high or low to trigger stops/liquidity, then closes back inside the range (a classic stop-hunt / SFP pattern). Once a sweep is confirmed, the indicator automatically plots a target level for the expected reversal move.
How it works:

Identifies swing highs and lows using an adjustable pivot lookback.
Bearish Sweep: price wicks above the last swing high but closes back below it → signals potential downside reversal, target plotted below.
Bullish Sweep: price wicks below the last swing low but closes back above it → signals potential upside reversal, target plotted above.
Target calculation: choose between (1) the next opposite-side liquidity level (previous swing point) or (2) a fixed risk:reward multiple of the sweep range — fully configurable in settings.

Features:

Clean sweep labels (bullish/bearish) plotted directly on the chart
Dashed target lines with price labels
Adjustable pivot sensitivity, wick threshold, and RR multiple
Built-in alert conditions for both bullish and bearish sweeps

How to use it:
Wait for a sweep label to print, then look for confirmation (structure shift, momentum candle, or your own entry trigger) before acting on the plotted target. This tool identifies liquidity grabs — it does not predict direction with certainty, so always combine with proper risk management.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.