indicator · on price · open source
Liquidity Sweeps (Lows)
Running…
Loading chart…
About
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.
lookbackcontrols swing low liveness.- Combine with bullish OB / FVG for high-conviction longs.
Source code
//@version=5
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)
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=color.aqua, text="SWEEP")
alertcondition(sweepLo and not sweepLo[1], "Low sweep", "Liquidity swept below swing low")
No comments yet.
Sign in to comment.