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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.