OPEN-SOURCE SCRIPT
Heikin Ashi CVD (Dashboard Mode)

Title: Heikin Ashi CVD (Cumulative Volume Delta) with Absorption & Dashboard
Description:
Standard Cumulative Volume Delta (CVD) is a powerful tool for reading order flow, but its raw data can be extremely noisy and erratic, making objective analysis difficult.
This indicator addresses this issue by applying Heikin Ashi (HA) smoothing directly to the CVD data. By filtering out micro-fluctuations, it reveals the true underlying flow of aggressive market buying and selling. Furthermore, this script is packed with visual supports, including Absorption (Divergence) Detection, Delta Spike Alerts, and CVD Bollinger Bands, designed to provide a deeper understanding of market micro-structure.
🌟 Key Features
Heikin Ashi Smoothed CVD:
Transforms noisy volume delta into smooth, easily readable Heikin Ashi candles. Green (Teal) candles indicate dominant aggressive buying, while Red candles indicate dominant aggressive selling. This helps traders maintain a clearer perspective on the overall order flow, reducing premature reactions to market noise.
Smart Absorption Detection (White Candles):
A unique analytical feature of this indicator. When the HA-CVD shows a strong trend (a candle with no lower/upper wick), but the actual price candle moves in the opposite direction, the CVD candle will turn White. This signals a divergence: aggressive market orders are being absorbed by passive limit orders. It highlights a significant anomaly worth monitoring for potential shifts in market dynamics.
Delta Spike Alerts:
Automatically detects abnormal surges in volume delta (2.5x higher than the 20-period average). The background will highlight Teal for extreme buying spikes and Red for extreme selling spikes, alerting you to potential order flow climax or breakout phases.
CVD Bollinger Bands:
Unlike price, CVD has no fixed upper or lower boundaries. We applied Bollinger Bands to the CVD to help you identify relative "overbought" or "oversold" order flow conditions. (The script safely handles daily resets so the bands remain stable).
Real-time Status Dashboard:
A clean, unobtrusive panel at the bottom right that instantly displays the current "CVD Trend" (based on EMA crossovers) and the "Market Heat" (based on short vs. long-term volume moving averages).
Hybrid Calculation Modes:
High Precision (Premium Users): Uses request.security_lower_tf to calculate highly accurate delta from the 5-second timeframe.
Normal Mode (Free Users): Uses a 1-minute approximation formula so all TradingView users can utilize the indicator without calculation limits.
💡 How to Interpret HA-CVD
Trend Assessment:
Monitor the consistency of the HA-CVD candle colors to gauge the health of the current trend. A steady color structure suggests sustained aggressive order flow, helping you objectively evaluate the market direction.
Spotting Absorption:
Look for White Candles at key Support/Resistance levels or VWAP. If you see aggressive selling (negative delta) being absorbed (price refuses to drop), it can serve as an early warning sign that the current momentum is stalling due to institutional limit orders.
Identifying Exhaustion:
Watch for the CVD to pierce its upper or lower Bollinger Bands combined with a Delta Spike (Background highlight). This often marks a phase of short-term order flow exhaustion, suggesting a potential consolidation or reversion.
Settings:
You can easily toggle the Daily Reset feature (based on NY Midnight), adjust the lower timeframe for precision mode, and turn the dashboard on or off via the indicator settings.
Description:
Standard Cumulative Volume Delta (CVD) is a powerful tool for reading order flow, but its raw data can be extremely noisy and erratic, making objective analysis difficult.
This indicator addresses this issue by applying Heikin Ashi (HA) smoothing directly to the CVD data. By filtering out micro-fluctuations, it reveals the true underlying flow of aggressive market buying and selling. Furthermore, this script is packed with visual supports, including Absorption (Divergence) Detection, Delta Spike Alerts, and CVD Bollinger Bands, designed to provide a deeper understanding of market micro-structure.
🌟 Key Features
Heikin Ashi Smoothed CVD:
Transforms noisy volume delta into smooth, easily readable Heikin Ashi candles. Green (Teal) candles indicate dominant aggressive buying, while Red candles indicate dominant aggressive selling. This helps traders maintain a clearer perspective on the overall order flow, reducing premature reactions to market noise.
Smart Absorption Detection (White Candles):
A unique analytical feature of this indicator. When the HA-CVD shows a strong trend (a candle with no lower/upper wick), but the actual price candle moves in the opposite direction, the CVD candle will turn White. This signals a divergence: aggressive market orders are being absorbed by passive limit orders. It highlights a significant anomaly worth monitoring for potential shifts in market dynamics.
Delta Spike Alerts:
Automatically detects abnormal surges in volume delta (2.5x higher than the 20-period average). The background will highlight Teal for extreme buying spikes and Red for extreme selling spikes, alerting you to potential order flow climax or breakout phases.
CVD Bollinger Bands:
Unlike price, CVD has no fixed upper or lower boundaries. We applied Bollinger Bands to the CVD to help you identify relative "overbought" or "oversold" order flow conditions. (The script safely handles daily resets so the bands remain stable).
Real-time Status Dashboard:
A clean, unobtrusive panel at the bottom right that instantly displays the current "CVD Trend" (based on EMA crossovers) and the "Market Heat" (based on short vs. long-term volume moving averages).
Hybrid Calculation Modes:
High Precision (Premium Users): Uses request.security_lower_tf to calculate highly accurate delta from the 5-second timeframe.
Normal Mode (Free Users): Uses a 1-minute approximation formula so all TradingView users can utilize the indicator without calculation limits.
💡 How to Interpret HA-CVD
Trend Assessment:
Monitor the consistency of the HA-CVD candle colors to gauge the health of the current trend. A steady color structure suggests sustained aggressive order flow, helping you objectively evaluate the market direction.
Spotting Absorption:
Look for White Candles at key Support/Resistance levels or VWAP. If you see aggressive selling (negative delta) being absorbed (price refuses to drop), it can serve as an early warning sign that the current momentum is stalling due to institutional limit orders.
Identifying Exhaustion:
Watch for the CVD to pierce its upper or lower Bollinger Bands combined with a Delta Spike (Background highlight). This often marks a phase of short-term order flow exhaustion, suggesting a potential consolidation or reversion.
Settings:
You can easily toggle the Daily Reset feature (based on NY Midnight), adjust the lower timeframe for precision mode, and turn the dashboard on or off via the indicator settings.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน