OPEN-SOURCE SCRIPT

VPT and Heiken Ashi Candles MTF

Updated
The volume price trend indicator is used to determine the balance between a security’s demand and supply. The percentage change in the share price trend shows the relative supply or demand of a particular security, while volume indicates the force behind the trend. The VPT indicator is similar to the on-balance volume (OBV) indicator in that it measures cumulative volume and provides traders with information about a security’s money flow

So we put the VPT and add HA candles with non repainting MTF , the crossing up or down of the VPT over candles create the signals
since VPT tend to overshoot you can smooth it with Leni..(just give the smoothing of the length this stupid name:) )

alerts inside


snapshot
just example of play with MTF and the smooth of VPT
Release Notes
I remove the signals as it probably repainting , the HA need to be converted to version 3 probably , sorry for this
Trend AnalysisVPT

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