Overview
Active Buy/Sell Volume displays buy and sell volume as separate series with built-in statistical anomaly detection. Unlike standard volume bars that show total volume, this indicator splits it into aggressive buying and aggressive selling, then highlights bars where volume significantly exceeds the rolling average. This is the go-to indicator for spotting institutional-size activity hidden within normal market noise.How It Works
For each bar, the indicator:- Separates total volume into buy volume (trades executed at the ask) and sell volume (trades executed at the bid).
- Displays them as separate columns in the subchart.
- Computes a rolling average and standard deviation over the
calculationPeriod. - Flags bars where volume exceeds the rolling mean by more than
stdDevMultiplierstandard deviations. - Renders anomaly bars in distinct colors and places a dot marker above/below them.
Chart Type
Settings
Core Parameters
Colors
Display Options
Anomaly Detection
The anomaly system is the core feature of this indicator. It uses a simple but effective statistical model:- The bar is rendered in the anomaly color (lime green for buy, orange for sell).
- A dot marker of
dotSizepixels is placed above (buy) or below (sell) the bar.
Tuning the Detection
Interpretation
Normal vs. Anomaly Bars
Normal bars (green/red) represent typical market activity within the expected range. Anomaly bars (lime/orange) represent statistically significant deviations — something unusual happened.Anomaly Patterns
Volume Asymmetry
When buy anomalies appear but sell volume remains normal (or vice versa), there is a clear directional asymmetry. This is often more significant than overall volume spikes because it shows one-sided aggression.The
minVolumeThreshold parameter is useful on lower timeframes where small trades can create statistical noise. Set it above the typical small-trade size for your market to focus on meaningful activity.Display Modes
While the defaultcolumns mode is most intuitive for volume data, other modes are available:
Practical Examples
- Support defense: Price tests support, anomaly buy bar appears — institutional buyer stepping in, strong bounce signal.
- Breakout confirmation: Price breaks resistance with anomaly buy volume — real demand behind the move.
- Exhaustion detection: Anomaly sell bar after extended downtrend, price stabilizes — selling climax, potential bottom.
- Absorption: Anomaly buy bars with flat price — someone is buying heavily but price is not moving, absorption by passive sellers (or vice versa).
Related Indicators
- Delta Volume — net difference (buy minus sell) per bar
- CVD — cumulative delta for trend analysis
- Enhanced Liquidations — forced volume events