OPEN-SOURCE SCRIPT

Liquidity Sweep + Target

4 359
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.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。