BTC OI Delta (binance, okx, bybit, htx, bitget, deribit)📊 BTC Open Interest (OI) Delta (Binance, OKX, Bybit, HTX, Bitget, Deribit)
📝 Overview
This Pine Script indicator tracks and visualizes the changes (delta) in Bitcoin (BTC) open interest (OI) for perpetual futures across multiple major crypto exchanges: Binance, OKX, Bybit, Bitget, HTX, and Deribit. It calculates the total net delta by summing the OI delta from each exchange and displays positive (OI increase) and negative (OI decrease) deltas as separate column charts. Users can choose which exchanges to include or exclude and utilize the spike highlight feature to differentiate delta intensity with color based on user-defined thresholds.
⚡ Key Features
🌐 Multi-exchange OI delta tracking
Fetches and calculates BTC perpetual futures OI delta individually from Binance, OKX, Bybit, Bitget, HTX, and Deribit.
📈 Total net delta calculation
Sums the OI delta from all selected exchanges to represent overall market open interest changes.
🎨 Visualization
Column plots: Displays net OI increases (positive delta) and decreases (negative delta) as separate column charts for intuitive trend analysis.
Spike highlights: Changes in OI delta are color-coded according to user-defined thresholds to make significant moves easily identifiable.
⚙️ User settings
Users can select which exchanges to display, enable/disable spike highlights, and set thresholds for “strong” and “very strong” OI delta changes.
🛠 Input Settings
Show Zero Line (bool, default: true): Show a zero baseline on the chart.
Highlight Spikes (bool, default: true): Enable color highlighting based on OI delta intensity.
Strong Threshold (int, default: 1000): Delta value considered a “strong” change (in BTC).
Very Strong Threshold (int, default: 2000): Delta value considered a “very strong” change (in BTC).
Show Binance (bool, default: true): Include Binance OI delta.
Show OKX (bool, default: true): Include OKX OI delta.
Show Bybit (bool, default: true): Include Bybit OI delta.
Show Bitget (bool, default: true): Include Bitget OI delta.
Show HTX (bool, default: true): Include HTX OI delta.
Show Deribit (bool, default: true): Include Deribit OI delta.
🔢 Calculation Method
🧮 Individual OI request
Uses request.security() to fetch OI data from each exchange.
➕ Delta calculation
Current bar OI minus previous bar OI (oi - oi ).
❌ Handling na values
If OI data is missing (exchange disabled or no data), the delta is treated as 0 to avoid sum errors.
🔗 Total net delta
Sums all selected exchange deltas as totalCombinedDelta.
↔️ Separate net increase/decrease
Positive (netIncreaseCombined) and negative (netDecreaseCombined) parts of total delta are split.
🎨 Color determination
getNetDeltaHighlightedColor function dynamically sets column colors based on highlightSpike and threshold settings.
🎨 Color Scheme
Highlight disabled:
Positive delta: teal shades
Negative delta: red shades
Highlight enabled:
Positive delta (normal): dark teal (#026628)
Positive delta (strong): bright teal (#00ff95)
Positive delta (very strong): yellow (#eeff00)
Negative delta (normal): dark red (#6b0d0d)
Negative delta (strong): bright red (#ff1044)
Negative delta (very strong): pink (#ff00ea)
📊 Usage
💹 Market sentiment analysis
Total net OI delta increase → capital inflow and position building
Total net OI delta decrease → capital outflow and position liquidation
⚖️ Position interpretation
BTC rising + positive OI delta → increasing long positions
BTC falling + negative OI delta → decreasing long positions
BTC falling + positive OI delta → increasing short positions
BTC rising + negative OI delta → decreasing short positions
📈 Trend confirmation
Sustained positive delta → bullish signal
Sustained negative delta → bearish signal
🌪 Volatility prediction
“Strong” or “very strong” spikes may indicate increased price volatility.
🏦 Exchange-specific impact
Enable/disable exchanges to analyze how each exchange’s OI changes affect the overall market.
Btcvolume
Aggregate BTC Volume Spot - Ma78erAggregate BTC Volume indicator show aggregates trading volumes of Bitcoin from multiple trading platforms.
Exchange Include:
1: Binance - BTC(USDT, USDC, FDUSD, TUSD)
2: Coinbase - BTC(USD, EUR, USDT, GBP)
3: OKX - BTC(USDT, USDC)
4: BYBIT - BTC(USDT, USDC)
5: KUCOIN - BTC(USDT, USDC)
6: KRAKEN - BTC(USD, EUR, USDT, GBP, USDC)
7: Bitfinex - BTC(USD, EUR, GBP)
8: Bitstamp - BTC(USD, EUR, USDT, GBP, USDC)
9: GATEIO - BTC(USDT)
You can also add other exchange in script manually.
Aggregate BTC VolumeSimple script that shows the aggregate volume of BTC, taking volume data from top spot and derivative exchanges.
24h volume by 100eyesIntroducing the 24h volume indicator on Tradingview!
DM me (Trading-Guru) here on Tradingview to get access to this indicator.
100eyes asked me to create a new Tradingview indicator that estimates the 24h volume of a pair. Works for all BTC/USDT/USD/ETH crypto pairs. You can choose to display the 24h volume in BTC or USD(T).
This indicator allows you to:
Check the 24h volume of a pair without having to check the website of the exchange
Quickly compare 24h volumes across pairs, e.g. ADABTC to ADAUSDT
Quickly compare 24h volumes of pairs across different exchanges
Volume is an important factor in crypto trading to estimate liquidity. Use this indicator to adjust your position size according to the volume of a pair.
Even on the website of an exchange, it's difficult to compare volume since for example volumes of USDT pairs are expressed in USDT, and volumes of BTC pairs are expressed in BTC. This indicator solves that problem by expressing everything in the same currency, and also directly on Tradingview!
F.A.Q.
Q: How do I get access to the indicator?
A: DM Trading-Guru on Tradingview.
Q: Why are there different values for different timeframes?
A: That is due to Tradingview limitations. The smaller the timeframe, the more accurate the displayed value. The timeframe you're looking at equals the maximum amount of lag.
Q: I'm on the Tradingview mobile app, why is the value is not displayed next to the indicator's name?
A: Click somewhere inside the chart. Then the indicator value will appear.



