OPEN-SOURCE SCRIPT
Price vs OI 24h Relative Change

📘 How to Use – Price vs Open Interest (24h Relative Change)
This indicator compares price movement and open interest (OI) change over the last 24 hours, allowing you to better understand market positioning and trader behavior.
It does not generate signals by itself. It is designed as a context and confirmation tool.
🔹 What the Indicator Shows
Price Δ (green area)
The percentage change in price compared to 24 hours ago.
Open Interest Δ (purple area)
The percentage change in open interest compared to 24 hours ago
(based on Binance BTCUSDT perpetual futures).
Zero line
The 24h baseline. Values above zero indicate an increase, below zero a decrease.
🔹 How to Interpret the Relationship
📈 Price ↑ & OI ↑
➡️ New positions are being opened in the direction of the move
This usually confirms trend continuation.
📈 Price ↑ & OI ↓
➡️ Short positions are being closed
This often indicates a short squeeze or short covering rally, which can be less sustainable.
📉 Price ↓ & OI ↑
➡️ New short positions are entering the market
This suggests bearish conviction and possible downside continuation.
📉 Price ↓ & OI ↓
➡️ Positions are being closed on both sides
Often seen during deleveraging, consolidation, or range conditions.
🔹 How to Use It in Practice
Use it as a confirmation tool alongside price action
Compare price structure with OI behavior
Identify whether moves are driven by new positioning or position closures
Works on all timeframes (intraday to swing)
⚠️ Important Notes
This indicator is non-repainting
It uses relative changes, not absolute values
It is best used to understand market structure, not as a standalone trading system
This indicator compares price movement and open interest (OI) change over the last 24 hours, allowing you to better understand market positioning and trader behavior.
It does not generate signals by itself. It is designed as a context and confirmation tool.
🔹 What the Indicator Shows
Price Δ (green area)
The percentage change in price compared to 24 hours ago.
Open Interest Δ (purple area)
The percentage change in open interest compared to 24 hours ago
(based on Binance BTCUSDT perpetual futures).
Zero line
The 24h baseline. Values above zero indicate an increase, below zero a decrease.
🔹 How to Interpret the Relationship
📈 Price ↑ & OI ↑
➡️ New positions are being opened in the direction of the move
This usually confirms trend continuation.
📈 Price ↑ & OI ↓
➡️ Short positions are being closed
This often indicates a short squeeze or short covering rally, which can be less sustainable.
📉 Price ↓ & OI ↑
➡️ New short positions are entering the market
This suggests bearish conviction and possible downside continuation.
📉 Price ↓ & OI ↓
➡️ Positions are being closed on both sides
Often seen during deleveraging, consolidation, or range conditions.
🔹 How to Use It in Practice
Use it as a confirmation tool alongside price action
Compare price structure with OI behavior
Identify whether moves are driven by new positioning or position closures
Works on all timeframes (intraday to swing)
⚠️ Important Notes
This indicator is non-repainting
It uses relative changes, not absolute values
It is best used to understand market structure, not as a standalone trading system
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。