indicator · on price · open source
Liquidity Void
Running…
Loading chart…
About
Liquidity Void highlights candles with very small wicks relative to their body — fast moves that leave unfilled areas price later re-balances.
- Upper / lower line plot the candle's high/low for
extendBars. wickPctcontrols how small the wicks must be (smaller = stricter).- Look for voids that align with FVGs for high-probability fill trades.
Source code
//@version=5
indicator("Liquidity Void", overlay=true)
wickPct = input.float(0.1, "Max Wick %", minval=0, maxval=5, step=0.05)
extendBars = input.int(20, "Extend Bars", minval=5, maxval=200)
rng = high - low
upWick = high - math.max(open, close)
dnWick = math.min(open, close) - low
body = math.abs(close - open)
isVoid = rng > 0 and upWick < rng * wickPct / 100 and dnWick < rng * wickPct / 100 and body > rng * 0.5
var float voidTop = na
var float voidBot = na
var int voidAge = 9999
if isVoid
voidTop := high
voidBot := low
voidAge := 0
voidAge += 1
if voidAge > extendBars
voidTop := na
voidBot := na
p_Void_Top = plot(voidTop, "Void Top", color=color.purple, style=plot.style_linebr)
p_Void_Bot = plot(voidBot, "Void Bot", color=color.purple, style=plot.style_linebr)
fill(p_Void_Top, p_Void_Bot, color=color.new(color.purple, 85))
alertcondition(isVoid, "Liquidity void", "Liquidity void candle printed")
No comments yet.
Sign in to comment.