Re: CVD Divergence

61
asgariHoo wrote: Tue Aug 18, 2026 5:40 pm This indicator estimates buying and selling pressure to spot **hidden trend reversals** (divergences) before price turns.

Calculates Estimated Volume Delta (CVD): Estimates whether buyers or sellers were in control during each candle based on where price closed relative to the candle's High-Low range.
Displays a Dual-Color Histogram: Plots a histogram in a separate window below the chart—Green for positive volume delta (buying pressure) and Red for negative volume delta (selling pressure).
Detects Divergences Automatically: Scans price swing points (fractals) against CVD levels:
Bullish Divergence (`+RD`): Price drops to a lower low, but buying volume rises (higher low in CVD). Signals a potential upward reversal.
Bearish Divergence (`-RD`): Price pushes to a higher high, but buying volume fades (lower high in CVD). Signals a potential downward reversal.


Draws Lines Directly on Your Chart: When a divergence occurs, it automatically draws matching trendlines and text labels on both your main price chart and the indicator window.

Happy PiP$.

Screenshot 2026-08-18 113117.pngScreenshot 2026-08-18 113649.png
Nice work. How are you calculating a reliable CVD as CFD show no real volume? Using tick volumes or microstructures?
"I conjure from shadows and shape fortunes from the unseen. The treasure lies hidden in plain sight, beneath the sunlight." - Cagliostro


Re: CVD Divergence

62
asgariHoo wrote: Tue Aug 18, 2026 5:40 pm This indicator estimates buying and selling pressure to spot **hidden trend reversals** (divergences) before price turns.

Calculates Estimated Volume Delta (CVD): Estimates whether buyers or sellers were in control during each candle based on where price closed relative to the candle's High-Low range.
Displays a Dual-Color Histogram: Plots a histogram in a separate window below the chart—Green for positive volume delta (buying pressure) and Red for negative volume delta (selling pressure).
Detects Divergences Automatically: Scans price swing points (fractals) against CVD levels:
Bullish Divergence (`+RD`): Price drops to a lower low, but buying volume rises (higher low in CVD). Signals a potential upward reversal.
Bearish Divergence (`-RD`): Price pushes to a higher high, but buying volume fades (lower high in CVD). Signals a potential downward reversal.


Draws Lines Directly on Your Chart: When a divergence occurs, it automatically draws matching trendlines and text labels on both your main price chart and the indicator window.

Happy PiP$.

Screenshot 2026-08-18 113117.pngScreenshot 2026-08-18 113649.png
very nice job !
are divergences happening on closed bar?
Scalping the Century TimeFrame since 1999

Re: CVD Divergence

64
Hi asgariHoo,

I am getting error on loading (attached), could you please compile for X64 in Metaeditor and share separately?

Thanks

asgariHoo wrote: Tue Aug 18, 2026 5:40 pm This indicator estimates buying and selling pressure to spot **hidden trend reversals** (divergences) before price turns.

Calculates Estimated Volume Delta (CVD): Estimates whether buyers or sellers were in control during each candle based on where price closed relative to the candle's High-Low range.
Displays a Dual-Color Histogram: Plots a histogram in a separate window below the chart—Green for positive volume delta (buying pressure) and Red for negative volume delta (selling pressure).
Detects Divergences Automatically: Scans price swing points (fractals) against CVD levels:
Bullish Divergence (`+RD`): Price drops to a lower low, but buying volume rises (higher low in CVD). Signals a potential upward reversal.
Bearish Divergence (`-RD`): Price pushes to a higher high, but buying volume fades (lower high in CVD). Signals a potential downward reversal.


Draws Lines Directly on Your Chart: When a divergence occurs, it automatically draws matching trendlines and text labels on both your main price chart and the indicator window.

Happy PiP$.

Screenshot 2026-08-18 113117.pngScreenshot 2026-08-18 113649.png


Re: CVD Divergence

68
asgariHoo wrote: Tue Aug 18, 2026 5:40 pm CVD Divergence indicator for MT5

This indicator estimates buying and selling pressure to spot **hidden trend reversals** (divergences) before price turns.
  • Calculates Estimated Cumulative Volume Delta (CVD): Estimates whether buyers or sellers were in control during each candle based on where price closed relative to the candle's High-Low range.
  • Displays a Dual-Color Histogram: Plots a histogram in a separate window below the chart—Green for positive volume delta (buying pressure) and Red for negative volume delta (selling pressure).
  • Detects Divergences Automatically: Scans price swing points (fractals) against CVD levels:
  • Bullish Divergence (`+RD`): Price drops to a lower low, but buying volume rises (higher low in CVD). Signals a potential upward reversal.
  • Bearish Divergence (`-RD`): Price pushes to a higher high, but buying volume fades (lower high in CVD). Signals a potential downward reversal.
Draws lines Directly on Your Chart: When a divergence occurs, it automatically draws matching trendlines and text labels on both your main price chart and the indicator window.

Happy PiP$.

PS: If you require a version compiled in X64, please see here.

Screenshot 2026-08-18 113117.pngScreenshot 2026-08-18 113649.png
Honey man very good indicator.............. love this one please add color selection for its divergence lines too 🙏🙏🙏

So good............... well done bro
Official Forex-station GIF animator at your service 👨‍⚖️
The best divergence indicator in the world.

Re: MT5 Volume indicators

69
Banzai wrote: Tue Dec 09, 2025 2:19 am DeltaFusionLite

