indicator · on price · open source

Liquidity Sweeps (Lows) indicator

Liquidity Sweeps (Lows) is a free open-source indicator. Liquidity Sweeps (Lows) — a wick takes out the most recent swing low but the bar closes… Deepwick Script runs a subset of Pine Script.

v1Updated 3 Oct 2026▲ 0 users
Running…
Loading chart…

What Liquidity Sweeps (Lows) does

Liquidity Sweeps (Lows) — a wick takes out the most recent swing low but the bar closes back above it. Bullish trap signal.

  • Triangle-up marker on the sweeping bar.
  • lookback controls swing low liveness.
  • Combine with bullish OB / FVG for high-conviction longs.
  • The deeper the wick beyond the swing low, the more liquidity taken, and the stronger the reversal tends to be.
  • A low sweep at a prior demand zone or OB is one of the cleanest long entries in SMC.
  • Multiple consecutive low sweeps without follow-through = ongoing absorption.
  • The deep-sweep alert flags sweeps that exceed the level by more than 1 ATR — strongest signal.
  • Default swing = 5, lookback = 20 — captures the most recent pivot low as the trigger.

Learn more: What a liquidity sweep is

Source code

Deepwick Script, a subset of Pine Script · read-only

//@version=6
indicator("Liquidity Sweeps (Lows)", overlay=true)
swing = input.int(5, "Swing Length", minval=2, maxval=50)
lookback = input.int(20, "Lookback", minval=5, maxval=100)
markerColor = input.string("color.aqua", "Sweep Marker Color")
markerText = input.string("SWEEP", "Sweep Marker Text")
alertNormal = input.bool(true, "Alert on Every Sweep")
alertDeep = input.bool(false, "Alert on Deep Sweep (1+ ATR)")
alertStacked = input.bool(false, "Alert on Stacked Sweeps")
minBodyPct = input.float(50, "Min Body % for Sweep", minval=0, maxval=100, step=5)
pl = ta.pivotlow(low, swing, swing)
var float lastPl = na
if not na(pl)
    lastPl := pl
sweepLo = low < lastPl and close > lastPl and close > open
plotshape(sweepLo and not sweepLo[1], "Low Sweep", style=shape.triangleup, location=location.belowbar, color=markerColor, text="markerText")
alertcondition(sweepLo and not sweepLo[1], "Low sweep", "Liquidity swept below swing low")
alertcondition(sweepLo and not sweepLo[1] and (lastPl - low) > ta.atr(14), "Deep low sweep", "Deep low sweep — wick exceeded level by more than 1 ATR")
alertcondition(sweepLo and sweepLo[1] and sweepLo[2], "Triple low sweep", "Three consecutive low sweeps — strong accumulation")

Comments

No comments yet.

Sign in to comment.