OPEN-SOURCE SCRIPT

Cumulative Volume Delta (MTF)

Cập nhật
Cumulative Volume Delta (CVD) Indicator
The Cumulative Volume Delta (CVD) indicator is a powerful analytical tool used to understand the behavior and dynamics of market participants through volume analysis. It tracks the net difference between buying and selling pressure, providing insights into market trends and potential reversals. Here's a detailed description of this indicator and its components:

The Cumulative Volume Delta (CVD) indicator calculates the cumulative net difference between buying and selling volume over a specified period. By analyzing this net difference, traders can gain insights into the underlying strength or weakness of a price movement, helping to identify trends, reversals, and potential breakout points.

Key Components:

  1. Bull & Bear Power Calculation:
  2. Bull Power: Represents the strength of buyers in the market. It is calculated based on the relationship between the current and previous price bars. A higher Bull Power indicates stronger buying pressure.
    Bear Power: Represents the strength of sellers in the market. It is also calculated based on the relationship between the current and previous price bars. A higher Bear Power indicates stronger selling pressure.
  3. Bull & Bear Volume Calculation:
  4. Bull Volume: The volume attributed to buying pressure. It is calculated by taking the proportion of Bull Power relative to the total of Bull Power and Bear Power, multiplied by the total volume.
    Bear Volume: The volume attributed to selling pressure. It is calculated similarly to Bull Volume but using Bear Power.
  5. Delta Calculation:
  6. Delta: The net difference between Bull Volume and Bear Volume for each bar. A positive Delta indicates more buying pressure, while a negative Delta indicates more selling pressure.
  7. Cumulative Volume Delta (CVD):
  8. CVD: The running total of the Delta values over time. It accumulates the net buying and selling pressure to provide a visual representation of the market's cumulative sentiment.
  9. Moving Average of CVD (CVD MA):
    • CVD MA: A simple moving average of the CVD, used to smooth out fluctuations and help identify the overall trend. It provides a baseline to compare the current CVD value against, highlighting divergences or convergences.


Multi-Timeframe Functionality:
The enhanced version of the CVD indicator includes multi-timeframe (MTF) capabilities, allowing users to select and analyze data from different timeframes. This feature enhances the versatility of the indicator by providing a broader perspective on market dynamics across various time intervals.

Practical Applications:
  1. Trend Identification: By tracking the CVD and its moving average, traders can identify the prevailing trend. An upward-sloping CVD indicates sustained buying pressure, while a downward-sloping CVD indicates sustained selling pressure.
  2. Divergences: Divergences between the CVD and price can signal potential reversals. For example, if the price is making new highs but the CVD is not, it may indicate weakening buying pressure and a potential reversal.
  3. Breakout Confirmation: Significant changes in the CVD can confirm breakouts. A sharp increase in the CVD during a price breakout indicates strong buying support, adding confidence to the breakout.
  4. Support and Resistance Levels: The CVD can help identify significant support and resistance levels based on changes in volume dynamics. For instance, a notable increase in buying volume at a support level can reinforce its strength.
Phát hành các Ghi chú
bearish/bullish coloring
Phát hành các Ghi chú
plot ema and fill based on options
Phát hành các Ghi chú
un used code
Phát hành các Ghi chú
code enhancement
Phát hành các Ghi chú

  • default color/ custom coloring
  • auto detection of divergences
  • auto plot divergence lines using custom coloring
Phát hành các Ghi chú
use current time frame option fixed
multitimeframesentimentTrend Analysis

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

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

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