Definition
Running total of signed volume: adds the bar's volume on up closes, subtracts on down closes. Rising OBV with flat price is accumulation.
Parameters
Asset, Interval
Output range: Unbounded (cumulative)
Example condition
`OBV(AAPL) > OBV(AAPL) 20 bars ago` — rising OBV confirms an uptrendUsage notes
OBV leads price at accumulation bottoms — the line turns up while price still chops sideways.
Use in a strategy
Add this indicator to a strategy condition, choose its supported parameters and compare the output with the threshold required by your rule. Preserve the same interval and lookback when comparing backtests.
After saving the condition, inspect its asset, interval, lookback and comparison operator against the parameters above. If no trades occur, check whether the condition ever became true and whether the requested input data exists for that period. A missing input is not a zero-valued signal. An indicator produces an input to a rule. It does not establish future returns, and data availability can differ across assets and periods.