OPEN-SOURCE SCRIPT
Volume Liquidity Sweep [XWiseTrade]

Liquidity Sweep with Volume Confirmation
Most liquidity sweep and stop-hunt indicators rely on price geometry alone — they flag any wick past a prior high or low.
The problem: in quiet conditions, price drifts past old levels with no real participation, producing constant false signals. This indicator adds the missing dimension: it only flags a sweep when volume confirms it.
What makes it different
A sweep is marked only when the breaking candle trades above a configurable multiple of average volume. Low-volume drifts past a level are ignored. This is the core distinction from geometry-only sweep tools — real liquidity grabs leave a volume footprint; quiet fakeouts don't.
What it shows
•Auto-detected swing highs/lows where liquidity rests (pivot-based)
•Bull sweep — price wicks below a prior low, then closes back above, on confirmed volume
•Bear sweep — price wicks above a prior high, then closes back below, on confirmed volume
Swept levels marked on the chart
Inputs
Pivot lookback, volume average length, volume spike multiplier, signal cooldown, level display toggle.
Built-in alerts for both directions. These are descriptive market-structure signals for discretionary use, not buy/sell recommendations.
Most liquidity sweep and stop-hunt indicators rely on price geometry alone — they flag any wick past a prior high or low.
The problem: in quiet conditions, price drifts past old levels with no real participation, producing constant false signals. This indicator adds the missing dimension: it only flags a sweep when volume confirms it.
What makes it different
A sweep is marked only when the breaking candle trades above a configurable multiple of average volume. Low-volume drifts past a level are ignored. This is the core distinction from geometry-only sweep tools — real liquidity grabs leave a volume footprint; quiet fakeouts don't.
What it shows
•Auto-detected swing highs/lows where liquidity rests (pivot-based)
•Bull sweep — price wicks below a prior low, then closes back above, on confirmed volume
•Bear sweep — price wicks above a prior high, then closes back below, on confirmed volume
Swept levels marked on the chart
Inputs
Pivot lookback, volume average length, volume spike multiplier, signal cooldown, level display toggle.
Built-in alerts for both directions. These are descriptive market-structure signals for discretionary use, not buy/sell recommendations.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
X marks your alpha. Trade wise.
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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
X marks your alpha. Trade wise.
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.