indicator · own pane · open source
Positive Volume Index indicator
Positive Volume Index is a free open-source indicator by @deepwick. Positive Volume Index (PVI) updates only on up-volume days — emphasises the retail / crowd… Deepwick Script runs a subset of Pine Script.
Running…
Loading chart…
What Positive Volume Index does
Positive Volume Index (PVI) updates only on up-volume days — emphasises the retail / crowd footprint when volume expands.
- Pair with NVI: PVI up + NVI flat = healthy advance; PVI flat + NVI up = quiet accumulation.
- The pair is the original 'volume confirms price' filter from the 1970s.
Source code
Deepwick Script, a subset of Pine Script · read-only
//@version=6
indicator("Positive Volume Index", overlay=false)
colorLine = input.color("color.blue", "Color Line")
var float ta.pvi = 100
prev = na(ta.pvi[1]) ? 100 : ta.pvi[1]
ta.pvi := volume > volume[1] ? prev * close / close[1] : prev
p_PVI = plot(ta.pvi, "PVI", color=colorLine, linewidth=2)
No comments yet.
Sign in to comment.