OPEN-SOURCE SCRIPT
Updated

BTC OI Delta

651
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
  • 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.

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.