Cumulative Volume Delta Divergence Periodic EMA
Sep 22, 2024

The Cumulative Volume Delta Divergence Periodic EMA indicator helps traders identify potential trend reversals by detecting discrepancies between price action and market volume dynamics.
Usage
The indicator is primarily used to spot Bullish and Bearish divergences, which serve as signals for potential trend exhaustion or shifts in momentum. It is particularly effective for day trading and scalping where volume-price behavior provides a leading edge.
- Bullish CVD Divergence: Occurs when the price records a lower low while the CVD indicator forms a higher low. This suggests that despite the price drop, buying pressure is increasing, signaling a potential upward reversal. Traders often look for price to break a recent high or resistance level as further confirmation.
- Bearish CVD Divergence: Occurs when the price records a higher high while the CVD indicator forms a lower high. This indicates that buying pressure is waning despite the rising price, suggesting a potential downward reversal. Confirmation can be sought through breaks of key support levels.
Details
The script calculates Cumulative Volume Delta (CVD) by analyzing the intra-bar price movement to estimate buying and selling volume. Unlike standard volume bars, CVD provides a net value of the market delta. This implementation offers two distinct calculation modes:
- Periodic: Sums the delta over a specific lookback period to highlight cyclical volume flows.
- EMA: Applies an Exponential Moving Average to the delta, smoothing out noise and focusing on the underlying trend of the volume pressure.
The indicator also features an "Ultra Data" mode, which aggregates volume data from multiple major brokers (up to 26 for Forex and Crypto) to provide a more comprehensive view of market activity beyond a single exchange's feed.
Settings
Logic Setting
- Divergence Fractal Periods: Sets the number of bars required to identify a pivot high or low for divergence detection.
- CVD Period: Determines the lookback window used for both the "Periodic" sum and the "EMA" smoothing modes.
- Cumulative Mode: Switches the calculation logic between a periodic sum ("Periodic") and a smoothed average ("EMA").
- Use Ultra Data: Enables the aggregation of volume data from multiple external broker sources.
- Market Ultra Data: Allows the user to specify the asset class (Forex, Crypto, or Stock) to ensure the correct broker data is fetched.
Display Setting
- Show Label: Toggles the visibility of labels indicating the type and strength of the detected divergence on the chart.
FAQ
How do I interpret the strength of a divergence?
The indicator categorizes divergences into "Normal," "Good," and "Strong" based on the frequency and consistency of the signal peaks, allowing traders to gauge the conviction behind a potential reversal.
Can I use this on any timeframe?
Yes, the indicator is designed to work across various timeframes, though it is frequently utilized by scalpers and day traders on lower timeframes to catch quick intraday reversals.
How can I access this indicator?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.
Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.
Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.
As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.
Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.
Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.
This does not represent our full Disclaimer. Please read our full disclaimer.
© 2026 LuxAlgo Global, LLC.

