Community scripts › Built into Depth › OBV
What it shows
On-balance volume in a pane: volume added on up closes and subtracted on down closes.
How to read it
Part of Swiftedge Plus: it runs in Depth on the real trades and order book, with its own settings. Members turn it on under Indicators; the guide explains every setting.
How it's calculated
On-balance volume adds the candle's volume when the close is higher than the previous close and subtracts it when it is lower. Depth also draws a 20-candle average of OBV. Volume is counted in the market's own unit.
What it can't tell you
The OBV number itself depends on where the count starts, so only its direction and its position against its average carry information.
OBV on 9 markets right now
| Market | Price | OBV change | Reading | |
|---|---|---|---|---|
| Bitcoin | 72,070 | -26,415 BTC over 20 candles | OBV below its 20-candle average | Open chart › |
| Gold | 3,899.33 | -12,405 XAU over 20 candles | OBV below its 20-candle average | Open chart › |
| Ethereum | 2,012 | -302,220 ETH over 20 candles | OBV below its 20-candle average | Open chart › |
| Solana | 81.47 | -931,456 SOL over 20 candles | OBV below its 20-candle average | Open chart › |
| XRP | 1.0303 | -33,022,554 XRP over 20 candles | OBV below its 20-candle average | Open chart › |
| US 500 | 7,590.40 | -8,337 US500 over 20 candles | OBV below its 20-candle average | Open chart › |
| US 100 | 28,241.2 | -3,700 US100 over 20 candles | OBV below its 20-candle average | Open chart › |
| Silver | 50.451 | -485,815 XAG over 20 candles | OBV below its 20-candle average | Open chart › |
| WTI crude oil | 85.39 | -55,892 WTI over 20 candles | OBV above its 20-candle average | Open chart › |
Settings in Depth
| Timeframe | the chart's timeframe (or a fixed 1m to 1D) |
| Signal MA length (0 = off) | 20 |
FAQ
Why does the table show the change over 20 candles instead of OBV itself?
The level of OBV depends on the first candle loaded. The change over 20 candles and the position against its average do not.
Is OBV the same as CVD?
No. OBV adds the whole candle's volume by the direction of the close; CVD adds aggressive buying minus aggressive selling from the actual trades.
Can I switch the average off?
Yes, set the signal MA length to 0.
More in Classic indicators

Three-candle gaps where price moved too fast to trade both ways; shown until price fills them.

Up to three simple, exponential or weighted moving averages of the close.

An ATR trailing line under price in uptrends and over price in downtrends; it flips when a candle closes through it.
