OPEN-SOURCE SCRIPT

Volume Divergence Polarity Grid [DW]

Updated
This study is an experiment built off the framework of my Dual Volume Divergence Index indicator.
It is designed to gauge polarity over multiple lookback periods of your choice by expressing the data as a two color grid.
Positive Volume Divergence and Negative Volume Divergence are calculated, and their relative values are used to gauge polarity.
The order of the grid is top to bottom - the top is the first lookback period, and the bottom is the last.
Release Notes
Updates:

-> Migrated to v4.
-> Condensed DVDI calculations into a singular function.
-> Corrected NaN values to stabilize initial conditions.
-> Added 7 more Polarity lines.
-> Reorganized script structure.
-> Eliminated fills. Indications are now expressed as columns.
-> Revamped color scheme.
DivergencedvdiexperimentalMoving AveragespolaritychangeTrend AnalysisVolume

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?


For my full list of premium tools, check the blog:
wallanalytics.com/

Reach out on Telegram:
t.me/DonovanWall
Also on:

Disclaimer