OPEN-SOURCE SCRIPT

PVT Oscillator

16177
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.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.