PROTECTED SOURCE SCRIPT
Open Interest Delta Aggregate

Open Interest Delta - By Randy (Multi-Exchange Version)This Pine Script indicator calculates and displays the daily change (delta) in total Open Interest across multiple major perpetual futures exchanges.Key Features:Aggregates Open Interest from Binance, OKX, ByBit, Bitget, HTX, and the current chart’s exchange (if any).
You toggle each exchange on/off individually — it automatically sums all active sources.
Plots OI Delta as histogram columns (Type 1 = combined, Type 2 = separate positive/negative).
Uses dynamic thresholds based on standard deviation of positive/negative OI delta EMA to classify changes as:Normal (yellow)
Medium (orange)
Large (red)
Extreme (purple)
Optionally colors price candles when OI delta crosses these significant thresholds (great for spotting big money moves).
Works best on daily timeframe (automatically switches to daily OI data even if you're viewing lower timeframes).
In Simple Terms:It shows you when huge amounts of new positions (long or short) are being opened across the biggest crypto futures exchanges — a powerful signal of institutional/smart money activity and potential trend strength or reversals. The more exchanges light up with extreme OI delta, the stronger the conviction behind the move.
You toggle each exchange on/off individually — it automatically sums all active sources.
Plots OI Delta as histogram columns (Type 1 = combined, Type 2 = separate positive/negative).
Uses dynamic thresholds based on standard deviation of positive/negative OI delta EMA to classify changes as:Normal (yellow)
Medium (orange)
Large (red)
Extreme (purple)
Optionally colors price candles when OI delta crosses these significant thresholds (great for spotting big money moves).
Works best on daily timeframe (automatically switches to daily OI data even if you're viewing lower timeframes).
In Simple Terms:It shows you when huge amounts of new positions (long or short) are being opened across the biggest crypto futures exchanges — a powerful signal of institutional/smart money activity and potential trend strength or reversals. The more exchanges light up with extreme OI delta, the stronger the conviction behind the move.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.