OPEN-SOURCE SCRIPT
Updated BTC OI Delta

BTC OI Delta
Aggregates open interest data from major Bitcoin perpetual futures exchanges and displays the bar-by-bar change as a smoothed histogram. Green bars indicate OI is growing (new positions opening); red bars indicate OI is shrinking (positions closing or being liquidated).
Settings
`SMA` — smoothing length applied to the raw OI delta. Increase to reduce noise, decrease for faster response. Default: 3.
Data Sources
Aggregates open interest data from major Bitcoin perpetual futures exchanges and displays the bar-by-bar change as a smoothed histogram. Green bars indicate OI is growing (new positions opening); red bars indicate OI is shrinking (positions closing or being liquidated).
Settings
`SMA` — smoothing length applied to the raw OI delta. Increase to reduce noise, decrease for faster response. Default: 3.
Data Sources
- Binance — `BINANCE:BTCUSDT.P_OI`
- OKX — `OKX:BTCUSDT.P_OI`
- Bybit — `BYBIT:BTCUSDT.P_OI`
- Bitfinex — `BITFINEX:BTCF0:USTF0_OI`
Release Notes
Rewritten in a more intuitive CVD candle format.Release Notes
Rewritten in a more intuitive CVD candle format.Release Notes
The code has been cleaned up.Release Notes
Added exchanges: BitMEX, Deribit, Kraken, HTX (formerly Huobi), and Gate.io.Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.