Code: Select all

https://www.mql5.com/en/code/66864
Coder: Francesco Secchi
Date: Dec. 5, 2025

Cumulative Delta: Tracks aggregated buy and sell volume over time.
Net Delta: Shows the difference between buying and selling pressure for each bar.
Session Reset: Allows custom session start times for intraday analysis.
Smoothing: Includes EMA smoothing for cleaner and more readable delta curves.

Purpose:
Ideal for traders who want to monitor order flow dynamics, volume imbalances, and divergences between price and delta without complex multi-timeframe calculations. It’s lightweight, fast, and focused on essential delta metrics.

Examples of Divergences Detectable with DeltaFusion Lite:

Bullish Divergence
Price makes new lows, but Net Delta shows higher lows → selling pressure is weakening, possible bullish reversal.

Bearish Divergence
Price makes new highs, but Net Delta shows lower highs → buying pressure is fading, possible bearish reversal.

Hidden Divergence
Price makes a higher low, while Cumulative Delta makes a lower low → confirms continuation of the bullish trend.

Exhaustion Divergence
Strong price movement without confirmation in delta → indicates low participation, possible correction ahead.

Hello, is there a mt4 version?

Re: MT5 Volume indicators

70
Compression Breakout Channels with Buy and Sell Volume

coder: Bruno Nunes Myrrha Ribeiro
date: October 16, 2026

Quiet stretches are where this indicator looks: candles shrink, closes bunch together and the range stops expanding. It spots each compression while it forms, boxes it as a channel once it has lasted long enough, and marks the bar that leaves it. Inside every live channel it also shows how the volume of each bar was traded, buy against sell, so you see whether buying or selling dominated the squeeze before price picks a side.


Each channel is a gray box from the highest high to the lowest low of the compression, with a bearish band inside its top edge, a bullish band inside its bottom edge and a dashed midline. The box keeps growing to the right, bar after bar, until price breaks out.

From compression to channel
Every close is placed inside the high-low range of the last 100 bars as a number from 0 to 1, and the indicator follows the standard deviation of that number over 14 bars. Over the detection length, also 14 bars by default, it checks which came last: the highest deviation or the lowest. When the low becomes the more recent of the two, a compression starts. When the high takes over again and the compression has lasted more than ten bars, the channel is drawn over the whole stretch.

The edge bands are half an average true range tall, measured when the channel forms, so their height follows the volatility of the symbol and timeframe. The box sits behind the candles as a 10% tint of the chart's foreground color and the bands as a 30% tint of their own color, which keeps them readable on light and dark themes. With nested channels off, a new compression whose price range overlaps a live channel is skipped; switched on, channels can stack.

The breakout
By default a break needs the midpoint of the candle body beyond the channel edge, which means more than half of the body outside the box: a wick alone never breaks it. Switch that off and the close decides. A bullish break puts an up arrow at the bottom edge of the channel it left, and a bearish break puts a down arrow at the top edge.

A broken channel stops growing and stays on the chart with its midline and its last volume reading, so past compressions remain visible as context. Up to 166 broken channels are kept.

The arrows are indicator buffers, not chart objects: buffer 10 holds the price of the bullish arrow and buffer 11 the bearish one, with EMPTY_VALUE on every other bar. An Expert Advisor can read them through iCustom and CopyBuffer.

Volume inside the channel
The default readout splits the volume of each chart bar into buy and sell using the M1 bars inside it: a rising M1 bar counts as buying, a falling one as selling, and an unchanged one takes its side from its close against the previous M1 close. Volume is the tick volume of the bars. If the source timeframe is not lower than the chart's, the chart bar itself is used.

Volume candles: drawn from the midline of the newest live channel, buy volume upward and sell volume downward. Height is the volume divided by the 20-bar average volume, times a quarter of the channel height and the candle height setting, so the candles keep their proportion in a narrow channel and in a wide one.
Volume text: in thousands at the right end of each channel, placed in the band on the opposite side of price, for example 6.9K/-8.7K for buy and sell.
The other two readouts change both the candles and the text. Total volume mirrors one gray candle above and below the midline, darker as the bar's volume grows against its average, and writes a single number. Buy minus sell draws one candle, upward when buying wins and downward when selling wins, and writes the difference. Set the readout to off and the candles and text are removed, while channels, arrows and the gauge stay on the chart.

The delta gauge
To the right of the last bar, a column of 21 segments spans the height of the newest live channel, shading from the bearish color at the bottom to the bullish color at the top. A pointer marks where the current bar's buy minus sell volume sits between the lowest and the highest value seen since the latest compression started: at the top, the bar is the strongest buying bar of the stretch; at the bottom, the strongest selling one. It updates on every tick, and the gauge clears on a bar that breaks a channel.

Alerts
Alerts can be off, on breakouts only, or on breakouts and new channels. Each one is a pop-up sent once, when the bar closes, with the symbol, the timeframe and the event.

Inputs
Channels: allow nested channels (false), break on the body midpoint (true), normalization length (100 bars) and squeeze detection length (14 bars).
Volume: volume readout (off, total, buy and sell, buy minus sell; buy and sell by default), the timeframe the buy and sell split comes from (1 minute) and the volume candle height (0.5, from 0.1 to 2.0).
Colors: bullish and bearish. They paint the bands, the arrows, the volume candles and the gauge.
Alerts: off, breakouts, or breakouts and new channels.