Skip to content
Forex Indicator System Thailand
Back to marketplace
Volume profileIndicator

Cumulative Volume Delta (CVD)

Sub-window histogram showing the buy minus sell volume difference accumulated over a set period

Cumulative Volume Delta (CVD) on an MT5 chart
Example on an MT5 chart

Download the indicator free

Download right away. Nothing to fill in.

Version
1.00
Published
11/21/2026
File size
21 KB

Open source, Apache License 2.0, by EarnForex.com. See licences

Version history

  1. 1.00Current11/21/2026 · 21 KB

    First release on this site.

How to read it

Drag it onto a chart; it opens in a sub-window. Set DataTimeframe to a timeframe smaller than the chart for a finer delta, for example H1 data on a D1 chart. The history of that smaller timeframe must be loaded, otherwise values are 0.

Read it as an accumulated direction and compare it with price. If price makes a new high but CVD does not follow, buying pressure may be fading; confirm with other tools.

Parameters

NameDefaultDescription
DataTimeframePERIOD_CURRENTSource timeframe of the price and volume data used to estimate the delta. It must be equal to or smaller than the chart; if larger, the chart timeframe is used instead.
CumulativePeriod20Number of chart bars summed in the rolling delta. Must be at least 1.
SmoothMethodMA_NONESmoothing method: none, SMA or EMA.
SmoothPeriod1Smoothing period. It only takes effect when above 1 and a method other than none is chosen.
VolumeTypeVOLUME_TICKVolume type: tick volume or real volume (only for symbols where the broker supplies real volume).

Defaults are the values shipped with the EA, not a recommendation. Results depend on the market and on each account. Past results do not guarantee future results. Trading carries a high risk of loss.

How to install

  1. Download the .ex5 file.
  2. In MT5, choose File > Open Data Folder.
  3. Copy the file into the MQL5\Indicators folder.
  4. Right-click Indicators in the Navigator window and choose Refresh (or restart MT5).
  5. Drag the indicator onto a chart, adjust the Inputs if you like, then click OK.

Description

CVD shows whether buy volume or sell volume has accumulated more over the last N bars, as a histogram in a sub-window. Green bars are positive and red bars are negative. It is used to see whether volume confirms or contradicts the price direction, for example in divergence analysis.

The delta is an estimate, not real bid/ask data. The indicator walks through the bars of a smaller timeframe (DataTimeframe) and splits each bar volume into buy and sell by where the close sits inside that bar's high-low range, then sums the result over CumulativePeriod bars.

You can smooth the result with an SMA or EMA, shown as a dotted grey line. Either tick volume or real volume can be used (real volume must be supplied by the broker).

Banners from the Exness partner programme

Exness banner: gold spreads*

FXIDTH is an independent IB partner of Exness. This channel is not owned or operated by Exness.*Spreads may fluctuate and widen due to factors including market volatility, news events, market open/close, and others.*Processing times may vary depending on the chosen payment method.

Volume Profile on an MT5 chart
IndicatorVolume profile

Volume Profile

Histogram of the price levels with the most activity, built from candles and tick volume

Main chart

Version 1.01Free download