cybernetwork

Directional Volume Index (DVI) {PREMIUM}

cybernetwork Uppdaterad   
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.
Versionsinformation:
Disabled the MA line and crossing indicators as the default.
Versionsinformation:
Updated ADO input setting description.
Versionsinformation:




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

Code refactoring.
Versionsinformation:


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.
Versionsinformation:
Changed the main oscillator (main-OSC) default to DVI rather than the RSI of DVI.
Versionsinformation:
Tweaked parameters.
Versionsinformation:
Integrated ADO onto the main-oscillator rather as a separate oscillator.
i.e. Main Osc = DVI when Differential Order == 0
Versionsinformation:
Changed the main oscillator (main-OSC) default back to RSI(DVI) after tweaking and optimizing some default values.
Versionsinformation:
Updated vwma smoothing default.
Versionsinformation:
Implemented LOG and SQRT plotting modes.
Endast inbjudanskript.

Tillgången till detta skript är begränsat till användare som har godkänts av författaren och kräver vanligtvis betalning. Du kan lägga till det till dina favoriter men du kan bara använda det efter att ha begärt och fått författarens tillstånd. Kontakta cybernetwork för mer information eller följ författarens instruktioner här under.

TradingView rekommenderar inte att du betalar för ett skript och använder det om du inte litar till 100% på författaren och förstår hur skriptet fungerar. I många fall kan du hitta ett bra alternativ med öppen källkod gratis i våra Community skripts .

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?

Varning:Var god läs innan du begär åtkomst.