OPEN-SOURCE SCRIPT

PVT Oscillator

This is the non-accumulating portion of the price-volume trend (PVT)--the amount by which PVT would change each bar--which I have turned into a zero-centered oscillator. The plot is a 9-day EMA of the PVT change, multiplied by 1000 for readability, with lime/red corresponding to whether the actual PVT increased or decreased for that bar.

As always, the length of this moving average is adjustable, as is the source of price(s) to use--open, close, high, low, HL2, HLC3, or OHLC4.
configurableOscillatorsPrice Volume Trend (PVT)pvt

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer