Trendoscope

Intrabar OBV/PVT

Trendoscope Wizard Updated   
I got this idea from @fikira's script Intrabar-Price-Volume-Change-experimental

The indicator calculates OBV and PVT based on ticks. Since, the indicator relies on live ticks, it only starts execution after it is put on the charts. The script can be useful in analysing intraday buy and sell pressure. Details are color coded based on the values.

Data is presented in simple tabular format.


Formula for OBV and PVT can be found here:

https://www.investopedia.com/terms/o/onbalancevolume.asp

https://www.investopedia.com/terms/v/vptindicator.asp
Release Notes:
  • Added moving average to running stats
  • Option to get alerts on bar close.
Release Notes:
Thanks to @safeuse97 for finding a critical bug.

But is now fixed. And I also added an input option to reset data on bar end.

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 a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?