iamroot

Volume Weighted Directional Bias

iamroot Updated   
This indicator uses a series of five volume weighted moving averages cast out in successive powers of three to calculate a value which expresses the direction and momentum of a trend. It can be used as a contrary indicator to identify waning momentum at the top or bottom of a rally or selloff. It can be used to identify trendline divergence. It can also be used for trend confirmation.

The length of the moving averages can be changed in the indicator inputs, but each should be longer than the previous.

The problem with most trend indicators is that they are either too lagging or too noisy. This indicator seeks to combine smoothed data and a long lookback period with an exponentially forward weighted calculation, making it still very responsive to market changes without too much signal noise.
Release Notes:
Updated misnamed input title so that it is not confusing. This does not change any functionality.
Release Notes:
Updated to PineScript v5

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?