Aura Volume Delta Matrix [Pineify]Aura Volume Delta Matrix
This indicator measures the net demand pressure behind each bar by separating candle volume into buying and selling components, smoothing the difference, and plotting it as a gradient histogram against a signal line. Rather than treating volume as a single unsigned number, it asks: how much of this bar's volume was buying versus selling? The answer — volume delta — reveals whether the crowd was net accumulating or distributing, even when price barely moved.
Key Features
Candle-polarity volume split: full bar volume attributed to buyers when close > open, sellers when close < open, and split 50/50 on doji candles
Dual EMA smoothing pipeline — one pass to extract the trend from noisy raw delta, a second pass to generate a crossover signal line
Normalized gradient histogram: bar intensity scales to the 100-bar rolling maximum, so weak readings appear faint and strong readings appear saturated, giving an immediate visual sense of magnitude relative to recent history
Crossover signals that only fire when delta is already on the correct side of zero — filtering out shallow, mean-reverting crosses that would otherwise generate noise
How It Works
The calculation pipeline has three stages.
Volume attribution: Each bar's total volume is assigned to buyers or sellers based on candle polarity. A bullish close (close > open) attributes 100% to buyers; a bearish close (close < open) attributes 100% to sellers; equal open and close splits it evenly. This is a bar-level proxy for order flow — not tick-level CVD, but a reasonable approximation available on any timeframe without premium data.
Delta smoothing: Raw delta (bullVol − bearVol) is noisy on its own. A configurable EMA (default 14) removes single-bar spikes and reveals the directional bias over recent bars. This smoothed delta is what plots as the histogram.
Signal line: A second EMA (default 9) is applied to the smoothed delta. This behaves like the MACD signal line — when the histogram crosses above it while already positive, demand is re-accelerating from a bullish baseline; crossing below while negative signals the opposite.
The gradient coloring normalizes the histogram against its own 100-bar peak, so you can immediately tell whether current delta intensity is historically significant or just routine churn.
How the Components Work Together
The two-pass EMA structure is intentional. A single EMA of raw delta would react quickly but produce too many false crosses. By smoothing first and then deriving a signal from the smoothed output, the crossover logic only fires when momentum has already built enough to survive the first layer of filtering. The zero-side gate on signals adds a second filter: a bullish crossover below zero means demand is recovering within a still-bearish context, which is a weaker setup than a crossover that occurs while net buying is already dominant. Together these two conditions — crossover confirmed by zero-side context — push the signal rate down and focus it on higher-conviction shifts.
Trading Ideas and Insights
Use bullish crossovers (delta crosses above signal while delta > 0) as a candidate entry trigger on trending assets. Consider waiting for price to also be above a longer-period moving average before acting on the signal.
Divergence between price making a new high and delta making a lower high may indicate absorption — sellers stepping in at resistance without moving price yet. This is worth watching rather than acting on automatically.
On ranging markets, delta will oscillate around zero and the smoothing will compress toward the baseline. Low histogram intensity (faint gradient bars) visually signals low-conviction conditions where crossover signals are less reliable.
The signal line alert conditions can be used to push notifications when the crossover setup occurs, removing the need to watch the chart continuously. Still, confirm with price structure before entering.
As with any volume-based indicator, results vary by asset liquidity and data provider. Crypto and futures markets with transparent volume data tend to produce cleaner delta readings than instruments where reported volume is an estimate.
Unique Aspects
The gradient normalization against a rolling 100-bar peak is a visual improvement over fixed-scale histograms: it adapts to each instrument's typical volume range without manual scaling, making the chart readable across different assets.
The zero-side signal filter avoids a common problem in oscillator crossover systems — signals that fire during shallow pullbacks within a larger counter-trend, where the histogram is technically crossing but the broader context is unfavorable.
The doji split (50/50 at open = close) is a minor but honest edge case handling that most simplified volume delta scripts skip.
How to Use
Add the indicator to any chart. It works on all timeframes, though intraday timeframes tend to show more granular delta shifts.
Watch histogram color and intensity. Solid, saturated green bars suggest strong net buying relative to recent history; faint bars suggest low-conviction buying or a quiet session.
Look for crossovers of the orange signal line. Bullish: histogram rises through the signal line while above zero. Bearish: histogram falls below the signal while below zero. Half-crossovers (histogram crosses signal but is on the wrong side of zero) are filtered from alerts.
Set alerts via the indicator's alert conditions if you want to monitor for crossover setups without watching the chart.
Customization
Delta Smoothing Length (default: 14) — Controls how much the raw volume delta is smoothed before plotting. Higher values produce a slower, more stable histogram but introduce more lag. Lower values react faster and may show more noise.
Signal Line Length (default: 9) — The EMA length applied to the smoothed delta to create the crossover trigger. Shorter values generate more frequent signals; longer values are more selective.
Bullish / Bearish / Signal Colors — Fully customizable to match your chart theme or personal preference.
Conclusion
Aura Volume Delta Matrix translates raw bar volume into a directional demand measure, smooths it through a dual-EMA pipeline, and presents the result as a gradient histogram with a signal-line crossover system. It's most useful for traders who want a volume-based confirmation layer that isn't just "volume went up" but instead reflects which side of the trade had more participation. Pair it with price structure or trend context for best results — no volume indicator tells the full story on its own.
Chỉ báo Pine Script®






















