indicator · own pane · open source
Price Volume Trend indicator
Price Volume Trend is a free open-source indicator. Price Volume Trend (PVT) is the cumulative sum of volume × %change — similar to OBV but… Deepwick Script runs a subset of Pine Script.
Running…
Loading chart…
What Price Volume Trend does
Price Volume Trend (PVT) is the cumulative sum of volume × %change — similar to OBV but weights each bar's volume by the percent change in price.
- Rising PVT = price moves being confirmed by ongoing participation.
- Falling PVT while price rises = warning that the rally is on thin volume.
Source code
Deepwick Script, a subset of Pine Script · read-only
//@version=6
indicator("Price Volume Trend", overlay=false)
colorLine = input.color("color.blue", "Color Line")
colorNeutral = input.color("color.gray", "Color Neutral")
ta.pvt = ta.cum(volume * ta.change(close) / close[1])
hline(0, "Zero", color=colorNeutral)
p_PVT = plot(ta.pvt, "PVT", color=colorLine, linewidth=2)
No comments yet.
Sign in to comment.