Why relative volume needs a time-of-day baseline
Relative volume (RVOL) compares current activity with a historical reference. Intraday volume is often concentrated near the opening and closing auctions, so comparing partial-session volume with a full-day average can misclassify unusually active trading as quiet. A time-matched cumulative RVOL compares like with like.
Formula and worked example
RVOL(t) = cumulative volume today through time t / mean cumulative volume through time t over N prior comparable sessions. Exclude the current session from the denominator. For example, suppose five prior sessions recorded 100,000, 110,000, 120,000, 130,000 and 140,000 shares by 10:00. Their mean is 120,000. Today's 240,000 shares at 10:00 produce RVOL = 2.00. If the historical full-day average is 300,000, the misleading partial-to-full-day comparison is 0.80. All figures are hypothetical.

Interpretation and confirmation
RVOL above one indicates greater activity than the selected baseline, not buying pressure. A breakout accompanied by RVOL of 2 may reflect participation, but a close back inside the range can indicate rejection. Check closing location, market structure and spread independently. A high-volume decline can be equally significant. A threshold such as 1.5 is a research hypothesis, not a universal rule.
Practical implementation
Define the exchange session, time zone and bar completion rule first. Store cumulative volume for each historical session at the same elapsed time. Calculate the reference using only completed prior sessions. If the denominator is zero or there are too few comparable observations, mark RVOL unavailable. Distinguish cumulative RVOL from single-bar RVOL, which compares individual bars at corresponding times. Do not mix the two.
Failure cases and limitations
Early closes, holidays, earnings releases, contract rolls and changes in trading hours can distort the reference. Separate regular and extended sessions. For decentralized FX, tick volume is not centralized traded volume. A median baseline may reduce sensitivity to exceptional days, but changes the definition and must be documented. High RVOL can also accompany liquidation, exhaustion or news-driven reversals.
Validation and risk
Compare a fixed price signal with and without the RVOL filter using identical execution assumptions. Select thresholds on training data, freeze them before out-of-sample evaluation, and include commissions, spread and slippage. Report trade count, drawdown and net expectancy, not just win rate. Test sensitivity to lookback length and session definitions. No historical test has been performed for this example. Volume filters cannot guarantee profitability or prevent losses.
For customized session-aware volume indicators and alerts, explore our Custom Trading Software Development Services.