DonovanWall

Dual Volume Divergence Index [DW]

This is an experimental variation of Paul L. Dysart's Positive Volume Index and Negative Volume Index that tracks the divergences between the PVI and its EMA , and the NVI and its EMA , then plots both together for comparison.

This tool can be used to identify trending price activity.
發布通知: Simple update:
Added custom bar colorization.
發布通知: Simple update:
Updated color scheme based on PVI and NVI divergence strength.
發布通知: Updates:
Added optional smoothing to the script using an exponential moving average to filter noisy outputs.

Added a mode selection with three modes to choose from:
- Dual Index Mode, which displays the original DVDI
- Oscillator Mode, which displays the difference between the PVDI and NVDI as a centered oscillator
- Bar Counter Mode, which displays the number of bars in which volume divergence is in a positive dominant phase and negative dominant phase
發布通知: Updates:

Migrated code from pine v2 to pine v3.

Added a source price input.

Added an option to use tick volume rather than real volume. If the chart being analyzed has no real volume component, use tick volume.

Condensed DVDI's operations into a singular function for optimized performance.

Fixed a small issue with the bar counter.

Mode selection is now an easy to use dropdown menu.

Color schemes have been updated for greater detail.
發布通知: Updates:

-> Migrated to v4.
-> Updated DVDI function.
-> Corrected NaN values to stabilize initial conditions.
-> Reorganized script structure.
-> Revamped color scheme.

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

Reach out on Telegram:
https://t.me/DonovanWall
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?