cybernetwork

Directional Volume Index (DVI) {PREMIUM}

cybernetwork 已更新   
This script is a complete analysis package based on the Directional Volume Index (DVI).

The Directional Volume Index (DVI) is defined as follows:
DVI = VWMA (len1) - SMA (len2), where by default, len1==len2

The sign of the DVI provides volume confirmation of the direction of the price trend.
The magnitude of the DVI provides the volume confirmation of the strength of the price trend.
The higher-order oscillator, ADO, derived from the DVI, aids with the prediction of probable next move.


---
Here, the main oscillator (main-OSC) is the RSI modulated by the DVI (default). The RSI mode can be disabled to revert to a normal DVI oscillator for the main-OSC.
When the main-OSC (thicker line) is > 0, it is green; and if it is < 0, it is red.

Accompanying the main-OSC is its purple Moving Average (MA) line (VWMA-mode is set as the default, but user can choose to switch to SMA-mode). The crossing of the main-oscillator into its MA-line signals a significant turn in the main-OSC, similar to how the cross between MAs are being used to signal a golden/death-cross (example: main-OSC crossing down its MA-line indicates a probable shift into the bearish phase).

The DVI can be re-scaled and whenever its value > 100, a background fill between the oscillator and the zeroline appear to indicates overbought condition; and < -100 indicates oversold condition. The user can tweak the scaling factor to optimize this for a given chart and timeframe.

A proprietary asymmetric differential oscillator (ADO) is also implemented, which is modulated by the main-OSC. When this (thinner line) secondary oscillator is > 0, it is yellow; and when it is < 0, it is lavender. The user can select the order of the differential (i.e. Order 1 = Momentum, Order 2 = Acceleration, Order 3 = Jerk, Order 4 = Snap, Order 5 = Crackle, Order 6 = Pop). This oscillator provides details of the more subtle underlying/hidden trends that is emerging or brewing, and may hint of an incoming move ahead of time. Divergence in the sign and slope of this secondary oscillator with respect to the main-OSC may provide a useful edge for trade setup.

A (thick transparent light blue) volume oscillator is also provided. An increase in volume trend provides confirmation of (or solidifies) the movements in the main-OSC over that period. A falling volume oscillator trend raises doubts on the main-OSC trend, and hints of the possibility of a counter-trend (also look at the secondary ADO oscillator for clues).

Two set of divergence and hidden divergence indicators have been added. They can be enabled/disabled, and users can link them to specific oscillators of their choosing.

The novel aspects and principles of this indicator and this source code are the property of © cybernetwork.
版本注释:
Disabled the MA line and crossing indicators as the default.
版本注释:
Updated ADO input setting description.
版本注释:




====================================

Code refactoring.
版本注释:


Implemented DVI Bands

The stdev band is derived from the DVI where:
  • The DVI piercing the Stdev boundary suggests a significant move in the corresponding direction.
  • Tightening of the DVI-Stdev bands can suggest the possible incoming of major move ahead.
Also introduced markers to indicate points where the DVI pierces above/below the upper/lower DVI-Band.
版本注释:
Changed the main oscillator (main-OSC) default to DVI rather than the RSI of DVI.
版本注释:
Tweaked parameters.
版本注释:
Integrated ADO onto the main-oscillator rather as a separate oscillator.
i.e. Main Osc = DVI when Differential Order == 0
版本注释:
Changed the main oscillator (main-OSC) default back to RSI(DVI) after tweaking and optimizing some default values.
版本注释:
Updated vwma smoothing default.
版本注释:
Implemented LOG and SQRT plotting modes.
仅限邀请脚本

仅限作者授权的用户访问此脚本,并且通常需要付费。您可以将其添加到收藏中,但是只有在向作者请求并获得许可之后,才能使用它。 请与cybernetwork联系以获取更多信息,或按照以下作者的说明进行操作。

在您100%信任脚本作者并了解脚本的工作原理之前,TradingView不建议您购买脚本并使用它。在很多情况下,您可以在我们的公共指标库中免费找到一个不错的开源替代品。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?

警告:请阅读,然后再请求访问权限。