NinjaTrader Cumulative Volume Delta (CVD) Indicator

Cumulative Volume Delta (CVD) Indicator for Ninjatrader
NinjaTrader Cumulative Volume Delta (CVD) Indicator measures the net difference between ask-side and bid-side volume over a configurable time or bar period. The indicator identifies market phases using SuperTrend and dual EMA — displaying CVD directional labels and phase dots on the histogram.

NinjaTrader Cumulative Volume Delta (CVD) Indicator

cumulative volume delta indicator ninjatrader

 

The Cumulative Volume Delta (CVD) Indicator measures the running net difference between ask-side volume (buying pressure) and bid-side volume (selling pressure) over a configurable calculation period. Unlike standard volume indicators which display total traded volume without directional context, CVD separates each trade into its ask-side or bid-side component and accumulates the difference — producing a running net value that reflects which side has been more active over the measured period.

Please note!

  • Before attaching the indicator to a chart, make sure your chart is set to Tick Replay mode. This is critical to the proper functioning of Cumulative Volume Delta as it uses Tick Replay to accurately calculate and summarize all market orders originating on the Bid and Ask sides in real time. Without Tick Replay, the indicator may work incorrectly.
  • The indicator is calculated based on Bid and Ask tick data, so its correct operation depends on the availability of this data and the ability to obtain it. Make sure that the financial instrument you are going to trade receives the necessary tick data to calculate the indicator values. It is important to note that some instruments, such as Forex, do not contain Bid and Ask data. Since there is no last price in the Forex market, this will cause cumulative delta bars to move in the same direction.

 

The indicator supports three delta calculation methods:

BidAsk — trades at or above the ask price are classified as buying volume; trades at or below the bid price are classified as selling volume.

UpDownTick — buying volume is attributed when the last trade occurs while the ask is higher than the previous ask; selling volume when the bid is lower than the previous bid; all volume in between is added to the prior direction. This mode is applicable to instruments or data providers where best bid/ask data is not available alongside last price tick data.

UpDownTick (Forex mod.) — a modified version of the UpDownTick method adapted for Forex instruments, which do not contain bid/ask data in the standard format. Note that because Forex markets do not carry a last price, CVD bars in this mode will move in a single direction.

 

How to interpret and use the Cumulative Volume Delta Indicator?

ninjatrader cumulative delta indicator

The indicator extends basic CVD calculation with a market phase identification layer, which uses a combination of SuperTrend and two EMA indicators — configurable to be used together or independently.

Market phase dots are displayed on the histogram:

  • Green dots — indicate an active bullish phase as determined by the trend identification components
  • Red dots — indicate an active bearish phase
  • Gray dots — indicate a neutral or transitional phase where the trend components do not confirm a directional bias

CVD directional labels — “⭡Delta” is displayed when CVD has reached values that meet the configured conditions reflecting upward directional context. “⭣Delta” is displayed when CVD conditions reflect downward directional context. These labels do not function as buy or sell instructions — they indicate that the CVD has reached a defined threshold state relative to the configured filters.

Volume filters are available to restrict label generation to periods where total volume or delta volume meets a defined minimum — preventing labels from appearing during low-activity periods where the CVD reading may carry less analytical weight.

The CVD can be calculated by time period or by bar count. At the end of each configured period or after the specified number of bars, the accumulated CVD resets to zero and begins accumulating again.

CVD smoothing options are available: Pure (raw accumulated delta), SMA (simple moving average applied to CVD), or EMA (exponential moving average applied to CVD).

 

NinjaTrader CVD Indicator input parameters

The indicator has the following parameters:

 

ninjatrader cumulative volume delta indicator

Delta Type — selects the delta calculation method: BidAsk, UpDownTick, or UpDownTick (Forex mod.).

Calculation Type — selects whether CVD accumulates over a defined time period or a defined bar count.

Time / Bars — the time duration or number of bars after which the accumulated CVD resets to zero.

CVD Type — selects the CVD output type: Pure, SMA, or EMA.

Filter: Volume Total Level — sets the minimum total volume required for a label to be generated. Set to 0 to disable this filter.

Filter: Volume Delta Level — sets the minimum volume delta required for a label to be generated. Set to 0 to disable this filter.

Trend Identification — selects the trend phase components: dual EMA only, SuperTrend only, or both combined.

EMA Fast / Slow Period — configures the periods for the fast and slow EMA used in phase identification.

EMA Percentage — sets the minimum percentage difference between fast and slow EMA readings required to register a directional trend phase.

ST Period / Multiplier — configures the core parameters of the SuperTrend component used in phase identification.

Alerts — configure alert delivery: sound notifications, email, and pop-up messages — each configurable independently.

 

Custom Programming

mt4 custom programming

We can customize this indicator to your needs — adding functions, modifying logic, or integrating it with other tools for your workflow.

We also convert indicators into Automated Trading Strategies with advanced functions (trailing stops, risk management, filters) tailored to your trading style strictly according to your specifications.

Request a free consultation to discuss the technical scope and timeline of your project.

 

We Value Your Feedback

We are committed to the ongoing development and refinement of our indicators. If you’ve spotted a bug, feel that something essential is missing, or have ideas that could make the indicator even better, just send us a message. Your feedback helps us improve and deliver tools that truly meet traders’ needs.

See other indicators on a single subscription
NinjaTrader Support & Resistance Breakout Indicator
NinjaTrader VWAP + RSI / RSI Divergence Indicator
NinjaTrader Auto Fibonacci Retracement Indicator