cybernetwork

Directional Volume Index (DVI) {PREMIUM}

cybernetwork Cập nhật   
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.
Phát hành các Ghi chú:
Disabled the MA line and crossing indicators as the default.
Phát hành các Ghi chú:
Updated ADO input setting description.
Phát hành các Ghi chú:




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

Code refactoring.
Phát hành các Ghi chú:


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.
Phát hành các Ghi chú:
Changed the main oscillator (main-OSC) default to DVI rather than the RSI of DVI.
Phát hành các Ghi chú:
Tweaked parameters.
Phát hành các Ghi chú:
Integrated ADO onto the main-oscillator rather as a separate oscillator.
i.e. Main Osc = DVI when Differential Order == 0
Phát hành các Ghi chú:
Changed the main oscillator (main-OSC) default back to RSI(DVI) after tweaking and optimizing some default values.
Phát hành các Ghi chú:
Updated vwma smoothing default.
Phát hành các Ghi chú:
Implemented LOG and SQRT plotting modes.
Tập lệnh chỉ hiển thị cho người được mời

Quyền truy cập vào tập lệnh này bị hạn chế đối với người dùng được tác giả ủy quyền và thường yêu cầu thanh toán. Bạn có thể thêm nó vào mục yêu thích của mình, nhưng bạn sẽ chỉ có thể sử dụng nó sau khi yêu cầu sự cho phép từ tác giả. Liên hệ cybernetwork để thêm thông tin, hoặc làm theo hướng dẫn của tác giả bên dưới.

TradingView không đề xuất trả tiền cho một tập lệnh và sử dụng cho đến khi bạn hoàn toàn tin tưởng tác giả và hiểu cách thức hoạt động của tập lệnh. Trong nhiều trường hợp, bạn có thể tìm thấy một giải pháp thay thế nguồn mở miễn phí trong Thư viện Công cộng của chúng tôi.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Cảnh báo: vui lòng đọc trước khi yêu cầu quyền truy cập.