CVD Oscillator ToolkitGENERAL OVERVIEW:
The CVD Oscillator Toolkit is a volume-driven market analysis indicator designed to highlight buying and selling pressure that is not directly visible through price alone. Price shows where the market traded, but volume imbalance helps explain who was in control. This indicator is built around Cumulative Volume Delta (CVD) and its related measurements to separate aggressive buying from aggressive selling, highlight volume behavior that develops independently of price movement, and expose divergence between price action and underlying volume imbalance behavior. Signals are derived from normalized and smoothed volume data rather than simple price-based conditions.
Unlike raw CVD plots, which often drift endlessly and become difficult to interpret across different symbols or sessions, the CVD Oscillator Toolkit normalizes and structures volume data into a stable oscillator format. This allows volume behavior to remain readable and comparable across different market conditions and instruments, without being distorted by session length or cumulative drift.
This indicator was developed by Flux Charts in collaboration with Chris Drysdale (Trader Drysdale), author of the best-selling book VWAP Wave System.
WHAT IS THE THEORY BEHIND THIS INDICATOR?:
The indicator is built on the idea price movement is driven by imbalance, not by candles alone. Every candle represents an interaction between buyers and sellers. While the direction of the candle shows which side gained ground, volume reveals the intensity of that effort.
The CVD Oscillator Toolkit reconstructs this interaction by estimating buying and selling pressure on each bar, accumulating that imbalance over time, and then normalizing the result so volume behavior can be compared meaningfully across different symbols, sessions, and timeframes. This volume behavior is further structured into directional, momentum, and divergence components, allowing buying and selling pressure to be analyzed from multiple perspectives.
Rather than treating volume as a secondary confirmation, the toolkit treats volume delta as the primary source of information, with price acting as a contextual reference. This approach is particularly useful in market conditions where price alone can be misleading. For example, during consolidations where volume pressure may be building beneath the surface, during extensions where price continues to make new highs or lows while buying or selling pressure weakens, or during breakouts that lack sustained volume support.
In many cases, shifts in buying and selling pressure can become visible through volume behavior before the price structure visibly updates. The indicator is designed to surface those changes without attempting to predict outcomes, allowing traders to interpret volume dynamics alongside their own price-based analysis.
CVD OSCILLATOR TOOLKIT FEATURES:
The CVD Oscillator Toolkit indicator includes 10 main features:
Delta Volume & CVD Core Engine
Normalized CVD Oscillator with Adaptive Coloring
CVD Cloud, Edges, Highlight Candles & Bands
Signals
CVD Divergence
Flow Behavior
Rate of Change (ROC) Momentum Meter
Advanced Visualization & Theme System
Input Settings
Alerts
DELTA VOLUME & CVD CORE ENGINE:
This feature forms the foundation of the entire indicator.
🔹Cumulative Volume Delta (CVD):
CVD is a measure of net buying and selling volume over time. It is built by estimating whether each candle’s traded volume was driven primarily by buyers or sellers, and then accumulating that imbalance across consecutive bars. When buy-dominant volume exceeds sell-dominant volume, CVD rises. When sell-dominant volume exceeds buy-dominant volume, CVD falls. Because TradingView does not provide true bid/ask volume data, the indicator infers participation (buyer vs seller activity) using price behavior within each bar. Each candle is evaluated to determine directional intent. Bars that close higher than they open, or otherwise show upward intent, are treated as buy-dominant, while bars that close lower, or show downward intent, are treated as sell-dominant. The candle's volume is then assigned a positive value when buy pressure dominates and a negative value when sell pressure dominates. By accumulating this signed volume, the engine produces a continuous measure of who is applying pressure, independent of candle size or price range. This allows delta volume strength to be analyzed separately from price movement itself. Throughout this indicator, “volume pressure” refers to the net effect of delta volume over time.
🔹How to interpret CVD
When CVD is rising, buying pressure is more aggressive than selling pressure. When CVD is falling, sellers are exerting greater control. Flat or sideways CVD behavior indicates balanced or uncertain buyer vs seller activity, where neither side is clearly dominant. One of the most important insights provided by CVD is its relationship to price. Price can continue rising even while CVD declines, suggesting weakening buying pressure and potential distribution. Conversely, price can fall while CVD rises, indicating absorption (where selling pressure is being met by opposing buy orders, limiting downside progress despite continued activity). These situations often reveal information that price alone does not clearly communicate. For this reason, CVD is especially useful during consolidations, false breakouts, liquidity sweeps, and late-stage trend conditions, where price action may appear convincing while delta volume tells a different story.
🔹Long-term vs short-term Volume calculation modes
The indicator supports two volume perspectives. In long-term accumulation mode, delta volume is accumulated continuously, providing a broader view of sustained buyer and seller control across sessions or trends. In short-term rolling window mode, delta volume is summed over a fixed rolling window to emphasize local momentum and short-term shifts in buying and selling pressure. Together, these modes allow the same core engine to be used for higher-timeframe bias analysis as well as intraday momentum and reversal observation, without changing the underlying logic.
🔹How is it calculated?
Each candle's volume is first evaluated based on price behavior to determine whether it is buy-weighted or sell-weighted. That signed volume is then processed in one of two ways, depending on the selected volume calculation mode. In long-term mode, delta volume is accumulated continuously to reflect a broader market pressure over time. In short-term mode, delta volume is summed over a rolling window to emphasize local momentum and shorter-horizon shifts. The resulting series forms the raw CVD, which is then used for normalization, smoothing, and signal generation. All calculations rely only on confirmed historical bars, ensuring consistency and non-repainting behavior.
🔹Delta Volume Histogram
In addition to the cumulative CVD calculation, the indicator includes an optional Delta Volume Histogram that displays raw buy/sell imbalance on a per-bar basis. This view highlights short-term volume bursts that may not be immediately reflected in cumulative behavior, such as sudden spikes in buying or selling pressure, absorption events, or volume surges that fail to produce meaningful price movement. Because raw delta volume can be noisy and highly sensitive to short-term fluctuations, the histogram is visually muted by default.
NORMALIZED CVD OSCILLATOR:
🔹What is normalization?
Normalization is the process of rescaling data so it can be interpreted consistently over time. In this indicator, normalization transforms accumulated volume delta into a stable oscillator that remains readable across different sessions, symbols, and market conditions.
🔹CVD normalization modes (Adaptive vs Relative)
The accumulated delta is normalized to create a stable, interpretable oscillator. This process reshapes volume pressure so it can be compared consistently over time, without changing how delta volume itself is calculated. In Adaptive mode, normalization responds to recent behavior, allowing the oscillator to self-scale as volatility and market conditions change. This keeps the reading responsive and readable across shifting environments. In Relative mode, normalization compares current CVD against a fixed historical reference, preserving proportional relationships in volume behavior and making extremes easier to compare over longer structural moves.
Normalization affects how CVD is interpreted and visualized, not how delta volume is calculated. In both modes, the same underlying volume logic is used; only the framing and scaling of that data changes.
The CVD Oscillator Toolkit presents normalized volume behavior as a bounded oscillator that preserves directional intent while preventing cumulative drift. Rather than emphasizing the absolute size of volume imbalance, the oscillator focuses on where current buying and selling pressure stands relative to recent behavior. This structure keeps volume pressure interpretable across different market conditions, allowing the oscillator to remain comparable across assets and timeframes.
🔹How to interpret the normalized CVD Oscillator
The oscillator revolves around a central equilibrium level, represented by the zero line. When the oscillator is above zero, net buying pressure dominates. When it is below zero, net selling pressure dominates. Transitions across the zero line indicate a shift in volume control rather than a price-based event. The depth of the oscillator's movement provides additional context. Shallow oscillations reflect weak or hesitant order-flow pressure, while deeper extensions suggest stronger conviction from one side of the market. Periods where the oscillator compresses near the zero line often indicate balance, absorption, or indecision between buyers and sellers. Because the oscillator is smoothed, it emphasizes sustained volume behavior rather than reacting to single-bar fluctuations or short-lived volume spikes.
🔹How is it calculated?
Raw Cumulative Volume Delta is first evaluated over a configurable lookback window to establish recent volume pressure behavior. A momentum-based normalization process is then applied to compress extreme values, preventing the oscillator from drifting or becoming distorted during high-volume periods. To further refine the signal, multiple smoothing passes are used to reduce noise while still preserving meaningful directional turns. The result is a stable oscillator centered around zero, designed to behave consistently across different symbols, sessions, and timeframes. This structure avoids infinite drift, minimizes session bias, and allows volume pressure dynamics to remain comparable across instruments without relying on fixed thresholds.
🔹Adaptive Coloring & Directional Gradients
The oscillator is not plotted as a static line or a simple histogram. Instead, it uses adaptive coloring to communicate both direction and intensity of volume pressure through visual cues. Rather than relying on binary green/red coloring, the indicator applies smooth gradient transitions, strength-weighted opacity, and direction-aware color logic to reflect how volume pressure evolves. This visual design allows changes in volume behavior, such as acceleration, deceleration, or momentum fatigue, to be identified quickly without requiring precise numerical interpretation. Color intensity increases as pressure strengthens and fades as pressure weakens, helping maintain situational awareness even during fast-moving conditions.
🔹How to interpret the coloring
The oscillator uses momentum-based coloring to reflect changes in volume pressure strength and direction. Colors respond to acceleration and deceleration in volume pressure rather than simple position alone. Brighter, more saturated colors indicate stronger momentum and expanding buying or selling pressure, while muted or fading colors reflect slowing momentum and weakening pressure. The coloring does not generate signals and should be read as visual context that complements the oscillator’s structure, helping identify momentum shifts, continuation, and exhaustion at a glance.
CVD EDGES, CLOUDS & HIGHLIGHT CANDLES:
🔹CVD Edges
This feature adds a thin directional outline around the oscillator body, designed to emphasize the current directional volume bias without overpowering the main visual structure. The edge acts as a subtle visual guide, reinforcing directional dominance while keeping the focus on the oscillator itself. By separating the outline from the oscillator's fill or columns, CVD Edges make directional bias easier to identify at a glance, particularly in situations where histogram columns overlap or visual density increases. This feature is intended to enhance readability and orientation, not to introduce additional signals or conditions.
🔹CVD Clouds
CVD Clouds add a soft envelope above and below the oscillator to provide visual context around volume behavior. These clouds represent upper and lower volume pressure zones derived from the oscillator, helping frame how volume pressure expands or contracts around the core signal. When the cloud expands, it reflects increasing volume commitment and stronger involvement from one side of the market. When the cloud compresses, it indicates diminishing conviction and reduced pressure intensity. A flip in the cloud structure reflects a change in volume control rather than a price-based event. CVD Clouds are designed to provide context, not signals. They help answer a simple but important question: Is the current move supported by volume effort, or is pressure fading beneath the surface?
🔹Highlight Candles
Instead of rendering the oscillator as a simple line or histogram, this feature displays it using candle-style bodies. Each oscillator candle visually represents the underlying volume behavior, conveying direction, strength, and momentum continuity in a format that closely resembles price action. Larger candle bodies indicate stronger and more sustained volume pressure, while smaller bodies reflect indecision, balance, or transitional phases. Sequences of candles with consistent coloring help visualize directional continuity in pressure flow, making it easier to distinguish persistent pressure from short-lived fluctuations.
🔹Upper / Lower Bands
The Upper and Lower Bands are simple visual background guides drawn above and below the oscillator. They do not generate signals, thresholds, or analytical conditions. Their only purpose is to make the current CVD state easier to read at a glance. When the oscillator is above zero, the upper band is highlighted to reflect bullish volume pressure. When it is below zero, the lower band is highlighted to reflect bearish volume pressure. The inactive side remains muted. These bands do not represent overbought or oversold conditions and should not be used for entries or exits. They exist purely to improve orientation and reduce visual effort when reading the oscillator.
SIGNALS:
The indicator includes an optional signal system designed to respond to changes in volume pressure, rather than relying solely on price-based conditions such as moving-average crossovers. Signals are generated based on defined CVD behavior and volume flow logic, allowing volume dynamics to be evaluated directly instead of inferred from price alone. Signals can be displayed directly within the oscillator pane, overlaid on the main price chart, or shown in both locations simultaneously. In this indicator, directional momentum refers to the direction and slope of the normalized CVD oscillator itself, not price momentum. A change in directional momentum occurs when the CVD oscillator shifts from rising to falling, or from falling to rising.
🔹Signal modes
The indicator supports two independent signal philosophies, selectable by the user. Each mode interprets volume pressure changes differently and is suited to different market conditions.
◇ Zero-Line State Shifts
In this mode, signals are generated when the normalized CVD oscillator crosses its central equilibrium level. A cross above the zero line represents a transition from net selling pressure to net buying pressure, while a cross below zero represents a transition from net buying pressure to net selling pressure. From an interpretive standpoint, a bullish signal indicates that buying volume pressure has become dominant, while a bearish signal indicates that selling volume pressure has taken control. These signals are most useful during transitions in market behavior, such as when markets move from consolidation into expansion or when price structure begins to compress ahead of a directional move. Rather than reacting to price structure alone, this mode highlights shifts in buying and selling pressure derived directly from volume behavior
◇ Directional Momentum & Thresholds
Instead of waiting for the CVD oscillator to cross the zero line, this mode generates signals when there is a switch in directional momentum. A directional switch occurs when the CVD oscillator’s momentum has been moving in one direction and then turns to move in the opposite direction. Every signal in this mode begins with a confirmed change in direction. Because directional momentum can flip frequently, especially during ranging or low-conviction conditions, this mode incorporates user-defined thresholds to control which direction changes are allowed to generate signals. The thresholds act as a filter, ensuring that only momentum reversals occurring from a sufficient depth are considered, while shallow or minor flips are ignored.
🔹How it works:
For a bullish signal to be generated, two conditions must be met. First, the CVD oscillator must be below the user-defined bullish threshold. Second, directional momentum must switch from downward to upward. Only when both conditions occur together is a bullish signal produced. If momentum turns upward while the oscillator is above the bullish threshold, no signal is generated. The same logic applies on the bearish side. A bearish signal requires the oscillator to be above the bearish threshold and directional momentum to switch from upward to downward. Momentum reversals that occur closer to equilibrium are filtered out.
🔹How to interpret signals
A bullish signal below zero indicates that directional momentum has switched from bearish to bullish and that the reversal occurred below the bullish threshold. A bearish signal above zero indicates that directional momentum has switched from bullish to bearish and that the reversal occurred above the bearish threshold. In both cases, the signal simply means that direction changed and the threshold filter was satisfied. The mode does not attempt to predict outcomes or replace price-based confirmation, but instead highlights filtered momentum shifts in volume behavior.
CVD DIVERGENCE:
The divergence detection feature identifies situations where price continues to push toward new extremes while volume pressure weakens or moves in the opposite direction. This behavior often reflects absorption, distribution, or exhaustion that is not immediately obvious from price action alone.
🔹Types of divergences
Bearish divergence occurs when the price pushes higher, but CVD fails to confirm the move or forms a lower high, indicating weakening buying pressure behind the advance. Bullish divergence occurs when price pushes lower while CVD fails to confirm or forms a higher low, suggesting that selling pressure is losing strength. Divergences are evaluated only near meaningful swing points and after confirmation. This filtering helps reduce noise and avoids highlighting minor or premature divergence conditions.
🔹How to interpret divergences
Divergences can indicate that momentum may be weakening, control between buyers and sellers may be shifting, or that the risk–reward profile of the current move is changing. Divergences provide insight into underlying volume behavior but do not replace confirmation from price.
🔹Swing reference source
The indicator allows divergence detection to be anchored to either volume structure (CVD swings) or price structure (price swings). This distinction matters because CVD and price often pivot at different times. Anchoring divergences to the wrong structure can produce misleading results. By allowing the user to choose the reference source, the divergence system adapts more effectively to trending conditions, mean-reverting environments, and periods of elevated volatility.
🔹How divergences are calculated
The indicator identifies significant swing points and compares the relationship between price behavior and CVD behavior at those locations. Divergence conditions are validated before being displayed, and only confirmed divergences are plotted. To prevent clutter, only the most recent divergences are shown on the chart. Older divergence markings are automatically removed as new ones form.
🔹Main chart synchronization
The indicator allows divergences and signals to be displayed either within the oscillator pane or directly on the main price chart. Using the oscillator-only view is well-suited for volume behavior analysis and directional bias, while displaying signals and divergences on the main chart provides a clearer execution context alongside price structure. This ensures that volume insights can be adapted to different workflows without changing the underlying logic.
FLOW BEHAVIOR:
This feature group highlights situations where price behavior and CVD behavior begin to separate, without relying on traditional swing-point divergence logic.
🔹Absorption
Absorption highlights candles where price continues to advance or decline while CVD pressure moves against that direction. In simple terms, absorption reflects situations where aggressive buying or selling is being met and absorbed by opposing volume, preventing volume pressure from confirming the price move.
This behavior often appears:
During late-stage trends
Near range boundaries
Around liquidity-driven extensions
Absorption highlights do not predict reversals. They provide context when volume pressure is no longer aligned with price movement. Absorption is identified through disagreement between price progression and CVD behavior, not by raw volume spikes alone.
🔹Directional Divergence
Directional Divergence identifies moments where price continues to extend in one direction while CVD momentum shifts or weakens in the opposite direction. Unlike classic divergence tools, this behavior does not require confirmed swing highs or lows. It focuses purely on directional disagreement between price and volume pressure, allowing early detection of weakening moves or hidden opposition beneath continued price expansion. Directional Divergence focuses on ongoing disagreement without swing confirmation, while CVD Divergence evaluates confirmed swing-based divergence.
🔹Directional Anchor Price
An optional directional anchor line can be plotted to mark the price level at the bar where CVD last changed direction. This level serves as a visual reference, allowing traders to observe how the price behaves after a shift in the underlying CVD direction, without introducing new signals or conditions. These tools are designed to complement the core oscillator by visually exposing price–volume disagreement.
RATE OF CHANGE (ROC) MOMENTUM METER:
The Rate of Change (ROC) Momentum Meter measures how quickly the CVD oscillator itself is accelerating or decelerating. While the oscillator describes directional volume pressure, the ROC Meter focuses on a different dimension: whether volume pressure is gaining speed or losing momentum. This distinction is important because directional pressure and momentum strength do not always change at the same time. Trends can lose momentum without immediately reversing direction, and volume shifts often begin with changes in acceleration rather than visible price structure breaks. The ROC Meter is designed to surface those changes in volume momentum without replacing the oscillator's directional context.
🔹How to interpret the ROC Meter
The ROC Meter is displayed as a vertical gradient bar positioned alongside the oscillator pane. It is intentionally placed in the periphery to provide continuous momentum awareness without interfering with price action or the oscillator itself. A dynamic label marks the current ROC position, allowing quick reference without drawing focus away from the main analysis. When the ROC reading is positioned higher on the meter, volume acceleration is stronger. When it is positioned lower, acceleration is weaker. Readings near the center indicate balanced conditions. Sustained high ROC readings often accompany strong trends, reflecting continued acceleration in volume pressure. As momentum fades, ROC readings contract, indicating slowing acceleration even if directional pressure has not yet reversed.
🔹How ROC is calculated
The oscillator's rate of change is measured over a short lookback period and then normalized to prevent extreme spikes. The resulting values are mapped to a bounded vertical scale, ensuring the meter remains stable, comparable across assets, and resistant to distortion during periods of elevated volatility.
COLOR THEMES & VISUAL ADAPTABILITY:
The indicator includes multiple built-in color themes. Themes can be adjusted to suit dark or light chart backgrounds, varying screen brightness levels, and long trading sessions where visual comfort becomes important. Each theme affects key visual elements such as bullish and bearish colors, gradient intensity, cloud opacity, and overall contrast.
Users can choose between the following color themes:
Default
Bright
Sunset
Aqua
🔹MODULAR VISUAL CONTROLS
Every major visual component of the indicator can be enabled or disabled independently, allowing users to tailor the display to their preferred workflow and level of detail. This includes elements such as the delta histogram, oscillator columns, highlight candles, edges, clouds, upper / lower bands, the ROC Momentum Meter, and threshold reference lines.
INPUTS:
🔹CVD Normalization Mode
Selects how CVD is normalized into the oscillator: Adaptive adjusts dynamically to recent behavior, while Relative emphasizes volume pressure relative to recent extremes.
🔹Volume Calculation
Long-term mode accumulates volume pressure continuously for broader bias and structure.
Short-term mode uses a rolling window to emphasize local momentum and intraday shifts.
🔹 Delta Volume Display
The Delta Volume Histogram toggles the display of per-bar buy and sell imbalance to provide more granular insight into short-term volume behavior. Bullish and bearish delta colors can be customized to improve visibility and contrast based on personal preference or chart theme.
🔹 CVD Oscillator Display
These settings control how the normalized CVD oscillator is displayed. CVD Columns enable or disable the main oscillator body, while Adaptive Coloring automatically adjusts colors based on direction and volume strength. Color Themes provide preset visual styles designed for different lighting conditions and extended viewing sessions.
🔹 Visual Enhancements
◇ CVD Highlight Candles
Displays oscillator movement using candle-style bodies for intuitive reading.
◇ CVD Edges
Thin outlines that emphasize directional volume bias.
◇ CVD Cloud
Shows volume envelopes and expansion or contraction in volume pressure.
◇ Upper / Lower Bands
Provides directional background context relative to equilibrium.
🔹 Rate of Change (ROC) Meter
The ROC Meter toggle enables the vertical ROC Momentum Meter, and the ROC Color option allows users to select the meter’s color to suit visibility and chart contrast.
🔹 Flow Behavior
Controls visual cues that highlight price and CVD behavior when direction and volume pressure begin to diverge.
◇ Highlight Absorption Candles
Marks candles where price continues to move while CVD pressure shifts in the opposite direction, indicating potential absorption of aggressive buying or selling.
◇ Main Chart
Displays absorption highlights directly on the main price chart for execution-focused workflows.
◇ Directional Divergence
Highlights directional disagreement between price movement and CVD momentum without requiring traditional swing-point divergence.
🔹 Divergences
Controls divergence detection and display.
◇ Enable Divergences
Master toggle for all divergence logic.
◇ Display Location
Divergences can be shown in the oscillator pane, on the main chart, or both.
◇ Swing Reference Source
Anchor divergence detection to either CVD structure or price structure.
◇ Swing Length
Adjusts divergence sensitivity. Shorter lengths increase frequency and noise, while longer lengths produce fewer, more selective divergences.
◇ Plot Directional Anchor Price
Plots the price level where CVD last changed direction, providing a visual reference to observe how price behaves after a CVD directional shift.
🔹 Signals
Controls signal generation and display.
◇ Enable Signals
Turns signal logic on or off.
◇ Signal Display Location
Signals can be shown in the oscillator pane, on the main price chart, or both.
◇ Signal Logic Mode
Choose between zero-line state shifts or directional momentum thresholds.
◇ Threshold Visibility
Optional dashed reference levels for transparency when using threshold-based signals.
ALERTS:
The CVD Oscillator Toolkit includes full alert functionality using AnyAlert(), allowing users to receive notifications in real time for all major model components and signal events.
Users can enable or disable each alert type in the “Alerts” section of the settings. After selecting which alerts they want active, they can create a single TradingView alert using the AnyAlert() condition. All alerts are triggered only after confirmation, not on provisional or forming conditions.
Available Alerts:
Bullish Crossover
Bearish Crossover
Bullish Divergence
Bearish Divergence
How to Receive Alerts:
Open the TradingView alert creation window.
Select the CVD Oscillator Toolkit indicator as the alert condition.
Choose AnyAlert() from the condition dropdown.
Create the alert.
UNIQUENESS:
The CVD Oscillator Toolkit focuses on identifying volume-driven behavior rather than simply plotting cumulative volume. In addition to normalized CVD, it highlights absorption candles, directional divergences, directional anchor price levels, and a Rate of Change (ROC) momentum meter that tracks acceleration and deceleration in volume pressure. Together, these components expose situations where price continues in one direction while volume pressure weakens, stalls, or reverses beneath the surface. The toolkit emphasizes interpretation over signal quantity, structuring volume behavior into momentum, divergence, and flow-based components that complement price analysis without attempting to replace it.
CVD
Futures Ultra CVD (Pure )Futures Ultra CVD (Pure)
Futures Ultra CVD (Pure) is a volume-driven Cumulative Volume Delta (CVD) indicator designed to expose real buying and selling pressure behind price movement. Unlike price-only indicators, this script analyzes how volume is distributed within each bar to determine whether aggressive buyers or sellers are in control, then tracks how that pressure evolves over time.
This version is intentionally pure and ungated: it does not rely on external symbols, market filters, session bias, or macro confirmation. All signals are derived strictly from price, volume, and delta behavior of the active chart, making it suitable for futures, equities, crypto, and FX.
Core Concept: How CVD Is Calculated
For each bar, volume is split into buying pressure and selling pressure using the bar’s price position:
Buying volume increases as price closes closer to the high
Selling volume increases as price closes closer to the low
The difference between buying and selling volume forms Delta:
Positive delta = net aggressive buying
Negative delta = net aggressive selling
This delta is then accumulated into Cumulative Volume Delta (CVD) using one of three user-selectable modes:
Total – running cumulative sum of all delta values
Periodic – rolling sum over a fixed lookback period
EMA – smoothed cumulative delta using an exponential average
This flexibility allows traders to choose between raw order-flow tracking or smoother, trend-like behavior depending on timeframe and instrument.
Visual Structure & Histogram Logic
The CVD is displayed as a column histogram, not a line, to emphasize momentum and pressure shifts.
Enhanced coloring provides additional context:
Brighter green/red bars indicate increasing momentum
Muted colors indicate stalling or weakening pressure
Optional footprint-style highlights appear when buy or sell volume overwhelms the opposite side by a user-defined imbalance factor
This allows traders to visually distinguish:
Strength vs weakness
Continuation vs exhaustion
Absorption and aggressive participation
Built-In Order Flow Signals
The script automatically detects and labels key order-flow events:
Strong Delta
Triggered when delta exceeds a user-defined threshold, highlighting unusually aggressive buying or selling.
Delta Surge
Detects sudden expansion in delta compared to the prior bar, often associated with breakout attempts or liquidation events.
Zero-Line Crosses
Marks transitions between net bullish and bearish participation as CVD crosses above or below zero.
CVD Continuation Logic (Trend Confirmation)
Beyond raw delta, the script evaluates CVD structure to identify continuation conditions:
A bullish continuation requires:
Positive and rising CVD
Strong buy delta
Confirmation from at least one of the following:
CVD above its EMA and SMA
Bullish price expansion
Sustained positive delta pressure
Bearish continuation follows the inverse logic.
These continuation signals are designed to confirm participation strength, not predict reversals.
Conflict Detection (Divergence Warning)
The indicator also flags conflict conditions, where:
Strong buying occurs while CVD remains negative
Strong selling occurs while CVD remains positive
These scenarios often precede failed breakouts, absorption zones, or short-term reversals and can be used as cautionary signals.
Alerts & Practical Use
All major events include built-in alerts:
Strong delta
Delta surge
CVD continuations
Zero-line crosses
Buy/sell imbalances
Conflict signals
Alerts can be set to trigger on bar close or intrabar in real time, depending on trader preference.
How Traders Typically Use This Indicator
Confirm breakouts with delta participation
Validate trends using CVD continuation instead of price alone
Identify absorption or exhaustion via conflicts and imbalances
Combine with price structure, VWAP, or market profile tools
This script is not a trading system by itself. It is a decision-support tool designed to reveal what price alone cannot: who is actually in control of the market.
On-Chart Symbols & What They Mean
This script uses a small number of visual symbols to communicate order-flow events clearly and consistently. All symbols are derived directly from the Cumulative Volume Delta calculations described above.
Δ+ (Green Up Arrow)
Strong Buy Delta
Indicates that buying pressure on the current bar exceeded the Strong Delta Threshold
Represents aggressive market buying dominating selling volume
Often appears during breakouts, trend acceleration, or initiative buying
This symbol does not imply direction by itself; it only confirms strong buyer participation.
Δ− (Red Down Arrow)
Strong Sell Delta
Indicates that selling pressure on the current bar exceeded the Strong Delta Threshold
Represents aggressive market selling dominating buying volume
Often appears during breakdowns, liquidation events, or initiative selling
Like Δ+, this symbol measures participation strength, not trade direction.
↑ (Green Label Up)
CVD Bullish Continuation
Appears when all of the following are present:
CVD is positive and increasing
Strong buy delta is detected
At least one confirmation condition is met:
CVD is above its EMA and SMA
Price shows bullish expansion
Consecutive positive delta bars (sustained buying pressure)
This symbol highlights trend continuation supported by volume, not a reversal signal.
↓ (Red Label Down)
CVD Bearish Continuation
Appears when:
CVD is negative and decreasing
Strong sell delta is detected
At least one confirmation condition is met:
CVD is below its EMA and SMA
Price shows bearish expansion
Consecutive negative delta bars (sustained selling pressure)
This indicates bearish continuation with participation confirmation.
Cyan / Orange Histogram Bars
Footprint-Style Volume Imbalance
Cyan bars indicate buy volume exceeds sell volume by the imbalance factor
Orange bars indicate sell volume exceeds buy volume by the imbalance factor
These bars highlight areas where one side is overwhelming the other, often associated with absorption, initiative moves, or failed auctions.
Bright vs Muted Histogram Colors
CVD Momentum State
Bright colors = CVD increasing in the direction of its current bias
Muted colors = CVD losing momentum or stalling
This allows quick visual identification of strengthening vs weakening participation.
Conflict Alerts (No Symbol by Default)
Delta vs CVD Disagreement
These conditions trigger alerts (but no fixed chart icon):
Strong buying while CVD remains negative
Strong selling while CVD remains positive
Conflicts often signal absorption, trap conditions, or short-term exhaustion.
Important Usage Notes
All symbols are informational, not trade entries.
Signals are calculated from price-based volume distribution, not true bid/ask data.
Results depend on the quality of volume data provided by the exchange and TradingView.
Order Flow Pro - CVD - Alphaomega18═══════════════════════════════════════════════════════════════════════════════
ORDER FLOW CVD SIMPLE - TRADINGVIEW PUBLICATION
Created by Alphaomega18
═══════════════════════════════════════════════════════════════════════════════
📝 COMPLETE DESCRIPTION
═══════════════════════════════════════════════════════════════════════════════
🎯 FOLLOW INSTITUTIONAL TREND AT A GLANCE
Order Flow CVD is an ultra-simple and ultra-effective indicator that displays CVD (Cumulative Volume Delta) with a colored fill zone to instantly identify order flow trend.
No complexity, no clutter: just 2 lines and 1 colored zone to know if you should HOLD or EXIT your trade.
🔥 THE GOLDEN RULE OF TRADING
The secret of professional traders:
→ "Let your winners run, cut your losses"
But how do you know WHEN to hold and WHEN to exit?
**The answer: CVD (Cumulative Volume Delta)**
As long as institutional flow goes your way, HOLD the trade.
As soon as flow changes, EXIT.
This is exactly what this indicator does: it shows you the flow in real-time with ultra-clear visualization.
📊 HOW IT WORKS
🔷 **2 SIMPLE LINES**
**WHITE Line** = CVD (Cumulative Volume Delta)
→ Cumulative sum of volume delta
→ Rises when buying > selling
→ Falls when selling > buying
**YELLOW Line** = CVD Moving Average (20 periods default)
→ Smooths CVD to see trend
→ Filters noise
→ Reference for trend
🔷 **COLORED FILL ZONE**
🟢 **GREEN ZONE** = White CVD ABOVE yellow CVD
→ BULLISH trend
→ Institutions are BUYING
→ HOLD your LONG trades
→ Avoid SHORT
🔴 **RED ZONE** = White CVD BELOW yellow CVD
→ BEARISH trend
→ Institutions are SELLING
→ HOLD your SHORT trades
→ Avoid LONG
⚡ **CROSSOVER** = Zone changes color
→ Trend change
→ Exit or reverse position
→ Clear and sharp signal
🎯 USAGE RULES
📌 **RULE #1: HOLD A LONG TRADE**
You're in a LONG:
→ ✅ As long as ZONE IS GREEN → HOLD
→ ❌ As soon as ZONE TURNS RED → EXIT
Real example:
```
LONG entry: 16,500
Zone stays green for 2 hours
Price climbs to 16,650 (+150 points)
Zone turns red → EXIT
You pocket +150 points instead of giving back 50 points!
```
📌 **RULE #2: HOLD A SHORT TRADE**
You're in a SHORT:
→ ✅ As long as ZONE IS RED → HOLD
→ ❌ As soon as ZONE TURNS GREEN → EXIT
Real example:
```
SHORT entry: 16,500
Zone stays red for 1 hour
Price drops to 16,350 (-150 points)
Zone turns green → EXIT
You pocket +150 points!
```
📌 **RULE #3: DON'T ENTER COUNTER-TREND**
Green zone visible:
→ ❌ Do NOT enter SHORT
→ ✅ Look for LONG setups only
Red zone visible:
→ ❌ Do NOT enter LONG
→ ✅ Look for SHORT setups only
📌 **RULE #4: CROSSOVERS = CHANGE**
White CVD crosses yellow CVD:
→ Zone changes color
→ Institutional flow reverses
→ Exit or reverse position
💡 REAL USE CASES
📊 **CASE 1: MNQ Scalping 5min**
Setup:
→ Price breaks resistance
→ CVD zone is GREEN
→ You enter LONG
Management:
→ Price rises, pulls back, rises again
→ Zone STAYS GREEN → You hold
→ +30 points, +40 points, +50 points...
→ Zone turns RED → You exit at +52 points
Without CVD:
→ You would have exited at +15 points out of fear
→ You lose 37 points of gain!
📊 **CASE 2: ES Day Trading 15min**
Setup:
→ Price in range
→ CVD zone RED for 1 hour
→ Price touches top of range
→ You enter SHORT
Management:
→ Zone STAYS RED during decline
→ Price makes -20 points, -30 points, -40 points
→ Zone turns GREEN → You exit at +42 points
Without CVD:
→ You would have exited at +20 points (fear)
→ Or held too long and gave back gains
📊 **CASE 3: Avoid Losing Trade**
Perfect technical setup:
→ Triangle breakout
→ Supportive VWAP
→ FVG below
BUT... CVD zone is RED!
Decision:
→ You DON'T ENTER LONG
→ Price rises 10 points then collapses -30 points
→ Losing trade avoided thanks to CVD!
⚙️ CUSTOMIZABLE PARAMETERS
🔧 **CVD Moving Average Length** (default: 20)
→ Yellow moving average length
→ Shorter (10-15) = More reactive, more signals
→ Longer (30-50) = Smoother, fewer false signals
Recommendations by style:
• Scalping (1-5min): 10-15
• Day Trading (15min-1H): 20 (default)
• Swing Trading (4H-Daily): 30-50
🎨 **Show Fill Between CVD and MA** (On/Off)
→ Show/hide colored zone
→ OFF = Just 2 lines
→ ON = Lines + green/red zone
🎨 **Bullish Fill Color** (Customizable)
→ Bullish zone color
→ Default: Transparent green (80%)
→ Change to blue, cyan, or other
🎨 **Bearish Fill Color** (Customizable)
→ Bearish zone color
→ Default: Transparent red (80%)
→ Change to orange, pink, or other
💡 **Transparency Tip:**
→ 90% transparent = Very subtle
→ 80% transparent = Balanced (recommended)
→ 60% transparent = Well visible
→ 40% transparent = Very visible
📊 RECOMMENDED CONFIGURATIONS
**Scalping (1-5min) - Reactive**
```
CVD MA Length: 10
Show Fill: ✅ ON
Bullish Color: Green 70% transparent
Bearish Color: Red 70% transparent
```
**Day Trading (15min-1H) - Balanced** ⭐
```
CVD MA Length: 20
Show Fill: ✅ ON
Bullish Color: Green 80% transparent
Bearish Color: Red 80% transparent
```
**Swing Trading (4H-Daily) - Smooth**
```
CVD MA Length: 30
Show Fill: ✅ ON
Bullish Color: Green 85% transparent
Bearish Color: Red 85% transparent
```
**Minimalist - Lines only**
```
CVD MA Length: 20
Show Fill: ❌ OFF
(Just white and yellow, no zone)
```
💡 MARKETS AND TIMEFRAMES
✅ **ALL markets compatible:**
• Futures (ES, NQ, YM, RTY, MNQ, MES, etc.)
• Forex (EUR/USD, GBP/USD, USD/JPY, etc.)
• Crypto (BTC, ETH, altcoins)
• Stocks (Tesla, Apple, Nvidia, etc.)
• Indices (S&P 500, Nasdaq, Dow Jones)
✅ **All timeframes:**
• Scalping: 1min, 5min
• Day Trading: 15min, 30min, 1H ⭐ (optimal!)
• Swing Trading: 4H, Daily
Note: More reliable with real volume data
→ TradingView Premium recommended
🏆 UNIQUE ADVANTAGES
✅ **Ultimate simplicity**: 2 lines, 1 zone, 1 rule
✅ **Instant vision**: Green = hold LONG, Red = hold SHORT
✅ **Hold trades longer**: Maximize your gains
✅ **Avoid counter-trend**: Don't trade against flow
✅ **Customizable**: Colors and transparency of choice
✅ **Ultra-light**: Optimized code, no lag
✅ **No repaint**: Reliable signals
✅ **Works everywhere**: All markets, all TF
🎓 QUICK INTERPRETATION
**When zone is GREEN:**
→ Institutions buying
→ Bullish momentum
→ Hold LONG, avoid SHORT
→ Look for buy setups
**When zone is RED:**
→ Institutions selling
→ Bearish momentum
→ Hold SHORT, avoid LONG
→ Look for sell setups
**When zone CHANGES color:**
→ Institutional flow reverses
→ Trend changes
→ EXIT position
→ Or reverse if new setup
**White line volatile:**
→ White CVD zigzags a lot
→ Market indecisive or range
→ Wait for clear zone before trade
💪 TRADER PSYCHOLOGY
What THIS indicator solves:
❌ "I'm afraid, I exit too early" → Green/red zone says WHEN to exit
❌ "I hold my losses too long" → Zone changes = EXIT
❌ "I trade counter-trend" → Zone tells which direction to trade
❌ "I don't know if trend continues" → Green/red zone = answer
Result:
✅ You hold your gains longer
✅ You exit at right time
✅ You avoid counter-trend trades
✅ You trade with institutions
🔗 PERFECT COMPLEMENT
Use with:
• **Order Flow Signals** → Precise signals (💎▲🚀)
• **VWAP** → Institutional price levels
• **Fair Value Gaps** → Inefficiency zones
• **Market Profile** → POC/VPOC
**CVD Simple** tells you WHEN to hold/exit
**Technical analysis** tells you WHERE to enter
⚠️ DISCLAIMER
Technical indicators are decision support tools. No indicator guarantees profits. Always use:
• Appropriate risk management
• Stop loss on every trade
• Proper position sizing
• Demo account testing first
Order Flow CVD improves your trade management but doesn't replace a complete strategy.
🚀 INSTALLATION
1. Copy the Pine Script code
2. Open Pine Editor in TradingView
3. Paste the code
4. Click "Add to Chart"
5. Indicator displays in separate pane (below)
6. Configure colors to your preferences
7. Apply golden rule: Green = LONG, Red = SHORT!
💡 PRO TIP
**CVD Discipline:**
Create this mental rule:
→ "I NEVER exit a position until zone changes color"
This simple discipline will:
✅ Multiply your gains (you hold longer)
✅ Reduce your losses (you exit when flow changes)
✅ Eliminate emotional exits
✅ Align you with institutions
📞 CONTACT AND SUPPORT
Created by Alphaomega18
For questions, bugs or suggestions:
Find my other indicators:
• Order Flow Signals (precise signals on chart)
• Order Flow Dashboard (CVD oscillator + pressures)
• VWAP Multi-Timeframe Pro
• Fair Value Gap Detector
CVD Oscillator - Alphaomega18ORDER FLOW DASHBOARD OSCILLATOR - TRADINGVIEW PUBLICATION (ENGLISH)
Created by Alphaomega18
═══════════════════════════════════════════════════════════════════════════════
📌 PUBLICATION TITLE
═══════════════════════════════════════════════════════════════════════════════
Order Flow Dashboard - CVD Oscillator & Pressures - Alphaomega18
📝 COMPLETE DESCRIPTION
═══════════════════════════════════════════════════════════════════════════════
🎯 TRACK INSTITUTIONAL FLOW IN REAL-TIME
Order Flow Dashboard Oscillator is an advanced indicator that displays CVD (Cumulative Volume Delta) as a percentage oscillator, combined with real-time buy/sell pressures.
Unlike traditional CVD indicators where raw CVD reaches millions and crushes other data, this oscillator displays CVD deviation from its average in %, allowing clear reading on the SAME scale as pressures.
🔥 THE PROBLEM SOLVED
Classic CVD indicator problem:
✗ Raw CVD climbs to 1,000,000+ → Unreadable
✗ Pressures stay small (0-500) → Invisible
✗ Impossible to see both simultaneously
✗ Cluttered and confusing chart
Solution with CVD Oscillator:
✅ CVD displayed as % deviation (oscillates around 0)
✅ Pressures normalized on same scale
✅ EVERYTHING visible simultaneously
✅ Clear and intuitive reading
📊 INDICATOR COMPONENTS
🔷 CVD OSCILLATOR (Thick white line)
Traditional CVD accumulates infinitely:
→ Raw CVD = 50,000 ... 100,000 ... 500,000 ... 1,000,000+
→ Hard to interpret
CVD Oscillator shows DEVIATION:
→ CVD Oscillator = +5% ... +12% ... -3% ... -8%
→ Easy to interpret!
**How it works:**
• Calculates distance between CVD and its moving average (20 periods default)
• Converts to percentage
• Oscillates around 0 (gray center line)
**Interpretation:**
• **Above 0** → CVD > Average = BULLISH trend
• **Below 0** → CVD < Average = BEARISH trend
• **+10% zone** (green dotted line) → Buyer strength
• **-10% zone** (red dotted line) → Seller strength
🔷 BUY/SELL PRESSURES (Green/Red zones)
**Buy Pressure (Green zone)**
→ Calculated on bullish candles
→ Proportional to candle size
→ Normalized for optimal visibility
**Sell Pressure (Red zone)**
→ Calculated on bearish candles
→ Proportional to candle size
→ Normalized for optimal visibility
**Extreme Pressures** (Background)
→ 🟢 Light green background = EXTREME buy pressure (delta > 2x average)
→ 🔴 Light red background = EXTREME sell pressure (delta < -2x average)
🔷 REAL-TIME DASHBOARD (Top right corner)
Displays 6 key metrics:
1. **CVD Osc**: Oscillator value in %
2. **CVD Raw**: Raw CVD value (reference)
3. **Trend**: 🟢 Bullish or 🔴 Bearish
4. **Delta**: Current candle delta
5. **Volume**: HIGH (spike) or Normal
6. **Pressure**: 🚀 BUY / 💥 SELL / Neutral
🎯 HOW TO USE IT
📌 CASE 1: HOLD TRADES LONGER
**Classic problem:**
→ You're in a LONG
→ Price pulls back slightly, you panic
→ You exit... then price resumes up
→ Frustration: "I was right but exited too early!"
**Solution with CVD Oscillator:**
Example LONG trade:
1. You enter LONG on breakout
2. You watch CVD Oscillator
3. **As long as it stays ABOVE 0** → Keep the trade
4. Institutions continue accumulating
5. Trend remains intact
Exit:
→ CVD Oscillator **crosses below 0**
→ Signal: Institutions now selling
→ You exit or take profits
**Result:**
✅ You maximize your gains
✅ You exit at right time (when flow changes)
✅ You don't panic on small corrections
📌 CASE 2: CONFIRM TREND STRENGTH
**Setup:**
→ Price in uptrend
→ But is it real trend or just noise?
**Check CVD Oscillator:**
STRONG trend:
→ CVD Oscillator **stays positive** (+5%, +8%, +12%)
→ Dominant buy pressures (green zones)
→ Few or no red backgrounds
WEAK trend:
→ CVD Oscillator **oscillates around 0** (+2%, -1%, +3%)
→ Mixed pressures (green and red alternate)
→ Lack of conviction
**Action:**
✅ Strong trend → Trade with confidence
⚠️ Weak trend → Be cautious or avoid
📌 CASE 3: DETECT TREND CHANGE
**CVD Oscillator Divergence:**
Price makes higher highs BUT:
→ CVD Oscillator makes lower highs
→ +15% ... +12% ... +8% (progressive decline)
→ Sell pressures increasing
Signal: Distribution in progress
→ Institutions selling into rally
→ Reversal likely
→ Prepare SHORT or exit LONG
📌 CASE 4: OPTIMAL ENTRY TIMING
**Situation:**
→ Price consolidating
→ You wait for signal to enter
**LONG entry signal:**
→ CVD Oscillator **crosses above 0**
→ Green background (extreme buy pressure) appears
→ Dashboard: 🚀 BUY
Action: Enter LONG immediately
**SHORT entry signal:**
→ CVD Oscillator **crosses below 0**
→ Red background (extreme sell pressure) appears
→ Dashboard: 💥 SELL
Action: Enter SHORT immediately
⚙️ CUSTOMIZABLE PARAMETERS
🔧 **CVD Moving Average Length** (default: 20)
→ Moving average period for oscillator
→ Shorter (10-15) = More reactive, more signals
→ Longer (30-50) = Smoother, fewer false signals
👁️ **Show CVD Oscillator** (On/Off)
→ Show/hide CVD Oscillator line
👁️ **Show Buy/Sell Pressure** (On/Off)
→ Show/hide pressure zones
👁️ **Show Info Dashboard** (On/Off)
→ Show/hide information table
📊 RECOMMENDED CONFIGURATIONS
**For Day Trading (15min-1H):**
```
CVD MA Length: 20
Show CVD Oscillator: ✅ ON
Show Buy/Sell Pressure: ✅ ON
Show Info Dashboard: ✅ ON
```
**For Scalping (1-5min):**
```
CVD MA Length: 10 (more reactive)
Show CVD Oscillator: ✅ ON
Show Buy/Sell Pressure: ✅ ON
Show Info Dashboard: ✅ ON
```
**For Swing Trading (4H-Daily):**
```
CVD MA Length: 30 (smoother)
Show CVD Oscillator: ✅ ON
Show Buy/Sell Pressure: ✅ ON
Show Info Dashboard: ✅ ON
```
💡 MARKETS AND TIMEFRAMES
✅ **ALL markets compatible:**
• Futures (ES, NQ, YM, RTY, MNQ, MES, etc.)
• Forex (EUR/USD, GBP/USD, USD/JPY, etc.)
• Crypto (BTC, ETH, altcoins)
• Stocks (Tesla, Apple, Nvidia, etc.)
• Indices (S&P 500, Nasdaq, Dow Jones)
✅ **All timeframes:**
• Scalping: 1min, 5min
• Day Trading: 15min, 30min, 1H ⭐ (optimal!)
• Swing Trading: 4H, Daily
Note: More reliable with real volume data
→ TradingView Premium recommended
🏆 UNIQUE ADVANTAGES
✅ **CVD Oscillator**: % deviation instead of raw value
✅ **Same scale**: CVD and pressures visible together
✅ **Intuitive reading**: Above/below 0
✅ **Normalized pressures**: Always visible
✅ **Real-time dashboard**: 6 key metrics
✅ **Strength zones**: +10% and -10% marked
✅ **Background alerts**: Visual extreme pressures
✅ **Optimized code**: Light and fast
✅ **No repaint**: Reliable signals
🔗 PERFECT COMPLEMENT
Use with **Order Flow Signals** for complete system:
• **Order Flow Signals** (overlay=true) → Signals on chart
→ 💎 Absorptions, ▲ Divergences, 🚀 Pressures
• **Order Flow Dashboard** (overlay=false) → CVD and metrics
→ CVD Oscillator, Pressures, Live dashboard
**Complete system = 360° order flow vision!**
🎓 QUICK INTERPRETATION
**CVD Oscillator:**
• +5% to +10% = Moderate bullish
• +10% and above = STRONG bullish
• -5% to -10% = Moderate bearish
• -10% and below = STRONG bearish
• Near 0 = Neutral / Consolidation
**Pressures:**
• Large green zones = Dominant buying
• Large red zones = Dominant selling
• Balanced = Indecision
**Dashboard:**
• 🟢 Bullish + 🚀 BUY = Strong LONG signal
• 🔴 Bearish + 💥 SELL = Strong SHORT signal
• Massive positive delta = Bullish momentum
• Massive negative delta = Bearish momentum
⚠️ DISCLAIMER
Technical indicators are decision support tools. No indicator guarantees profits. Always use:
• Appropriate risk management
• Stop loss on every trade
• Proper position sizing
• Demo account testing first
Order Flow Dashboard improves your analysis but doesn't replace a complete strategy.
🚀 INSTALLATION
1. Copy the Pine Script code
2. Open Pine Editor in TradingView
3. Paste the code
4. Click "Add to Chart"
5. Indicator displays in separate pane (below)
6. Configure parameters to your preferences
7. Combine with Order Flow Signals for complete system!
💡 USAGE TIPS
**Golden Rule for Holding Trades:**
→ LONG: Keep as long as CVD Osc > 0
→ SHORT: Keep as long as CVD Osc < 0
**Strength Signals:**
→ CVD Osc > +10% = Very bullish
→ CVD Osc < -10% = Very bearish
**Trend Change:**
→ CVD Osc crosses 0 = Potential change
→ + Extreme background = Strong confirmation
📞 CONTACT AND SUPPORT
Created by Alphaomega18
For questions, bugs or suggestions:
Find my other indicators:
• Order Flow Signals (signals on chart)
• VWAP Multi-Timeframe Pro
• Fair Value Gap Detector
• Volume & Volatility Crisis Detector
DCT - Liquidity Heatmap - ProDCT - Liquidity Heatmap - Pro
Overview
This indicator maps liquidity concentration zones by analyzing volume distribution across price levels. It identifies areas where significant trading activity has accumulated, potentially indicating zones of interest for future price interaction.
Methodology
Volume Intensity Calculation
Each price level accumulates a normalized volume score calculated as:
- Volume Intensity = Current Bar Volume / SMA(Volume, lookback period)
- This normalization allows comparison across different volatility regimes and trading sessions
Level Construction
- Price levels are distributed symmetrically above and below current price using percentage-based spacing
- Each level maintains cumulative volume data, tracking both raw volume and normalized intensity
- Levels are visualized as zones with height proportional to the spacing parameter
Sweep Detection Logic
A level is marked as "swept" when price action crosses through it:
- Condition: Low ≤ Level Price AND High ≥ Level Price
- Swept levels stop accumulating new volume and can be styled differently (fade, hide, or preserve)
Color Intensity Grading
Zones are color-coded based on their normalized volume relative to the maximum observed:
- Purple: < 25% of max intensity
- Yellow: 25-50% of max intensity
- Orange: 50-75% of max intensity
- Red: > 75% of max intensity
Optional CVD (Cumulative Volume Delta) Mode
When enabled, directional volume is estimated using candle structure:
- Bullish candles: Buy pressure weighted by (Close - Open) / (High - Low)
- Bearish candles: Sell pressure weighted by (Open - Close) / (High - Low)
- Levels display green/red bias based on accumulated directional volume ratio
Adaptive System
The indicator includes a three-layer adaptive system:
1. Timeframe adaptation: Spacing, level count, and retention automatically adjust for M5 through Daily charts
2. Volatility adaptation: ATR-based adjustments widen spacing during high volatility and tighten during consolidation
3. Market type adaptation: Different imbalance thresholds for BTC/ETH, large altcoins, and small caps
Imbalance Detection
Buy/sell imbalance markers appear when the ratio of accumulated buy volume to sell volume exceeds a configurable threshold (default 1.5x for BTC/ETH, 2.0x for small caps).
What Makes This Implementation Unique
- Dollar-denominated liquidity display: Labels show estimated liquidity in USD (K/M/B format) rather than abstract values
- Three-layer adaptive logic: Combines timeframe, volatility (ATR), and asset-class adjustments simultaneously
- Memory-optimized architecture: Automatic cleanup of old swept levels prevents performance degradation on extended charts
- Forward projection: Active levels extend into future bars for cleaner visualization
- Granular visibility controls: Each intensity tier can be toggled independently
Settings Guide
- Dynamic: Enable adaptive adjustments (recommended)
- Spacing: Distance between levels as % of price
- Levels: Number of levels above/below price
- CVD: Enable directional volume analysis
- Forward: Project levels ahead by specified bars
Usage Notes
- Works on both Perpetual and Spot crypto markets
- Optimized for crypto assets; results may vary on other instruments
- Higher timeframes show broader liquidity structure; lower timeframes show granular detail
- Combine with your own analysis framework
Disclaimer
This indicator visualizes historical volume distribution and does not predict future price movement. Not financial advice. Use appropriate risk management.
CVD Candle Divergence IndicatorThis indicator identifies potential reversal points by comparing the direction of price candles with the direction of cumulative volume delta (CVD) candles, while applying additional filters based on RSI behavior, volume strength, and candlestick wick structure.
It aims to highlight situations where price movement and volume delta disagree, which can signal fading momentum or absorption.
Core Concept
The script combines several independent conditions that must occur simultaneously before a signal is displayed on the chart. A signal appears only when all filters agree, reducing the number of low-quality or noise-based setups.
1. CVD Candle Direction
The indicator uses TradingView’s built-in function for volume delta candles. These candles summarize buying and selling aggression derived from lower-timeframe volume.
A CVD green candle indicates more buyer-initiated volume.
A CVD red candle indicates more seller-initiated volume.
The script looks for instances where price and CVD candles disagree:
Bullish signal: price candle is green while CVD candle is red
Bearish signal: price candle is red while CVD candle is green
This creates a form of divergence using volume delta instead of price highs and lows.
2. RSI Context Filter
Momentum is evaluated through RSI. Instead of relying only on standard overbought/oversold levels, the script also includes a recency filter based on the RSI midline (50 level).
RSI Threshold
Users can specify the RSI value required for bullish and bearish conditions.
Recency Filter
The indicator only allows signals if RSI has crossed the 50 level within a user-defined number of bars. This prevents signals during extended one-directional trends where divergence is less meaningful.
3. Volume Strength Filter
Signals are filtered through a volume-based requirement:
Current volume must exceed a moving average of volume multiplied by a user-defined factor.
This ensures that signals appear only during periods with sufficient participation and reduces noise during low-volume consolidation.
4. Wick-to-Body Ratio Filter
To incorporate price-action characteristics, the script evaluates the wick structure of each candle:
Bullish signals require a sufficiently large lower wick relative to the total candle range.
Bearish signals require a sufficiently large upper wick relative to the total candle range.
The wick percentage is fully configurable.
This adds a rejection or absorption component to the logic and prevents signals on weak or indecisive candles.
Signal Conditions
A bullish signal appears when all of the following are true:
Price candle is green
RSI is below the bullish threshold
CVD candle is red
Volume is above its threshold (if enabled)
RSI has interacted with the 50 level recently
Lower wick meets the wick-percentage requirement
A bearish signal requires the opposite conditions:
Price candle is red
RSI is above the bearish threshold
CVD candle is green
Volume is above its threshold (if enabled)
RSI recently interacted with the 50 level
Upper wick meets the wick-percentage requirement
Signals appear as arrows directly on the chart.
Use Cases
This indicator is intended for traders who work with:
Momentum shifts
Volume delta analysis
Candle structure-based confirmation
Reversal or exhaustion setups
Divergence concepts beyond price highs/lows
It does not predict market direction. Instead, it highlights areas where multiple conditions suggest a potential imbalance between price movement and volume delta.
I would strongly suggest to use this indicator only on timeframes 2-15m.
Here are a few examples:
Volume Analysis🙏🏻 (signed) Volume Analysis is 2 of 2 structural layer / ordeflow analysis scripts, while the first one is Liquidity Analysis. Both are independent so can’t be released together as a single script, but should be used together.
The same math used in this script can be applied to other types of aggressive volume data: non-aggregated flow of market orders, volume traded of put vs call options.
There’s no universal agreement about terminology, but this script works with volumes signed by the aggressor who initiated a transaction. Then these volumes get aggregated by time and a cumulative sum is calculated. Mostly this is widely known as Cumulative Volume Delta.
However this script works with 'inferred' volumes vs the provided ones. It’s the better choice for equities, bonds; neutral choice for currencies; and suboptimal choice for natural and artificial commodities.
Contents:
Output description;
How to analyze & use the outputs;
How to use it together with Liquidity Analysis script;
How did I use both scripts to finish The Leap profitably and skipped many losses.
1. Output description
Color of the CVD line reflects (signed) volume imbalance state: red is negative, purple is neutral, blue is positive.
3 purple lines are lower deviation (lower band), basis (middle band), upper deviation (upper band): used to generate signals by a ruleset that would be explained in a minute
Gray number in the script’s status line is the advised input you may put into Inferred volume multiplier in script’s setting, I will explain it
Vertical dash line marks the moving window end, this way you can be certain over what exact data you see the profile was built.
2. How to analyze & use the outputs
Setup up the script:
Moving window length: set it to ~ ¼ of your data analysis window. E.g if you see on your charts and use ~ 256 bars, set the length to 64.
Inferred volume multiplier: you can easily leave it 256, this is not a critical factor for the math, it’s mostly there if you want to ~ equate inferred volumes with real ones in scale. For this, use the gray number in the script status line, it’s calculated as ratio of long term real volumes weighted avg to long term inferred volumes weighted avg.
Again, changing the inferred volume multiplier won’t affect the math.
Use 2 timeframes: main one and a far lower one 3 steps down, just like on the screenshot.
Find out current volume imbalance state:
As mentioned before, based on CVD line color, it can be negative, neutral or positive. This is the state variable that changes slowly and denies/confirms the signals generated by crossovers of CVD line and 3 purple thresholds.
For this I use my own very fast and lightweight metric that is totally statistically grounded, utilizes temporal information, and calculates volume imbalance without using heavy math like regressions as it’s usually done. It also provides a natural neutral zone, when volume imbalance is not strong enough to be confirmed.
...
CVD-based signals:
First you need to understand what precisely a touch of a threshold is:
Touch: an event when either of these 2 happens:
One CVD datapoint is above the threshold, and the next CVD datapoint is below the threshold
One CVD datapoint is below the threshold, and the next CVD datapoint is above the threshold
These are usually called crossovers/crossunders.
Now with the 3 purple thresholds we follow this logic:
Monitor the last touched threshold;
Once another threshold is touched, here we may generate a signal but only once !, after the first generated signal at that threshold we can’t generate more signals on this threshold, we need to wait when CVD comes to another threshold.
If CVD touches one threshold, and then goes down and touches another threshold downwards, we wait when CVD makes a datapoint above this threshold. When it happens, we register a long signal
If CVD touches one threshold, and then goes up and touches another threshold upwards, we wait when CVD makes a datapoint below this threshold. When it happens, we register a short signal
However, don’t open new trades against the current volume imbalance state. So don’t open shorts when the CDV line is blue, and don’t open longs when CVD line is red.
Btw, this technique I call it “reclaim” of a level/threshold. It can be applied to horizontal levels, and it’s very powerful especially when you fade levels on very volatility assets like BTC. This technique allows you to Not fade a level straight away, but wait when price goes past the level a bit, and then comes back and reclaims it, only there you enter, and moreover you now have a very well defined risk point.
The last part is multi-timeframe logic. Prefer to act when a lower timeframe is Not against the main timeframe. That’s all, no multiple higher timeframes are needed.
3. How to use it together with Liquidity Analysis script.
That script also has a mean to generate its own signals, and another state variable called Liquidity Imbalance.
So now you’re not only looking at volume imbalance but also at liquidity imbalance that would deny/confirm the CVD based signal. You need at least one of these two to favor your long or short.
This is the same logic widely used in HFT, where MM bots cancel/shift/resize orders when book is too onesided And ordeflow is one sided as well.
4. How did I use both scripts to finish The Leap profitably and skipped many losses.
Even tho you can use structural information as your main strategic layer, as many so-called orderflow traders do, I traded in objective style: my fade signals were volatility based in essence, and I used ordeflow for better entries and stops, but most importantly to skip losses.
When ‘both‘ liquidity imbalance and volume imbalance (in their main timeframes) were against my trades, I skipped them all, saving many ~$500 stop losses (that was my basis risk unit for the Leap). Unless I had a very strong objective signal, i.e. confluence of several signals, or just one higher timeframe signal, I did all these skips.
I traded ~ intraweek timeframe, so I was analyzing either the last 230 30min bars or 1380 5min bars. Both Liquidity Analysis and (signed) Volume Analysis scripts were set to moving window length 46 or 276 for either granularity.
I finished the leap with 9% profit and max DD ~ 5%, a bit short of my goal of 12.5%. If not these 2 scripts I would’ve finished a bit above breakeven I think.
,,,
Another thing, I made these 2 scripts invite-only because they are made particularly for trading, particularly for certain types of market data. These are tools adapted for particular use case, not like my other posts with general math entities like Kernel Density Estimation or Kalman filter, that you can take and apply properly on any data you need yourself.
However these are made from general math entities like everything else. ‘All’ the components are available in my other scripts, ideas, and other sources related to me. If you want to reverse-engineer these, you can find all the components you need in my already posted open source work.
∞
Volume Pressure OscillatorThe Volume Pressure Oscillator (VPO) is a momentum-based indicator that measures the directional pressure of cumulative volume delta (CVD) combined with price efficiency. It oscillates between 0 and 100, with readings above 50 indicating net buying pressure and readings below 50 indicating net selling pressure.
The indicator is designed to identify the strength and sustainability of volume-driven trends while remaining responsive during consolidation periods.
How the Indicator Works
The VPO analyzes volume flow by examining price action at lower timeframes to build a Cumulative Volume Delta (CVD). For each chart bar, the indicator looks at intrabar price movements to classify volume as either buying volume or selling volume. These classifications are accumulated into a running total that tracks net directional volume.
The indicator then measures the momentum of this CVD over both short-term and longer-term periods, providing responsiveness to recent changes while maintaining awareness of the broader trend. These momentum readings are normalized using percentile ranking, which creates a stable 0-100 scale that works consistently across different instruments and market conditions.
A key feature is the extreme zone persistence mechanism. When the indicator enters extreme zones (above 80 or below 20), it maintains elevated readings as long as volume pressure continues in the same direction. This allows the VPO to stay in extreme zones during strong trends rather than quickly reverting to neutral, making it useful for identifying sustained volume pressure rather than just temporary spikes.
What Makes This Indicator Different
While many indicators measure volume or volume delta, the VPO specifically measures how aggressively CVD is currently changing and whether that pressure is being sustained. It's the difference between knowing "more volume has accumulated on the buy side" versus "buying pressure is intensifying right now and shows signs of continuation."
1. Focus on CVD Momentum, Not CVD Levels
Most CVD indicators display the cumulative volume delta as a line that trends up or down indefinitely. The VPO is fundamentally different - it measures the slope of CVD rather than the absolute level. This transforms CVD from an unbounded cumulative metric into a bounded 0-100 oscillator that shows the intensity and direction of current volume pressure, not just the historical accumulation.
2. Designed to Stay in Extremes During Trends
Unlike traditional oscillators that treat extreme readings (above 80 or below 20) as overbought/oversold reversal signals, the VPO is engineered to oscillate within extreme zones during strong trends. When sustained buying or selling pressure exists, the indicator remains elevated (e.g., 80-95 or 5-20) rather than quickly reverting to neutral. This makes it useful for trend continuation identification rather than exclusively for reversal trading.
3. Percentile-Based Normalization
The VPO uses percentile ranking over a lookback window, which provides consistent behavior across different instruments, timeframes, and volatility regimes without constant recalibration.
4. Dual-Timeframe Momentum Synthesis
The indicator simultaneously considers short-term CVD momentum (responsive to recent changes) and longer-term CVD momentum (tracking trend direction), weighted and combined with a slow-moving trend bias. This multi-timeframe approach helps it stay responsive in ranging markets while maintaining context during trends.
How to Use the Indicator
Understanding the Zones:
80-100 (Strong Buying Pressure): CVD momentum is strongly positive. In trending markets, the indicator oscillates within this zone rather than immediately reverting to neutral. This suggests sustained accumulation and trend continuation probability.
60-80 (Moderate Buying): Positive volume pressure but not extreme. Suitable for identifying pullback entry opportunities within uptrends.
40-60 (Neutral Zone): Volume pressure is balanced or unclear. No strong directional edge from volume. Often seen during consolidation or trend transitions.
20-40 (Moderate Selling): Negative volume pressure developing. May indicate distribution or downtrend continuation setups.
0-20 (Strong Selling Pressure): CVD momentum is strongly negative. During downtrends, sustained readings in this zone suggest continued distribution and downside follow-through probability.
Practical Applications:
Trend Confirmation: When price makes new highs/lows, check if VPO confirms with similarly elevated readings. Divergences (price making new highs while VPO fails to reach prior highs) may indicate weakening momentum.
Range Trading: During consolidation, the VPO typically oscillates between 30-70. Readings toward the low end of the range (30-40) may present accumulation opportunities, while readings at the high end (60-70) may indicate distribution zones.
Extreme Persistence: If VPO reaches 90+ or drops below 10, this indicates exceptional volume pressure. Rather than fading these extremes immediately, monitor whether the indicator stays elevated. Sustained extreme readings suggest strong trend continuation potential.
Context with Price Action: The VPO is most effective when combined with price action or other orderflow indicators. Use the indicator to gauge whether volume is confirming or contradicting.
What the Indicator Does NOT Do:
It does not provide specific entry or exit signals
It does not predict future price direction
It does not guarantee profitable trades
It should not be used as a standalone trading system
Settings Explanation
Momentum Period (Default: 14)
This parameter controls the lookback period for CVD rate-of-change calculations.
Lower values (5-10): Make the indicator more responsive to recent volume changes. Useful for shorter-term trading and more active oscillation. May produce more whipsaws in choppy markets.
Default value (14): Provides balanced responsiveness while filtering out most noise. Suitable for swing trading and daily timeframe analysis.
Higher values (20-50): Create smoother readings and focus on longer-term volume trends. Better for position trading and reducing false signals, but with slower reaction to genuine changes in volume pressure.
Important Notes:
This indicator requires intrabar data to function properly. On some instruments or timeframes where lower timeframe data is not available, the indicator may not display.
The indicator uses request.security_lower_tf() which has a limit of intrabars. On higher timeframes, this provides extensive history, but on very low timeframes (<1-minute charts), the indicator may only cover limited historical bars.
Volume data quality varies by exchange and instrument. The indicator's effectiveness depends on accurate volume reporting from the data feed.
CVD [able0.1]# CVD Overlay iOS Style - Complete User Guide
## 📖 Table of Contents
1. (#what-is-cvd)
2. (#installation-guide)
3. (#understanding-the-display)
4. (#reading-the-info-table)
5. (#settings--customization)
6. (#trading-strategies)
7. (#common-mistakes-to-avoid)
---
## 🎯 What is CVD?
**CVD (Cumulative Volume Delta)** tracks the **difference between buying and selling pressure** over time.
### Simple Explanation:
- **Positive CVD** (Orange) = More buying than selling = Bulls winning
- **Negative CVD** (Gray) = More selling than buying = Bears winning
- **Rising CVD** = Increasing buying pressure = Potential uptrend
- **Falling CVD** = Increasing selling pressure = Potential downtrend
### Why It Matters:
CVD helps you see **who's really in control** of the market - not just price movement, but actual buying/selling volume.
---
## 🚀 Installation Guide
### Step 1: Open Pine Editor
1. Go to TradingView
2. Click the **"Pine Editor"** tab at the bottom of the screen
3. Click **"New"** or open an existing script
### Step 2: Copy & Paste the Code
1. Select all existing code (Ctrl+A / Cmd+A)
2. Delete it
3. Copy the entire CVD iOS Style code
4. Paste it into Pine Editor
### Step 3: Add to Chart
1. Click **"Save"** button (or Ctrl+S / Cmd+S)
2. Click **"Add to Chart"** button
3. The indicator will appear on your chart!
### Step 4: Initial Setup
- The indicator appears as an **overlay** on your price chart
- You'll see an **orange/gray line** following price
- An **info table** appears in the top-right corner
---
## 📊 Understanding the Display
### Main Chart Elements:
#### 1. **CVD Line** (Orange/Gray)
- **Orange Line** = Positive CVD (buying pressure)
- **Gray Line** = Negative CVD (selling pressure)
- This line moves with your price chart but shows volume delta
#### 2. **CVD Zone** (Shaded Area)
- Light shaded box around the CVD line
- Shows the "range" of CVD movement
- Helps visualize CVD boundaries
#### 3. **Center Line** (Dotted)
- Gray dotted line in the middle of the zone
- Represents the "neutral" point
- CVD crossing this = shift in market control
#### 4. **Reference Asset Line** (Light Gray)
- Shows Bitcoin (BTC) price movement for comparison
- Helps you see if your asset moves with or against BTC
- Can be changed to any asset you want
#### 5. **CVD Label**
- Shows current CVD value
- Positioned above/below zone to avoid overlap
- Updates in real-time
#### 6. **Reset Background** (Very Light Gray)
- Appears when CVD resets
- Indicates a new calculation period
---
## 📋 Reading the Info Table
The info table (top-right) shows **8 key metrics**:
### Row 1: **Header**
```
╔═ CVD able ═╗ | 15m | ████████ | able
```
- **CVD able** = Indicator name + creator
- **15m** = Current timeframe
- **████████** = Visual decoration
- **able** = Creator signature
### Row 2: **CVD Value**
```
CVD▲ | 7.39K | ████████ | █
█
█
```
- **CVD▲** = CVD with trend arrow
- ▲ = CVD increasing
- ▼ = CVD decreasing
- ► = CVD unchanged
- **7.39K** = Actual CVD number
- **Progress Bar** = Visual strength (darker = stronger)
- **Vertical Bars** = Height shows intensity
### Row 3: **Delta**
```
◆DELTA | -1.274K | ████░░░░ | ░
░
```
- **Delta** = Volume change THIS BAR ONLY
- **Negative** = More selling this bar
- **Positive** = More buying this bar
- Shows **immediate** pressure (not cumulative)
### Row 4: **UP Volume**
```
UP↑ | -1.263K | ████████ | █
█
█
```
- Total **buying volume** this bar
- Higher = Stronger buying pressure
- Green/Orange vertical bars = Bullish strength
### Row 5: **DOWN Volume**
```
DN↓ | 2.643K | ████████ | ░
░
░
```
- Total **selling volume** this bar
- Higher = Stronger selling pressure
- Gray vertical bars = Bearish strength
### Row 6-7: **Reference Asset** (if enabled)
```
══ REF ══ | ══════ | ████████ | █
█
PRICE▲ | 4130.300 | ████████ | █
█
```
- **REF** = Reference asset header
- **PRICE▲** = Reference price with trend
- Shows if BTC (or chosen asset) is rising/falling
- Compare with your chart to see correlation
### Row 8: **Market Status**
```
◄STATUS► | NEUT | ████░░░░ | ▒
▒
```
- **BULL** = CVD positive + Delta positive = Strong buying
- **BEAR** = CVD negative + Delta negative = Strong selling
- **NEUT** = Mixed signals = Wait for clarity
**Status Colors:**
- **Orange background** = Bullish (good for long)
- **Gray background** = Bearish (good for short)
- **White background** = Neutral (no clear signal)
---
## ⚙️ Settings & Customization
### Main Settings (⚙️)
#### **CVD Reset**
- **None** = CVD never resets (from beginning of data)
- **On Higher Timeframe** = Resets when HTF candle closes
- 15m chart → Resets hourly
- 1h chart → Resets daily
- Recommended for most traders
- **On Session Start** = Resets at market open
- **On Visible Chart** = Resets from leftmost visible bar
#### **Precision**
- **Low (Fast)** = Uses 1m data, faster but less accurate
- **Medium** = Uses 5m data, balanced (recommended)
- **High** = Uses 15m data, most accurate but slower
#### **Cumulative**
- ✅ On = CVD accumulates over time (recommended)
- ❌ Off = Shows only current bar delta
#### **Show Labels**
- ✅ On = Shows CVD value label on chart
- ❌ Off = Cleaner chart, no label
#### **Show Info Table**
- ✅ On = Shows info table (recommended for beginners)
- ❌ Off = Hide table for minimalist view
---
### 🎨 iOS Style Colors
You can customize **every color** to match your chart theme:
#### **Primary Colors**
- **Primary (Orange)** = Main bullish color (#FF9500)
- **Secondary (Gray)** = Main bearish color (#8E8E93)
- **Background** = Table background (#FFFFFF)
- **Text** = Text color (#1C1C1E)
#### **Bullish/Bearish**
- **Bullish (Orange)** = Positive CVD color
- **Bearish (Gray)** = Negative CVD color
- **Opacity** = Zone transparency (0-100%)
- **Show Zone** = Enable/disable shaded area
#### **Table Colors** (📋)
- **Header Background** = Top row background
- **Header Text** = Top row text color
- **Cell Background** = Data cells background
- **Cell Text** = Data cells text color
- **Border** = Table border color
- **Accent Background** = Special rows background
- **Alert Background** = Warning/status background
---
### 📊 Reference Asset Settings
#### **Enable**
- ✅ On = Shows reference asset line
- ❌ Off = Hide reference asset
#### **Symbol**
- Default: `BINANCE:BTCUSDT`
- Can change to any asset:
- `BINANCE:ETHUSDT` (Ethereum)
- `SPX` (S&P 500)
- `DXY` (US Dollar Index)
- Any ticker symbol
#### **Color & Width**
- Customize line appearance
- Width: 1-4 (thickness)
---
## 💡 Trading Strategies
### Strategy 1: CVD Divergence (Beginner-Friendly)
**What to Look For:**
- Price making **higher highs** but CVD making **lower highs** = Bearish divergence
- Price making **lower lows** but CVD making **higher lows** = Bullish divergence
**How to Trade:**
1. Wait for divergence to form
2. Look for confirmation (price reversal, candlestick pattern)
3. Enter trade in divergence direction
4. Stop loss beyond recent high/low
**Example:**
```
Price: /\ /\ /\ (higher highs)
CVD: /\ / \/ (lower highs) = Bearish signal
```
### Strategy 2: CVD Trend Following (Intermediate)
**What to Look For:**
- **Strongly rising CVD** + **rising price** = Strong uptrend
- **Strongly falling CVD** + **falling price** = Strong downtrend
**How to Trade:**
1. Wait for CVD and price moving in same direction
2. Enter on pullbacks to support/resistance
3. Stay in trade while CVD trend continues
4. Exit when CVD trend breaks
**Signals:**
- CVD ▲▲▲ + Price ↑ = Go LONG
- CVD ▼▼▼ + Price ↓ = Go SHORT
### Strategy 3: CVD + Reference Asset (Advanced)
**What to Look For:**
- Your asset **rising** but BTC (reference) **falling** = Relative strength
- Your asset **falling** but BTC (reference) **rising** = Relative weakness
**How to Trade:**
1. Compare CVD movement with BTC
2. If your CVD rises faster than BTC = Buy signal
3. If your CVD falls faster than BTC = Sell signal
4. Use for **pair trading** or **asset selection**
### Strategy 4: Volume Delta Confirmation
**What to Look For:**
- **Large positive Delta** = Strong buying this bar
- **Large negative Delta** = Strong selling this bar
**How to Trade:**
1. Price breaks resistance + Large positive Delta = Confirmed breakout
2. Price breaks support + Large negative Delta = Confirmed breakdown
3. Use Delta to **confirm** price moves, not predict them
**Rules:**
- Delta > 2x average = Very strong pressure
- Delta near zero at key level = Weak move, likely false breakout
---
## 🎓 Reading Real Scenarios
### Scenario 1: Strong Buying Pressure
```
Table Shows:
CVD▲ | 12.5K | ████████ | ████ (CVD rising)
◆DELTA | +2.8K | ████████ | ▲ (Positive delta)
UP↑ | 3.1K | ████████ | ████ (High buy volume)
DN↓ | 0.3K | ██░░░░░░ | ░ (Low sell volume)
◄STATUS► | BULL | ████████ | ████ (Orange background)
```
**Interpretation:** Strong buying, good for LONG trades
### Scenario 2: Distribution (Hidden Selling)
```
Table Shows:
CVD► | 8.2K | ████░░░░ | ▒▒ (CVD flat)
◆DELTA | -1.5K | ████████ | ▼ (Negative delta)
UP↑ | 0.8K | ███░░░░░ | ░ (Low buy volume)
DN↓ | 2.3K | ████████ | ████ (High sell volume)
◄STATUS► | BEAR | ████████ | ░░░░ (Gray background)
```
**Interpretation:** Price may look stable, but selling increasing = Prepare for drop
### Scenario 3: Neutral/Choppy Market
```
Table Shows:
CVD► | 5.1K | ████░░░░ | ▒ (CVD sideways)
◆DELTA | +0.2K | ██░░░░░░ | ─ (Small delta)
UP↑ | 1.2K | ████░░░░ | ▒ (Medium buy)
DN↓ | 1.0K | ████░░░░ | ▒ (Medium sell)
◄STATUS► | NEUT | ████░░░░ | ▒▒ (White background)
```
**Interpretation:** No clear direction = Stay out or reduce position size
---
## ⚠️ Common Mistakes to Avoid
### Mistake 1: Trading on CVD Alone
- ❌ **Wrong:** "CVD is rising, I'll buy immediately"
- ✅ **Right:** "CVD is rising, let me check price structure, support/resistance, and wait for confirmation"
### Mistake 2: Ignoring Delta
- ❌ **Wrong:** Looking only at cumulative CVD
- ✅ **Right:** Watch both CVD (trend) and Delta (momentum)
- Delta shows **immediate** pressure changes
### Mistake 3: Wrong Timeframe
- ❌ **Wrong:** Using 1m chart with High Precision (too slow)
- ✅ **Right:** Match precision to timeframe:
- 1m-5m → Low Precision
- 15m-1h → Medium Precision
- 4h+ → High Precision
### Mistake 4: Not Using Reset
- ❌ **Wrong:** Using "None" reset for intraday trading
- ✅ **Right:** Use "On Higher Timeframe" to see fresh CVD each session
### Mistake 5: Overtrading Neutral Status
- ❌ **Wrong:** Forcing trades when STATUS = NEUT
- ✅ **Right:** Only trade clear BULL or BEAR status
### Mistake 6: Ignoring Reference Asset
- ❌ **Wrong:** Trading altcoin without checking BTC
- ✅ **Right:** Always check if BTC CVD agrees with your asset
---
## 🔥 Pro Tips
### Tip 1: Multi-Timeframe Analysis
- Check CVD on **3 timeframes**:
- Lower TF (15m) = Entry timing
- Current TF (1h) = Trade direction
- Higher TF (4h) = Overall trend
### Tip 2: Volume Confirmation
- Big price move + Small Delta = **Weak move** (likely reversal)
- Small price move + Big Delta = **Strong accumulation** (continuation)
### Tip 3: CVD Reset Zones
- Pay attention to **reset backgrounds** (light gray)
- Often marks **session starts** = High volatility periods
### Tip 4: Divergence + Status
- Bearish divergence + STATUS = BEAR = **Strongest short signal**
- Bullish divergence + STATUS = BULL = **Strongest long signal**
### Tip 5: Color Psychology
- **Orange** (Bullish) is **warm** = Buying energy
- **Gray** (Bearish) is **cool** = Selling pressure
- Train your eye to read colors instantly
### Tip 6: Table as Quick Scan
- Glance at table without reading numbers:
- **All orange** = Bullish
- **All gray** = Bearish
- **Mixed** = Wait
---
## 📱 Quick Reference Card
| Signal | CVD | Delta | Status | Action |
|--------|-----|-------|--------|--------|
| **Strong Buy** | ▲▲ High | ++ Positive | BULL | Long Entry |
| **Strong Sell** | ▼▼ Low | -- Negative | BEAR | Short Entry |
| **Divergence Buy** | ▲ Rising | Price ▼ | → BULL | Long Setup |
| **Divergence Sell** | ▼ Falling | Price ▲ | → BEAR | Short Setup |
| **Neutral** | → Flat | ~0 Near Zero | NEUT | Stay Out |
| **Accumulation** | → Flat | ++ Positive | NEUT→BULL | Watch for Breakout |
| **Distribution** | → Flat | -- Negative | NEUT→BEAR | Watch for Breakdown |
---
## 🆘 Troubleshooting
### Issue: "Indicator not showing"
- **Solution:** Make sure overlay=true in code, re-add to chart
### Issue: "Table overlaps with price"
- **Solution:** Change table position in code or use TradingView's "Move" feature
### Issue: "CVD line too far from price"
- **Solution:** This is normal! CVD is volume-based, not price-based. Focus on CVD direction, not position
### Issue: "Too many lines on chart"
- **Solution:** Disable "Show Zone" and "Show Labels" in settings for cleaner view
### Issue: "Calculations too slow"
- **Solution:** Change Precision to "Low (Fast)" or use higher timeframe
### Issue: "Reference asset not showing"
- **Solution:** Check if "Enable" is ON and symbol is valid (e.g., BINANCE:BTCUSDT)
---
## 🎬 Getting Started Checklist
- Install indicator on TradingView
- Set precision to "Medium"
- Set reset to "On Higher Timeframe"
- Enable info table
- Add reference asset (BTC)
- Practice reading the table on demo account
- Test on different timeframes (15m, 1h, 4h)
- Compare CVD with your current strategy
- Paper trade for 1 week before going live
- Keep a trading journal of CVD signals
---
## 📚 Summary
**CVD shows WHO is winning: Buyers or Sellers**
**Key Points:**
1. **Orange/Rising CVD** = Buying pressure = Bullish
2. **Gray/Falling CVD** = Selling pressure = Bearish
3. **Delta** = Immediate momentum THIS BAR
4. **Status** = Overall market condition
5. **Always confirm** with price action & other indicators
**Remember:**
- CVD is a **tool**, not a crystal ball
- Use with proper risk management
- Practice makes perfect
- Stay disciplined!
---
**Created by: able**
**Version:** iOS Style v1.0
**Contact:** For questions, refer to TradingView community
Happy Trading! 🚀📈
Delta Hawk CVD DivergencesCustomized Cumulative Volume Delta indicator that automatically labels divergences over a set number of bars.
Institution Radar Institution Radar
Institution Radar compares Price RSI with Volume-Delta RSI to show when price moves are real (backed by volume) or fake (moving without volume).
This helps reveal two powerful concepts:
Absorption (Bullish or Bearish)
Absorption happens when a large limit order is sitting in the order book.
Market orders hit it over and over, but the level doesn't break.
This usually means:
Strong players are absorbing the aggressive orders
Price is likely to move in the opposite direction
The next candle often reacts immediately
Can lead to a full reversal or just a short 1–2 candle move
Exhaustion (Bullish or Bearish)
Exhaustion happens when institutions pull their limit orders away.
There is no real volume behind the move, so price drifts up or down easily.
This usually means:
The current move is weak
A slowdown, pullback, or reversal is likely
Often shows up right before a flip in direction
📌 What the Signals Mean
Green signal → next candles often push upward
Red signal → next candles often push downward
These can mark trend reversals or temporary 1–2 candle reactions
🎚️ Sensitivity Setting
You can adjust how strict the signals are:
Lower sensitivity = more signals, more noise
Higher sensitivity = fewer signals, but more accurate and stronger
A higher sensitivity is recommended if you only want the cleanest institutional moments.
Cumulative Volume Profile DeltaThis indicator calculates the Cumulative Volume Profile Delta (CVPD). It constructs a high-resolution volume profile for each bar using intra-bar data, then derives and accumulates the delta from that profile to show net buying/selling pressure.
Key Features:
Statistical Volume Profile Engine: For each bar, the indicator builds a high-resolution volume profile on a lower 'Intra-Bar Timeframe'. Instead of simple tick counting, it uses statistical models ('PDF' allocation) to distribute volume across price levels and advanced classifiers ('Dynamic' split) to determine the buy/sell pressure before accumulation.
Periodic Accumulation: The CVPD accumulation is anchored to a user-defined 'Anchor Timeframe' (e.g., daily, weekly). This cyclical reset allows to analyze the build-up of pressure within specific trading periods.
"Delta Candle" Visualization: The periodic CVPD is shown as a candle, where:
Open: The CVPD value at the start of the period (or zero).
High/Low: Represent the peak buying (CVD High) and selling (CVD Low) pressure within that period's profile.
Close: The final net delta value (CVD) for the period.
Dual CVD & Divergence Engine: The indicator calculates two CVPDs: a Periodic one (for plotting) and a Continuous one (non-resetting). The continuous line is used as a stable source for the built-in divergence engine (detecting Regular, Hidden, and Exaggerated).
Dynamic Divergence Plotting: Divergence markers are plotted relative to the periodic (candle) CVPD. They automatically adjust their vertical position after a reset to remain visually aligned with the plotted candles.
Note on Confirmation (Lag): Divergence signals rely on a pivot confirmation method to ensure they do not repaint.
The Start of a- divergence is only detected after the confirming pivot is fully formed (a delay based on Pivot Right Bars).
The End of a divergence is detected either instantly (if the signal is invalidated by price action) or with a delay (when a new, non-divergent pivot is confirmed).
Multi-Timeframe (MTF) Capability:
MTF Output: The entire analysis (Delta Candles, Divergences) can be calculated on a higher timeframe (using the Timeframe input), with standard options to handle gaps (Fill Gaps) and prevent repainting (Wait for...).
Limitation: The Divergence detection engine (pivDiv) is disabled if a Higher Timeframe (HTF) is selected.
Integrated Alerts: Includes 18 comprehensive alerts for:
The start and end of all 6 divergence types.
The periodic CVPD crossing the zero line.
Conditions of agreement or disagreement between the delta and the main bar's direction.
Caution: Real-Time Data Behavior (Intra-Bar Repainting) This indicator uses high-resolution intra-bar data. As a result, the values on the current, unclosed bar (the real-time bar) will update dynamically as new intra-bar data arrives. This behavior is normal and necessary for this type of analysis. Signals should only be considered final after the main chart bar has closed.
DISCLAIMER
For Informational/Educational Use Only: This indicator is provided for informational and educational purposes only. It does not constitute financial, investment, or trading advice, nor is it a recommendation to buy or sell any asset.
Use at Your Own Risk: All trading decisions you make based on the information or signals generated by this indicator are made solely at your own risk.
No Guarantee of Performance: Past performance is not an indicator of future results. The author makes no guarantee regarding the accuracy of the signals or future profitability.
No Liability: The author shall not be held liable for any financial losses or damages incurred directly or indirectly from the use of this indicator.
Signals Are Not Recommendations: The alerts and visual signals (e.Example: crossovers) generated by this tool are not direct recommendations to buy or sell. They are technical observations for your own analysis and consideration.
Cumulative Volume DeltaThis Cumulative Volume Delta (CVD) indicator analyzes intra-bar volume dynamics. It introduces a periodic reset mechanism, anchoring the accumulation to a user-defined timeframe (e.g., daily, weekly) for cyclical analysis.
Key Features:
Dual CVD Calculation: The indicator computes two CVD values simultaneously:
Periodic CVD: Resets on the user-defined 'Anchor Timeframe'. This is plotted as "Delta Candles".
Continuous CVD: Accumulates volume continuously (non-resetting) and is used as the source for divergence detection.
Intra-Bar Delta Analysis: Uses a lower timeframe ('Intra-Bar Timeframe') to calculate buy/sell pressure based on the direction of the intra-bar candles.
"Delta Candle" Visualization: The periodic CVD is shown as a candle, where:
Open: The CVD value at the start of the period (or zero).
High/Low: Represent the peak buying (CVD High) and selling (CVD Low) pressure within that period.
Close: The final net delta value for that period.
Full Divergence Suite (Class A, B, C): A built-in engine automatically detects and plots Regular (A), Hidden (B), and Exaggerated (C) divergences between price and the continuous CVD line.
Dynamic Divergence Plotting: Divergence markers are plotted relative to the periodic (candle) CVD. They automatically adjust their vertical position after a reset to remain visually aligned with the plotted candles.
Note on Confirmation (Lag): Divergence signals rely on a pivot confirmation method to ensure they do not repaint.
The Start of a- divergence is only detected after the confirming pivot is fully formed (a delay based on Pivot Right Bars).
The End of a divergence is detected either instantly (if the signal is invalidated by price action) or with a delay (when a new, non-divergent pivot is confirmed).
Multi-Timeframe (MTF) Capability:
MTF Output: The entire dual-CVD analysis can be run on a higher timeframe (using the Timeframe input), with standard options to handle gaps (Fill Gaps) and prevent repainting (Wait for...).
Limitation: The Divergence detection engine (pivDiv) is disabled if a Higher Timeframe (HTF) is selected.
Integrated Alerts: Includes 18 comprehensive alerts for:
The start and end of all 6 divergence types.
The periodic CVD crossing the zero line.
Conditions of agreement or disagreement between the delta and the main bar's direction.
Caution: Real-Time Data Behavior (Intra-Bar Repainting) This indicator uses high-resolution intra-bar data. As a result, the values on the current, unclosed bar (the real-time bar) will update dynamically as new intra-bar data arrives. This behavior is normal and necessary for this type of analysis. Signals should only be considered final after the main chart bar has closed.
DISCLAIMER
For Informational/Educational Use Only: This indicator is provided for informational and educational purposes only. It does not constitute financial, investment, or trading advice, nor is it a recommendation to buy or sell any asset.
Use at Your Own Risk: All trading decisions you make based on the information or signals generated by this indicator are made solely at your own risk.
No Guarantee of Performance: Past performance is not an indicator of future results. The author makes no guarantee regarding the accuracy of the signals or future profitability.
No Liability: The author shall not be held liable for any financial losses or damages incurred directly or indirectly from the use of this indicator.
Signals Are Not Recommendations: The alerts and visual signals (e.g., crossovers) generated by this tool are not direct recommendations to buy or sell. They are technical observations for your own analysis and consideration.
CVD with DivergenceThis indicator combines Cumulative Volume Delta with divergence signals to help spot potential market reversals and trend changes. It visually highlights key shifts in buying and selling pressure, making it easier to see when momentum is building or fading and helping you make more informed trading decisions.
Cumulative Volume Delta Divergence Periodic EMACumulative Volume Delta Divergence Periodic EMA
extended indicator
Divergences + Alerts (ANY Indicator)📊 Divergences + Alerts (ANY Indicator)
This versatile indicator detects four types of divergences between price action and an oscillator:
Buyer Exhaustion
Buyer Absorption
Seller Exhaustion
Seller Absorption
Each divergence type is automatically identified and visually marked on the chart with colored lines. The indicator also includes built-in alert conditions for all four divergence types, allowing traders to receive real-time notifications when potential reversal signals occur.
By default, the oscillator is a candle-style visualization of the Money Flow Index (MFI), enhanced with volatility filtering via a VWMA-based ATR. However, users can replace the default MFI oscillator with any external source using the “Plug External Source” input, enabling full customization and compatibility with other indicators.
Key features:
🔍 Detects both exhaustion and absorption divergences
🔔 Alerts for each divergence type
🕯️ Candle-style oscillator visualization
🔌 Optional input for external indicator sources
⚙️ ATR-based filtering for precision
Ideal for traders seeking to spot early signs of trend reversals or momentum shifts with customizable flexibility.
Order Flow RSI - Price / CVD / OIOrder Flow RSI blends three powerful market perspectives — Price , Cumulative Volume Delta (CVD) , and Open Interest (OI) — into one unified RSI-style oscillator.
It reveals momentum and imbalance across these data streams and highlights situations where participation, liquidity, and positioning disagree — moments that often precede reversals.
What it does
The indicator converts:
Price → RSI (classic momentum),
CVD → RSI (buy/sell pressure balance),
OI → RSI (position expansion/contraction)
…then plots all three RSIs together on the same 0–100 scale.
A fourth Consensus RSI (average of any two or all three) can optionally be shown to simplify the view.
Core logic
CVD engine – based on TradingView’s native volume-delta request.
Modes: Continuous (default, smooth line), Anchored (resets each session), Rolling window.
Open Interest – pulled automatically from the symbol’s “_OI” feed; aligns to chart timeframe for real-time flow.
RSI calculation – standard RSI applied to each data stream, optionally smoothed (SMA / EMA / RMA / WMA / VWMA).
Signals – optional background highlights when:
All three RSIs are overbought (red) or oversold (green), or
Any pair show opposite extremes (e.g., price overbought + OI oversold).
Consensus RSI – arithmetic mean of the selected RSIs, summarizing overall market tone.
Inputs overview
CVD settings: anchor period, lower-TF delta, mode, rolling length
RSI lengths: separate for price, CVD, OI
Smoothing: type + period applied to all RSIs at once
Consensus: choose which RSIs to average
Signals: enable/disable each combination; optional alerts
Levels: adjustable OB/MID/OS (default 70 / 50 / 30)
Visuals: fill between active RSIs, background highlights, level lines, colors in Style tab
How to read it
All 3 overbought (red): broad exhaustion → possible correction
All 3 oversold (green): broad depletion → possible bounce
Opposite pairs: divergence between price and participation
Price↑ but OI↓ (red) → weak rally, fading participation
Price↓ but CVD↑ (green) → hidden accumulation
Combine with structure and volume profile for confirmation.
Notes
Works best on assets with full CVD + OI data (futures, BTC, etc.).
Use Continuous CVD for smooth RSI, Anchored for session analysis.
Smoothing 2–5 EMA is a good starting point to reduce noise.
All styling (colors, line types, thickness) is adjustable in the Style tab.
Limitations & caveats
CVD requires accurate tick/volume/delta data from your data feed. Performance may differ across instruments.
OI availability varies by exchange / symbol. Where OI is absent, pairwise OI signals are not evaluated.
This indicator is a tool — it generates signals of interest, not guaranteed profitable trades. Backtest and combine with your risk rules.
Smoothing introduces lag; longer smoothing reduces noise but delays signals.
Order Flow RSI bridges traditional momentum analysis and order-flow context — giving a multi-dimensional view of when markets are truly stretched or quietly reloading.
Sometimes it works, sometimes it doesn't.
Cumulative Volume Delta Z Score [BackQuant]Cumulative Volume Delta Z Score
The Cumulative Volume Delta Z Score indicator is a sophisticated tool that combines the cumulative volume delta (CVD) with Z-Score normalization to provide traders with a clearer view of market dynamics. By analyzing volume imbalances and standardizing them through a Z-Score, this tool helps identify significant price movements and market trends while filtering out noise.
Core Concept of Cumulative Volume Delta (CVD)
Cumulative Volume Delta (CVD) is a popular indicator that tracks the net difference between buying and selling volume over time. CVD helps traders understand whether buying or selling pressure is dominating the market. Positive CVD signals buying pressure, while negative CVD indicates selling pressure.
The addition of Z-Score normalization to CVD makes it easier to evaluate whether current volume imbalances are unusual compared to past behavior. Z-Score helps in detecting extreme conditions by showing how far the current CVD is from its historical mean in terms of standard deviations.
Key Features
Cumulative Volume Delta (CVD): Tracks the net buying vs. selling volume, allowing traders to gauge the overall market sentiment.
Z-Score Normalization: Converts CVD into a standardized value to highlight extreme movements in volume that are statistically significant.
Divergence Detection: The indicator can spot bullish and bearish divergences between price and CVD, which can signal potential trend reversals.
Pivot-Based Divergence: Identifies price and CVD pivots, highlighting divergence patterns that are crucial for predicting price changes.
Trend Analysis: Colors bars according to trend direction, providing a visual indication of bullish or bearish conditions based on Z-Score.
How It Works
Cumulative Volume Delta (CVD): The CVD is calculated by summing the difference between buying and selling volume for each bar. It represents the net buying or selling pressure, giving insights into market sentiment.
Z-Score Normalization: The Z-Score is applied to the CVD to normalize its values, making it easier to compare current conditions with historical averages. A Z-Score greater than 0 indicates a bullish market, while a Z-Score less than 0 signals a bearish market.
Divergence Detection: The indicator detects regular and hidden bullish and bearish divergences between price and CVD. These divergences often precede trend reversals, offering traders a potential entry point.
Pivot-Based Analysis: The indicator uses pivot highs and lows in both price and CVD to identify divergence patterns. A bullish divergence occurs when price makes a lower low, but CVD fails to follow, suggesting weakening selling pressure. Conversely, a bearish divergence happens when price makes a higher high, but CVD doesn't confirm the move, indicating potential selling pressure.
Trend Coloring: The bars are colored based on the trend direction. Green bars indicate an uptrend (CVD is positive), and red bars indicate a downtrend (CVD is negative). This provides an easy-to-read visualization of market conditions.
Standard Deviation Levels: The indicator plots ±1σ, ±2σ, and ±3σ levels to indicate the degree of deviation from the average CVD. These levels act as thresholds for identifying extreme buying or selling pressure.
Customization Options
Anchor Timeframe: The user can define an anchor timeframe to aggregate the CVD, which can be customized based on the trader’s needs (e.g., daily, weekly, custom lower timeframes).
Z-Score Period: The period for calculating the Z-Score can be adjusted, allowing traders to fine-tune the indicator's sensitivity.
Divergence Detection: The tool offers controls to enable or disable divergence detection, with the ability to adjust the lookback periods for pivot detection.
Trend Coloring and Visuals: Traders can choose whether to color bars based on trend direction, display standard deviation levels, or visualize the data as a histogram or line plot.
Display Options: The indicator also allows for various display options, including showing the Z-Score values and divergence signals, with customizable colors and line widths.
Alerts and Signals
The Cumulative Volume Delta Z Score comes with pre-configured alert conditions for:
Z-Score Crossovers: Alerts are triggered when the Z-Score crosses the 0 line, indicating a potential trend reversal.
Shifting Trend: Alerts for when the Z-Score shifts direction, signaling a change in market sentiment.
Divergence Detection: Alerts for both regular and hidden bullish and bearish divergences, offering potential reversal signals.
Extreme Imbalances: Alerts when the Z-Score reaches extreme positive or negative levels, indicating overbought or oversold market conditions.
Applications in Trading
Trend Identification: Use the Z-Score to confirm bullish or bearish trends based on cumulative volume data, filtering out noise and false signals.
Reversal Signals: Divergences between price and CVD can help identify potential trend reversals, making it a powerful tool for swing traders.
Volume-Based Confirmation: The Z-Score allows traders to confirm price movements with volume data, providing more reliable signals compared to price action alone.
Divergence Strategy: Use the divergence signals to identify potential points of entry, particularly when regular or hidden divergences appear.
Volatility and Market Sentiment: The Z-Score provides insights into market volatility by measuring the deviation of CVD from its historical mean, helping to predict price movement strength.
The Cumulative Volume Delta Z Score is a powerful tool that combines volume analysis with statistical normalization. By focusing on volume imbalances and applying Z-Score normalization, this indicator provides clear, reliable signals for trend identification and potential reversals. It is especially useful for filtering out market noise and ensuring that trades are based on significant price movements driven by substantial volume changes.
This indicator is perfect for traders looking to add volume-based analysis to their strategy, offering a more robust and accurate way to gauge market sentiment and trend strength.
Cumulative Volume Delta Profile and Heatmap [BackQuant]Cumulative Volume Delta Profile and Heatmap
A multi-view CVD workstation that measures buying vs selling pressure, renders a price-aligned CVD profile with Point of Control, paints an optional heatmap of delta intensity, and detects classical CVD divergences using pivot logic. Built for reading who is in control, where participation clustered, and when effort is failing to produce result.
What is CVD
Cumulative Volume Delta accumulates the difference between aggressive buys and aggressive sells over time. When CVD rises, buyers are lifting the offer more than sellers are hitting the bid. When CVD falls, the opposite is true. Plotting CVD alongside price helps you judge whether price moves are supported by real participation or are running on fumes.
Core Features
Visual Analysis Components
CVD Columns - Plot of cumulative delta, colored by side, for quick read of participation bias.
CVD Profile - Price-aligned histogram of CVD accumulation using user-set bins. Shows where net initiative clustered.
Split Buy and Sell CVD - Optional two-sided profile that separates positive and negative CVD into distinct wings.
POC - Point of Control - The price level with the highest absolute CVD accumulation, labeled and line-marked.
Heatmap - Semi-transparent blocks behind price that encode CVD intensity across the last N bars.
Divergence Engine - Pivot-based detection of Bearish and Bullish CVD divergences with optional lines and labels.
Stats Panel - Top level metrics: Total CVD, Buy and Sell totals with percentages, Delta Ratio, and current POC price.
How it works
Delta source and sampling
You select an Anchor Timeframe that defines the higher time aggregation for reading the trend of CVD.
The script pulls lower timeframe volume delta and aggregates it to the anchor window. You can let it auto-select the lower timeframe or force a custom one.
CVD is then accumulated bar by bar to form a running total. This plot shows the direction and persistence of initiative.
Profile construction
The recent price range is split into Profile Granularity bins.
As price traverses a bin, the current delta contribution is added to that bin.
If Split Buy and Sell CVD is enabled, positive CVD goes to the right wing and negative CVD to the left wing.
Widths are scaled by each side’s maximum so you can compare distribution shape at a glance.
The Point of Control is the bin with the highest absolute CVD. This marks where initiative concentrated the most.
Heatmap
For each bin, the script computes intensity as absolute CVD relative to the maximum bin value.
Color is derived from the side in control in that bin and shaded by intensity.
Heatmap Length sets how far back the panels extend, highlighting recurring participation zones.
Divergence model
You define pivot sensitivity with Pivot Left and Right .
Bearish divergence triggers when price confirms a higher high while CVD fails to make a higher high within a configurable Delta Tolerance .
Bullish divergence triggers when price confirms a lower low while CVD fails to make a lower low.
On trigger, optional link lines and labels are drawn at the pivots for immediate context.
Key Settings
Delta Source
Anchor Timeframe - Higher TF for the CVD narrative.
Custom Lower TF and Lower Timeframe - Force the sampling TF if desired.
Pivot Logic
Pivot Left and Right - Bars to each side for swing confirmation.
Delta Tolerance - Small allowance to avoid near-miss false positives.
CVD Profile
Show CVD Profile - Toggle profile rendering.
Split Buy and Sell CVD - Two-sided profile for clearer side attribution.
Show Heatmap - Project intensity panels behind price.
Show POC and POC Color - Mark the dominant CVD node.
Profile Granularity - Number of bins across the visible price range.
Profile Offset and Profile Width - Position and scale the profile.
Profile Position - Right, Left, or Current bar alignment.
Visuals
Bullish Div Color and Bearish Div Color - Colors for divergence artifacts.
Show Divergence Lines and Labels - Visualize pivots and annotations.
Plot CVD - Column plot of total CVD.
Show Statistics and Position - Toggle and place the summary table.
Reading the display
CVD columns
Rising CVD confirms buyers are in control. Falling CVD confirms sellers.
Flat or choppy CVD during wide price moves hints at passive or exhausted participation.
CVD profile wings
Thick right wing near a price zone implies heavy buy initiative accumulated there.
Thick left wing implies heavy sell initiative.
POC marks the strongest initiative node. Expect reactions on first touch and rotations around this level when the tape is balanced.
Heatmap
Brighter blocks indicate stronger historical net initiative at that price.
Stacked bright bands form CVD high volume nodes. These often behave like magnets or shelves for future trade.
Divergences
Bearish - Price prints a higher high while CVD fails to do so. Effort is not producing result. Potential fade or pause.
Bullish - Price prints a lower low while CVD fails to do so. Capitulation lacks initiative. Potential bounce or reversal.
Stats panel
Total CVD - Net initiative over the window.
Buy and Sell volume with percentages - Side composition.
Delta Ratio - Buy over Sell. Values above 1 favor buyers, below 1 favor sellers.
POC Price - Current control node for plan and risk.
Workflows
Trend following
Choose an Anchor Timeframe that matches your holding period.
Trade in the direction of CVD slope while price holds above a bullish POC or below a bearish POC.
Use pullbacks to CVD nodes on your profile as entry locations.
Trend weakens when price makes new highs but CVD stalls, or new lows while CVD recovers.
Mean reversion
Look for divergences at or near prior CVD nodes, especially the POC.
Fade tests into thick wings when the side that dominated there now fails to push CVD further.
Target rotations back toward the POC or the opposite wing edge.
Liquidity and execution map
Treat strong wings and heatmap bands as probable passive interest zones.
Expect pauses, partial fills, or flips at these shelves.
Stops make sense beyond the far edge of the active wing supporting your idea.
Alerts included
CVD Bearish Divergence and CVD Bullish Divergence.
Price Cross Above POC and Price Cross Below POC.
Extreme Buy Imbalance and Extreme Sell Imbalance from Delta Ratio.
CVD Turn Bullish and CVD Turn Bearish when net CVD crosses zero.
Price Near POC proximity alert.
Best practices
Use a higher Anchor Timeframe to stabilize the CVD story and a sensible Profile Granularity so wings are readable without clutter.
Keep Split mode on when you want to separate initiative attribution. Turn it off when you prefer a single net profile.
Tune Pivot Left and Right by instrument to avoid overfitting. Larger values find swing divergences. Smaller values find micro fades.
If volume is thin or synthetic for the symbol, CVD will be less reliable. The script will warn if volume is zero.
Trading applications
Context - Confirm or question breakouts with CVD slope.
Location - Build entries at CVD nodes and POC.
Timing - Use divergence and POC crosses for triggers.
Risk - Place stops beyond the opposite wing or outside the POC shelf.
Important notes and limits
This is a price and volume based study. It does not access off-book or venue-level order flow.
CVD profiles are built from the data available on your chart and the chosen lower timeframe sampling.
Like all volume tools, readings can distort during roll periods, holidays, or feed anomalies. Validate on your instrument.
Technical notes
Delta is aggregated from a lower timeframe into an Anchor Timeframe narrative.
Profile bins update in real time. Splitting by side scales each wing independently so both are readable in the same panel.
Divergences are confirmed using standard pivot definitions with user-set tolerances.
All profile drawing uses fixed X offsets so panels and POC do not swim when you scroll.
Quick start
Anchor Timeframe = Daily for intraday context.
Split Buy and Sell CVD = On.
Profile Granularity = 100 to 200, Profile Position = Right, Width to taste.
Pivot Left and Right around 8 to 12 to start, then adapt.
Turn on Heatmap for a fast map of interest bands.
Bottom line
CVD tells you who is doing the lifting. The profile shows where they did it. Divergences tell you when effort stops paying. Put them together and you get a clear read on control, location, and timing for both trend and mean reversion.
KSM CVDThis Indicator displays Divergences between Price chart candles and delta strength candles. Visually changes the candle colour to show the Exhaustion & Absorption that occurs.
CVD Polarity Indicator (With Rolling Smoothed)📊 CVD Polarity Indicator (with Rolling Smoothing)
Purpose
The CVD Polarity Indicator combines Cumulative Volume Delta (CVD) with price bar direction to measure whether buying or selling pressure is in agreement with price action. It then smooths that signal over time, making it easier to see underlying volume-driven market trends.
This indicator is essentially a volume–price agreement oscillator:
- It compares price direction with volume delta (CVD).
- Translates that into per-bar polarity.
- Smooths it into a rolling sum for clarity.
- Adds a short EMA to highlight turning points.
The end result: a tool that helps you see when price action is backed by real volume flows versus when it’s running on weak participation.
__________________________________________________________________________________
1. Cumulative Volume Delta (CVD)
What it is:
CVD is the cumulative sum of buying vs. selling pressure measured by volume.
- If a bar closes higher than it opens → that bar’s volume is treated as buying pressure (+volume).
- If a bar closes lower than it opens → that bar’s volume is treated as selling pressure (–volume).
Rolling version:
Instead of accumulating indefinitely (which just creates a line that trends forever), this indicator uses a rolling sum over a user-defined number of bars (cumulation_length, default 14).
- This shows the net delta in recent bars, making the CVD more responsive and localized.
2. Bar Direction vs. CVD Change
Each bar has two pieces of directional information:
1. Bar direction: Whether the candle closed above or below its open (close - open).
2. CVD change: Whether cumulative delta increased or decreased from the prior bar (cvd - cvd ).
By comparing these two:
- Agreement (both up or both down):
→ Polarity = +volume (if bullish) or –volume (if bearish).
- Disagreement (bar up but CVD down, or bar down but CVD up):
→ Polarity flips sign, signaling divergence between price and volume.
Thus, raw polarity = a per-bar measure of whether price action and volume delta are in sync.
3. Polarity Smoothing (Rolling Polarity)
- Problem with raw polarity:
It flips bar-to-bar and looks very jagged — not great for seeing trends.
- Solution:
The indicator applies a rolling sum over the past polarity_length bars (default 14).
- This creates a smoother curve, representing the net polarity over time.
- Positive values = net bullish alignment (buyers stronger).
- Negative values = net bearish alignment (sellers stronger).
Think of it like an oscillator showing whether buyers or sellers have had control recently.
4. EMA Smoothing
Finally, a 10-period EMA is applied on top of the rolling polarity line:
- This further reduces noise.
- It helps highlight shifts in the underlying polarity trend.
- Crossovers of the polarity line and its EMA can serve as trade signals (bullish/bearish inflection points).
________________________________________________________________________________
How to Read It
1. Polarity above zero → Recent bars show more bullish agreement between price and volume.
2. Polarity below zero → Recent bars show more bearish agreement.
3. Polarity diverging from price → If price goes up but polarity trends down, it signals weakening buying pressure (potential reversal).
4. EMA crossovers →
- Polarity crossing above its EMA = bullish momentum shift.
- Polarity crossing below its EMA = bearish momentum shift.
Practical Use Cases
- Trend Confirmation
Use polarity to confirm whether a price move is supported by volume. If price rallies but
polarity stays negative, the move is weak.
- Divergence Signals
Watch for divergences between price trend and polarity trend (e.g., higher highs in price but
lower highs in polarity).
- Momentum Shifts
Use EMA crossovers as signals that the underlying balance of buying/selling has flipped.
CVD Absorption + Confirmation [Orderflow & Volume]This indicator detects bullish and bearish absorption setups by combining Cumulative Volume Delta (CVD) with price action, candlestick, and volume confirmations.
🔹 What is Absorption?
Absorption happens when aggressive buyers/sellers push CVD to new highs or lows, but price fails to follow through.
Bearish absorption: CVD makes a higher high, but price does not.
Bullish absorption: CVD makes a lower low, but price does not.
This often signals that limit orders are absorbing aggressive market orders, creating potential reversal points.
🔹 Confirmation Patterns
Absorption signals are only shown if they are validated by one of the following patterns:
Engulfing candle with low volume → reversal faces little resistance.
Engulfing candle with high volume → strong aggressive participation.
Pin bar with high volume → absorption visible in the wick.
CVD flattening / slope reversal → shift in aggressive order flow.
🔹 Signals
✅ Bullish absorption confirmed → Green label below the bar.
❌ Bearish absorption confirmed → Red label above the bar.
Each label represents a potential reversal setup after orderflow absorption is validated.
🔹 Alerts
Built-in alerts are included for both bullish and bearish confirmations, so you can track setups in real-time without watching the chart 24/7.
📌 How to Use:
Best applied at key levels (supply/demand, VWAP, OR, liquidity zones).
Look for confluence with your trading strategy before taking entries.
Works on all markets and timeframes where volume is reliable.
Intelligent Trading SuiteIntelligent Trading Suite
“One script to rule them all.”
Overview
The Intelligent Trading Suite is a professional-grade decision system built in Pine Script. It is a unified engine—not a bundle of indicators—that combines adaptive pattern recognition, historical memory, and multi-context intelligence into one framework. Using a deep historical pattern database and integrating session dynamics, market calendars, holiday effects, and economic events, it filters noise and adapts to conditions. Core emphasis: precise pattern detection with target-price projection that remains stable as new candles print (mitigates target drift) and early detection of forming geometric patterns and divergences/hidden divergences.
Core Features
All-Timeframe Operation: Works across every TradingView timeframe—from 1m to 1W—without performance drift.
Pattern Recognition with Targets: Detects triangles, wedges, cup & handle, flags, and H&S; projects targets and stabilizes them against common drift as price evolves.
Early Signal Engine: Flags forming patterns and divergences before completion and notifies when prerequisites align.
Historical Pattern Intelligence: Stores and compares thousands of prior states (Hull, VWAP, RSI, MACD, SMA, CVD) to weight current conditions and calibrate confidence.
Context & Regime Awareness: Adjusts for volatility regimes, liquidity sessions, day-of-week bias, holidays, and macro events.
Unified Signal & Confidence: Fuses all streams into a single Overall signal with calibrated confidence levels (Weak / Neutral / Strong).
Visualization & Alerts
Compact Ultimate Intelligence Table showing each analytical pillar, plus the Overall signal, and an option to show them on the chart as well.
Alerts on table for: new pattern detection, divergence events, volatility shifts, and trend reversals.
Important Notes
-Free plan runtime: TradingView Free accounts may hit platform limits.
Fix: Open settings → switch Mode from Paid to Free → runs within Free limits.
-Heavy computation: The script is calculation- and data-intensive; initial runs can take time.
If a rare runtime error occurs, simply reload the page and continue.
Attributions
Hull Moving Average (Alan Hull)
VWAP (Volume Weighted Average Price)
RSI (Relative Strength Index, J. Welles Wilder Jr.)
MACD (Moving Average Convergence Divergence, Gerald Appel)
Black Flag ATR bands (Jose Azcarate)
Proprietary enhancements, target-stabilization logic, and the nuclear intelligence architecture are original research for this suite.
Compliance
Educational and analytical use only
No financial advice
Ad-free; aligned with TradingView House Rules
Proper attribution included
Access
To get access, please read the Author’s instructions on the script’s page.






















