Volume indicators use trading volume to confirm or contradict price movements. Strong price moves accompanied by high volume are more reliable than moves on thin volume. These indicators help distinguish genuine breakouts from false signals.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ta4j/ta4j/llms.txt
Use this file to discover all available pages before exploring further.
VolumeIndicator
VolumeIndicator
VolumeIndicator
VolumeIndicator(BarSeries series)— raw volume per barVolumeIndicator(BarSeries series, int barCount)— sum of volume overbarCountbars
Indicator<Num> so it can compose with other indicators.VWAP family
VWAPIndicator — Volume-Weighted Average Price
VWAPIndicator — Volume-Weighted Average Price
VWAPIndicator(BarSeries series, int barCount)— rolling VWAP overbarCountbars using typical priceVWAPIndicator(Indicator<Num> priceIndicator, Indicator<Num> volumeIndicator, int barCount)— custom price/volume sources
sum(typicalPrice × volume, n) / sum(volume, n). Unlike the traditional intraday VWAP (which resets daily), this rolls over any fixed window.AnchoredVWAPIndicator
AnchoredVWAPIndicator
AnchoredVWAPIndicator(BarSeries series, int anchorIndex)Cumulative VWAP starting from a specific bar index (e.g., start of session, earnings date, or swing low). The cumulative calculation resets at anchorIndex.MVWAPIndicator — Moving VWAP
MVWAPIndicator — Moving VWAP
MVWAPIndicator(VWAPIndicator vwapIndicator, int barCount)Moving average of a VWAP indicator. Smooths the VWAP signal further.VWAPDeviationIndicator and VWAPStandardDeviationIndicator
VWAPDeviationIndicator and VWAPStandardDeviationIndicator
VWAPDeviationIndicator(VWAPIndicator vwap, int barCount)— sum of squared price deviations from VWAPVWAPStandardDeviationIndicator(VWAPIndicator vwap, int barCount)— standard deviation of price from VWAP
VWAPBandIndicator
VWAPBandIndicator
VWAPBandIndicator(VWAPIndicator vwap, VWAPStandardDeviationIndicator deviation, double multiplier, boolean isUpper)Computes upper or lower VWAP band: VWAP ± multiplier × VWAPStdDev.VWAPZScoreIndicator
VWAPZScoreIndicator
VWAPZScoreIndicator(VWAPIndicator vwap, int barCount)Z-score of close price relative to VWAP, using VWAPStandardDeviationIndicator. Identifies how many standard deviations the price sits away from VWAP.On-Balance Volume and Accumulation/Distribution
OnBalanceVolumeIndicator — OBV
OnBalanceVolumeIndicator — OBV
OnBalanceVolumeIndicator(BarSeries series)Cumulative total: adds bar volume when close is higher than previous close, subtracts when lower. Trend in OBV should confirm trend in price; divergence signals potential reversals.AccumulationDistributionIndicator — A/D Line
AccumulationDistributionIndicator — A/D Line
AccumulationDistributionIndicator(BarSeries series)Cumulative sum of money flow volume (close location value × volume). Tracks smart-money buying/selling pressure. Divergence from price often precedes reversals.Chaikin indicators
ChaikinMoneyFlowIndicator — CMF
ChaikinMoneyFlowIndicator — CMF
ChaikinMoneyFlowIndicator(BarSeries series, int barCount)Rolling sum of Close Location Value × Volume, divided by rolling volume sum. Ranges from -1 to +1. Values above 0 indicate buying pressure; below 0 indicate selling pressure.ChaikinOscillatorIndicator
ChaikinOscillatorIndicator
ChaikinOscillatorIndicator(BarSeries series, int shortBarCount, int longBarCount)MACD of the A/D Line: EMA(short, A/D) - EMA(long, A/D). Signals changes in accumulation/distribution momentum.Money Flow Index
MoneyFlowIndexIndicator — MFI
MoneyFlowIndexIndicator — MFI
MoneyFlowIndexIndicator(BarSeries series, int barCount)Volume-weighted RSI using typical price. Ranges 0–100. Above 80 = overbought; below 20 = oversold. More reliable than RSI because high-volume moves are weighted more heavily.Force Index, Ease of Movement
ForceIndexIndicator
ForceIndexIndicator
ForceIndexIndicator(BarSeries series, int barCount)EMA(barCount, (close - prevClose) × volume). Combines price change and volume into a single value. Large positive force = strong buying; large negative = strong selling.EaseOfMovementIndicator
EaseOfMovementIndicator
EaseOfMovementIndicator(BarSeries series, int barCount)Measures how easily price moves based on the relationship between price change and volume. High EOM = price rises easily on little volume.PVI and NVI
PVIIndicator and NVIIndicator
PVIIndicator and NVIIndicator
PVIIndicator(BarSeries series)— Positive Volume Index: adjusts only on days volume increasesNVIIndicator(BarSeries series)— Negative Volume Index: adjusts only on days volume decreases
Additional volume indicators
PVOIndicator — Percentage Volume Oscillator
PVOIndicator — Percentage Volume Oscillator
PVOIndicator(BarSeries series, int shortBarCount, int longBarCount, int signalBarCount)Volume analog of PPO: percentage difference between two volume EMAs. Identifies when volume is expanding or contracting relative to the recent average.MassIndexIndicator
MassIndexIndicator
MassIndexIndicator(BarSeries series, int emaBarCount, int barCount)Measures the narrowing and widening of the high–low range to detect reversals. A “reversal bulge” occurs when the mass index crosses above 27 then falls below 26.5.MarketFacilitationIndexIndicator
MarketFacilitationIndexIndicator
MarketFacilitationIndexIndicator(BarSeries series)Bill Williams’ MFI: (high - low) / volume. Measures price range per unit of volume. High MFI = the market is moving efficiently.IIIIndicator — Intraday Intensity Index
IIIIndicator — Intraday Intensity Index
IIIIndicator(BarSeries series)((2 × close - high - low) / ((high - low) × volume)). Measures intraday buying/selling pressure.KlingerVolumeOscillatorIndicator
KlingerVolumeOscillatorIndicator
KlingerVolumeOscillatorIndicator(BarSeries series, int shortBarCount, int longBarCount)Oscillator designed to predict price reversals by comparing volume flow to long-term price trend.RelativeVolumeStandardDeviationIndicator
RelativeVolumeStandardDeviationIndicator
RelativeVolumeStandardDeviationIndicator(BarSeries series, int barCount)Z-score of current volume relative to its rolling mean and standard deviation. Values above 2 indicate unusually high volume.ROCVIndicator — Rate of Change of Volume
ROCVIndicator — Rate of Change of Volume
ROCVIndicator(BarSeries series, int barCount)Percentage change in volume over barCount bars. Helps confirm whether volume is expanding or contracting.TimeSegmentedVolumeIndicator
TimeSegmentedVolumeIndicator
TimeSegmentedVolumeIndicator(BarSeries series, int barCount)Divides volume into buying and selling segments based on close relative to prior close, summed over a rolling window.