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 לקבלת מידע נוסף, או עקוב אחר הוראות המחבר בהמשך.

TradingView אינה מציעה לשלם עבור סקריפט ולהשתמש בו עד ש- 100 % אתה סומך על המחבר שלו ומבין איך עובד הסקריפט. במקרים רבים ניתן למצוא למצוא חלופה טובה עם קוד פתוח בחינם ב בסקריפטי הקהילה שלנו.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?

אזהרה: אנא קרא את לפני שתבקש גישה.