OPEN-SOURCE SCRIPT

Sniper Sweeps

1 678
Purpose
Detect when price sweeps above recent highs (buy-side liquidity) or below recent lows (sell-side liquidity), but closes back inside the range. This is often interpreted as a stop-hunt or liquidity grab by institutional traders.

Core Concepts
Liquidity Sweep: When price briefly breaks a recent swing high/low (potentially triggering stop losses), but then closes back within the previous range.

Buy-side Sweep: Price breaks a previous high, but closes below it.

Sell-side Sweep: Price breaks a previous low, but closes above it.

Summary
This indicator is useful for:

Identifying potential stop-hunts or liquidity grabs.

Recognizing SMC trade setups around swept highs/lows.

Getting alerted when significant liquidity levels are manipulated.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.