OPEN-SOURCE SCRIPT
CVD Simple vs Oscillator

## CVD Simple vs Oscillator
This indicator displays **two versions** of Cumulative Volume Delta side by side for easy comparison:
- **Simple CVD** (Orange): A basic volume delta calculation using close vs open.
- **Oscillator** (Aqua): An advanced, smoother version calculated using intrabar data via TradingView’s `requestVolumeDelta()` function.
### Key Features
- Dual CVD visualization (Simple + Advanced)
- Daily reset by default (resets at the start of each new day)
- Manual vertical scaling enabled (`scale = scale.none`) — drag the right-side scale to stretch the lines
- Clean zero line for easy reference
- Lightweight and easy to read
### How to Use
**Simple CVD (Orange)**
A quick and basic representation of net buying vs selling pressure. It can appear spiky on high-volume bars.
**Oscillator (Aqua)**
A more accurate and smoother representation of cumulative order flow. This is generally the better line to follow for analysis.
### How to Read the Indicator
- **Above zero** → Net buying pressure is dominant
- **Below zero** → Net selling pressure is dominant
- **Rising line** → Buyers are gaining control
- **Falling line** → Sellers are gaining control
### Recommended Usage
- Use the **Oscillator** (Aqua) line for better signals
- Best used on **15m to Daily** timeframes
- Works well for identifying **divergences** between price and volume pressure
- Combine with price action and key support/resistance levels
### Settings
- **Reset Period**: Choose how often the CVD resets (Default = Daily)
- You can manually stretch the vertical scale by dragging the numbers on the right side of the pane
### Notes
This indicator helps traders visualize the ongoing battle between buyers and sellers through cumulative volume delta. The Oscillator version provides a cleaner view compared to basic delta calculations.
This indicator displays **two versions** of Cumulative Volume Delta side by side for easy comparison:
- **Simple CVD** (Orange): A basic volume delta calculation using close vs open.
- **Oscillator** (Aqua): An advanced, smoother version calculated using intrabar data via TradingView’s `requestVolumeDelta()` function.
### Key Features
- Dual CVD visualization (Simple + Advanced)
- Daily reset by default (resets at the start of each new day)
- Manual vertical scaling enabled (`scale = scale.none`) — drag the right-side scale to stretch the lines
- Clean zero line for easy reference
- Lightweight and easy to read
### How to Use
**Simple CVD (Orange)**
A quick and basic representation of net buying vs selling pressure. It can appear spiky on high-volume bars.
**Oscillator (Aqua)**
A more accurate and smoother representation of cumulative order flow. This is generally the better line to follow for analysis.
### How to Read the Indicator
- **Above zero** → Net buying pressure is dominant
- **Below zero** → Net selling pressure is dominant
- **Rising line** → Buyers are gaining control
- **Falling line** → Sellers are gaining control
### Recommended Usage
- Use the **Oscillator** (Aqua) line for better signals
- Best used on **15m to Daily** timeframes
- Works well for identifying **divergences** between price and volume pressure
- Combine with price action and key support/resistance levels
### Settings
- **Reset Period**: Choose how often the CVD resets (Default = Daily)
- You can manually stretch the vertical scale by dragging the numbers on the right side of the pane
### Notes
This indicator helps traders visualize the ongoing battle between buyers and sellers through cumulative volume delta. The Oscillator version provides a cleaner view compared to basic delta calculations.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.