OPEN-SOURCE SCRIPT
已更新 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.
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.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
For my full list of premium tools, check the blog:
wallanalytics.com/
Reach out on Telegram:
t.me/DonovanWall
wallanalytics.com/
Reach out on Telegram:
t.me/DonovanWall
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
For my full list of premium tools, check the blog:
wallanalytics.com/
Reach out on Telegram:
t.me/DonovanWall
wallanalytics.com/
Reach out on Telegram:
t.me/DonovanWall
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。