OPEN-SOURCE SCRIPT
已更新

Enhanced Cumulative Volume Delta + MA

The Enhanced Cumulative Volume Delta (CVD) indicator is designed to help traders analyze the cumulative buying and selling pressure in the market by examining the delta between the up and down volume. By tracking this metric, traders can gain insights into the strength of a trend and potential reversals. This indicator uses advanced volume analysis combined with customizable moving averages to provide a more detailed view of market dynamics.

How to Use This Indicator:

Volume Delta Visualization:

The indicator plots the cumulative volume delta (CVD) using color-coded candles, where teal represents positive delta (buying pressure) and soft red represents negative delta (selling pressure).

Moving Averages:
Use the moving averages to smooth the CVD data and identify long-term trends. You can choose between SMA and EMA for each of the three available moving averages. The first and third moving averages are typically used for short-term and long-term trend analysis, respectively, while the second moving average can serve as a medium-term filter.

Arrow Markers:
The indicator will display arrows (green triangle up for crossing above, red triangle down for crossing below) when the CVD volume crosses the 3rd moving average. You can control the visibility of these arrows through the input parameters.

Volume Data:
The indicator provides error handling in case no volume data is available for the selected symbol, ensuring that you're not misled by incomplete data.

Practical Applications:

Trend Confirmation: Use the CVD and moving averages to confirm the overall trend direction and strength. Positive delta and a rising CVD can confirm an uptrend, while negative delta and a falling CVD indicate a downtrend.

Volume Breakouts: The arrows marking when the CVD crosses the 3rd moving average can help you spot potential volume breakouts or reversals, making them useful for entry or exit signals.

Volume Divergence: Pay attention to divergences between price and CVD, as these can often signal potential trend reversals or weakening momentum.

發行說明
Enhanced Cumulative Volume Delta with Supertrend
Multi-Timeframe Volume Analysis Combined with Trend Confirmation

Overview:
This advanced indicator combines Cumulative Volume Delta (CVD) analysis, multiple moving averages, and Supertrend signals to create a comprehensive trading tool. Designed for both day traders and swing traders, it helps identify volume-driven market momentum while confirming trends through price action.

Key Features:

✅ Smart Volume Delta Calculation

  • Anchored CVD analysis with customizable timeframe (default 3M)


  • Automatic lower timeframe detection (1S-60min) for precision


  • Visualized as candlesticks with teal/red coloring for bullish/bearish bias


✅ Triple Moving Average System

  • Configurable EMA/SMA combinations (default 12/50/144 periods)


  • Soothing color-coded plots for easy visual tracking


  • Optional display toggle for clean chart viewing


✅ Supertrend Integration

  • Customizable ATR length (10) and multiplier factor (3.0)


  • Trend direction confirmation through price relationship


✅ Actionable Visual Signals

4-Color Square System:
  • 🟩 Green - Strong volume + Bullish trend
  • 🟨 Lime - Weak volume + Bullish trend
  • 🟧 Orange - Weak volume + Bearish trend
  • 🟥 Red - Strong volume + Bearish trend


Crossover Arrows:
  • ▲ Green Triangle - Bullish MA crossover confirmation
  • ▼ Red Triangle - Bearish MA crossover confirmation


Input Parameters:


  • Anchor Period (3M)
  • MA Types/Lengths (12/50/144)
  • ATR Settings (10/3.0)
  • Custom Timeframe Override
  • Toggle Switches for:
  • Zero Line
  • MA Visibility
  • Trend Signals


Usage Tips:

  1. Combine square signals with arrow confirmations for high-probability entries
  2. Use longer anchor periods for swing trading, shorter for day trading
  3. Watch for MA crossovers coinciding with Supertrend flips
  4. Compare CVD color changes with price action divergence


Customization:

  • Adjust MA periods/types to match your trading style
  • Modify ATR settings for different volatility regimes
  • Fine-tune timeframe relationships for various instruments
  • Enable/disable visual elements to reduce clutter


Compatibility:
Works across all markets (stocks, forex, crypto) and timeframes. Includes error handling for symbols without volume data.

免責聲明