OPEN-SOURCE SCRIPT
DeltaPulse

DeltaPulse: Professional Cumulative Volume Delta Indicator
DeltaPulse is a free cumulative volume delta (CVD) indicator engineered for modern traders who demand precision, adaptability, and visual clarity. Unlike traditional CVD tools that often suffer from scaling issues, excessive noise, or poor responsiveness across timeframes, DeltaPulse delivers a streamlined, professional-grade solution that "just works" – providing actionable insights into buying and selling pressure with minimal setup.
This indicator accumulates the net difference between buying and selling volume (inferred from candle direction), normalizes it intelligently for consistent readability, and applies advanced smoothing to filter out market noise while preserving momentum signals. The result is a clean, momentum-colored line in a dedicated pane, enhanced by subtle visual cues that highlight key market dynamics.
Whether you're a day trader scalping intraday moves, a swing trader analyzing weekly trends, or an institutional analyst reviewing futures contracts, DeltaPulse adapts seamlessly to your workflow. It's designed to be your go-to tool for confirming trends, spotting divergences, and identifying order flow imbalances – all without the bloat of overcomplicated features.
Key Features
Intelligent Normalization for Universal Compatibility
Automatically adjusts scaling based on chart timeframe and symbol volume profile.
Intraday (1-5 min): Uses a 100-period volume average for responsive, lively signals.
Intraday (15+ min): 50-period average for balanced sensitivity.
Daily/Weekly+: 20-period average for clean, long-term perspective.
Ensures the indicator remains visually meaningful and non-flat on any asset – from low-volume penny stocks to high-liquidity indices like ES or NQ.
Advanced Smoothing Options
Six moving averages to match your trading style:
EMA - Quick reactions to recent delta shifts
SMA - Simple Moving Average - Stable, noise-resistant baseline
WMA - Weighted Moving Average - Emphasizes recent data with linear weighting
HMA - Hull Moving Average - Ultra-smooth yet lag-free – ideal for momentum trading
RMA - Running Moving Average (Wilder's) - Trend-following with minimal whipsaws
VWMA - Volume-Weighted Moving Average - Highlights high-volume delta moves
Lower values increase reactivity; higher values enhance smoothness.
Flexible Reset Mechanisms
Session Reset: Clears CVD at the first regular trading bar each day – perfect for intraday analysis.
Weekly Reset: Resets at the start of each new week – suited for swing and position trading.
No manual intervention required; the indicator handles resets reliably across all timeframes.
Background Shading:
Light green tint above zero; light red below.
Extreme highlights when smoothed CVD exceeds 90% of its 80-bar high/low – flags potential exhaustion or absorption zones.
How It Works
DeltaPulse calculates a simple yet effective volume delta on each bar:
Bullish Bar (close ≥ open): Adds full volume as positive delta.
Bearish Bar (close < open): Subtracts full volume as negative delta.
This raw delta accumulates into a running total (CVD), resetting based on your chosen mode. The total is then:
Normalized against a timeframe-adaptive volume average to ensure consistent scaling.
Smoothed using your selected MA type for noise reduction and trend clarity.
Plotted with momentum-based coloring and visual enhancements.
The output is a single, intuitive line that reveals the underlying battle between buyers and sellers – far more reliably than raw volume bars or basic oscillators.
Trading Applications
DeltaPulse shines in revealing order flow dynamics that price action alone often conceals. Here are proven ways to integrate it:
Trend Confirmation & Momentum Trading
Bullish Setup: Rising green line above zero confirms buyer control – enter longs on pullbacks to support.
Bearish Setup: Falling red line below zero signals seller dominance – short on rallies to resistance.
Zero Line Crosses as Reversal Signals
A crossover from negative to positive territory often marks a sentiment shift – use for entry triggers.
Combine with volume spikes or key levels for high-probability setups.
Enhancement: VWMA mode amplifies signals on high-volume breakouts.
Absorption & Exhaustion Zones
Watch for extreme background highlights: A spike to highs followed by reversal suggests large players absorbing supply.
Ideal for fade trades near overextended levels (e.g., after news events).
Avoid low-volume or illiquid symbols, as delta inference relies on reliable candle data.
Timeframe-Agnostic: Solves the common CVD pitfall of being "dead" on intraday charts or erratic on daily ones through smart, automatic normalization.
Lag-Free Responsiveness: The default HMA smoothing strikes a rare balance – smoother than EMA, faster than SMA – without the computational overhead of exotic filters.
Zero Clutter: No histograms, no extraneous plots, no overwhelming alerts. Just pure, distilled order flow intelligence.
DeltaPulse is a free cumulative volume delta (CVD) indicator engineered for modern traders who demand precision, adaptability, and visual clarity. Unlike traditional CVD tools that often suffer from scaling issues, excessive noise, or poor responsiveness across timeframes, DeltaPulse delivers a streamlined, professional-grade solution that "just works" – providing actionable insights into buying and selling pressure with minimal setup.
This indicator accumulates the net difference between buying and selling volume (inferred from candle direction), normalizes it intelligently for consistent readability, and applies advanced smoothing to filter out market noise while preserving momentum signals. The result is a clean, momentum-colored line in a dedicated pane, enhanced by subtle visual cues that highlight key market dynamics.
Whether you're a day trader scalping intraday moves, a swing trader analyzing weekly trends, or an institutional analyst reviewing futures contracts, DeltaPulse adapts seamlessly to your workflow. It's designed to be your go-to tool for confirming trends, spotting divergences, and identifying order flow imbalances – all without the bloat of overcomplicated features.
Key Features
Intelligent Normalization for Universal Compatibility
Automatically adjusts scaling based on chart timeframe and symbol volume profile.
Intraday (1-5 min): Uses a 100-period volume average for responsive, lively signals.
Intraday (15+ min): 50-period average for balanced sensitivity.
Daily/Weekly+: 20-period average for clean, long-term perspective.
Ensures the indicator remains visually meaningful and non-flat on any asset – from low-volume penny stocks to high-liquidity indices like ES or NQ.
Advanced Smoothing Options
Six moving averages to match your trading style:
EMA - Quick reactions to recent delta shifts
SMA - Simple Moving Average - Stable, noise-resistant baseline
WMA - Weighted Moving Average - Emphasizes recent data with linear weighting
HMA - Hull Moving Average - Ultra-smooth yet lag-free – ideal for momentum trading
RMA - Running Moving Average (Wilder's) - Trend-following with minimal whipsaws
VWMA - Volume-Weighted Moving Average - Highlights high-volume delta moves
Lower values increase reactivity; higher values enhance smoothness.
Flexible Reset Mechanisms
Session Reset: Clears CVD at the first regular trading bar each day – perfect for intraday analysis.
Weekly Reset: Resets at the start of each new week – suited for swing and position trading.
No manual intervention required; the indicator handles resets reliably across all timeframes.
Background Shading:
Light green tint above zero; light red below.
Extreme highlights when smoothed CVD exceeds 90% of its 80-bar high/low – flags potential exhaustion or absorption zones.
How It Works
DeltaPulse calculates a simple yet effective volume delta on each bar:
Bullish Bar (close ≥ open): Adds full volume as positive delta.
Bearish Bar (close < open): Subtracts full volume as negative delta.
This raw delta accumulates into a running total (CVD), resetting based on your chosen mode. The total is then:
Normalized against a timeframe-adaptive volume average to ensure consistent scaling.
Smoothed using your selected MA type for noise reduction and trend clarity.
Plotted with momentum-based coloring and visual enhancements.
The output is a single, intuitive line that reveals the underlying battle between buyers and sellers – far more reliably than raw volume bars or basic oscillators.
Trading Applications
DeltaPulse shines in revealing order flow dynamics that price action alone often conceals. Here are proven ways to integrate it:
Trend Confirmation & Momentum Trading
Bullish Setup: Rising green line above zero confirms buyer control – enter longs on pullbacks to support.
Bearish Setup: Falling red line below zero signals seller dominance – short on rallies to resistance.
Zero Line Crosses as Reversal Signals
A crossover from negative to positive territory often marks a sentiment shift – use for entry triggers.
Combine with volume spikes or key levels for high-probability setups.
Enhancement: VWMA mode amplifies signals on high-volume breakouts.
Absorption & Exhaustion Zones
Watch for extreme background highlights: A spike to highs followed by reversal suggests large players absorbing supply.
Ideal for fade trades near overextended levels (e.g., after news events).
Avoid low-volume or illiquid symbols, as delta inference relies on reliable candle data.
Timeframe-Agnostic: Solves the common CVD pitfall of being "dead" on intraday charts or erratic on daily ones through smart, automatic normalization.
Lag-Free Responsiveness: The default HMA smoothing strikes a rare balance – smoother than EMA, faster than SMA – without the computational overhead of exotic filters.
Zero Clutter: No histograms, no extraneous plots, no overwhelming alerts. Just pure, distilled order flow intelligence.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.