OPEN-SOURCE SCRIPT
업데이트됨 CVD – Visible Range Candles & Line (Cumulative Delta Volume)

Disclaimer:
This indicator is provided for informational and educational purposes only. It does not constitute investment advice, trading advice, or a recommendation to buy or sell any financial instrument. The author assumes no liability for any losses, damages, or errors arising from use or misuse of this script. Please test thoroughly and use at your own risk.
________________________________________________________________________________
Purpose
This indicator provides a fast and clear visualization of Cumulative Delta Volume (CVD) for the currently visible chart range in TradingView. It helps traders identify buy/sell volume pressure and market sentiment over any custom timeframe, with full control over reset intervals and chart style.
Key Features
Input Parameters
How To Use
Typical Use Cases
Formula
Author
Created by Ronen Cohen
This indicator is provided for informational and educational purposes only. It does not constitute investment advice, trading advice, or a recommendation to buy or sell any financial instrument. The author assumes no liability for any losses, damages, or errors arising from use or misuse of this script. Please test thoroughly and use at your own risk.
________________________________________________________________________________
Purpose
This indicator provides a fast and clear visualization of Cumulative Delta Volume (CVD) for the currently visible chart range in TradingView. It helps traders identify buy/sell volume pressure and market sentiment over any custom timeframe, with full control over reset intervals and chart style.
Key Features
- CVD by Visible Bars: Dynamically calculates CVD only for bars currently visible on the chart, so scrolling and zooming always rescale the line and candles to your view.
- Style Selection: Choose line or candlestick display. Candles include both standard OHLC and optional Heikin Ashi smoothing.
- Automatic Resets: Restart CVD accumulation at the beginning of every day, week, month, or quarter. Choose ‘None’ for ongoing accumulation.
- Fully Custom Colors: Line color, candle body, wick, border – all optimized for clarity and customizable via the indicator’s Style tab.
- Autoscale Support: Always fits your timeframe. No need to adjust scale manually.
- Zero-Level Reference: Includes a horizontal zero line for quick reversal detection.
Input Parameters
- Style: "Line" or "Candles" – controls visual type
- Heikin Ashi candles: Enable smoothing for candle view
- Show Line: Toggle CVD line visibility
- Reset CVD: Options: None, Daily, Weekly, Monthly, Quarterly
How To Use
- Add the indicator to your TradingView chart.
- Select your preferred visual style (Line or Candles).
- Choose reset frequency based on your trading timeframe.
- Customize colors in the Style tab (line, candle up/down, wick, border).
- Scroll or zoom on the chart – the indicator’s range always fits the currently visible bars.
Typical Use Cases
- Intraday traders tracking open/close session volume delta
- Swing traders identifying quarterly or monthly market accumulations
- Visualizing buy/sell pressure divergence at reversal points
- Comparing volume sentiment across flexible chart intervals
Formula
- Delta calculation: Delta=volume×(sign(close−open))
- Accumulation: Resets at user-chosen intervals, CVD plotted for only visible bars
Author
Created by Ronen Cohen
릴리즈 노트
Image Changed오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.