PROTECTED SOURCE SCRIPT
Smart OI & Funding + Market Ref

Smart OI & Funding + Market Ref is a professional-grade tool designed for crypto perpetual traders who need accurate, real-time sentiment data without the hassle of manual configuration. It solves the common "Symbol Not Found" and NaN errors by using an intelligent symbol detection engine.
This indicator plots the Open Interest (OI) and Funding Rates for your current chart while simultaneously monitoring the broader market sentiment by displaying real-time funding rates for BTC and ETH on the dashboard.
Key Features
🧠 Smart Symbol Detection: automatically detects your current exchange (Binance, Bybit, OKX, etc.) and tries multiple ticker formats (e.g., .P, _OI, _FR) to find valid data. No more manual ticker searching.
📊 Dual-Pane Visualization:
Open Interest (Line): Displayed as a smoothed line area to visualize market participation and trend strength.
Funding Rate (Columns): Color-coded columns (Teal/Red) to instantly spot bullish or bearish sentiment extremes.
⚡ Real-Time Dashboard: A clean, non-intrusive table in the top-right corner displays:
Current Stats: Exact OI (formatted in Millions/Billions) and Funding Rate % for the coin you are viewing.
Market Reference: Live Funding Rates for BTCUSDT and ETHUSDT from your specific exchange to use as a baseline for market sentiment.
How to Use
1. Add to Chart: Apply the indicator to any Crypto Perpetual Futures chart (e.g., BTCUSDT.P, SOLUSDT.P).
2. Scale Setup (Important): Since Open Interest (Millions) and Funding Rates (0.01%) have vastly different values, you must separate their scales:Right-click the Blue Line (OI) $\rightarrow$ Select Pin to Scale Right.Right-click the Columns (Funding) $\rightarrow$ Select Pin to Scale Left.
3. Interpret the Data:High OI + Positive Funding: Strong Bullish sentiment (Longs paying Shorts). Watch for Long Squeezes.High OI + Negative Funding: Strong Bearish sentiment (Shorts paying Longs). Watch for Short Squeezes.Dashboard Ref: Compare your coin's funding to BTC/ETH. If your coin has 0.1% funding while BTC is 0.01%, your crypto is significantly "hotter" than the market average.
This indicator plots the Open Interest (OI) and Funding Rates for your current chart while simultaneously monitoring the broader market sentiment by displaying real-time funding rates for BTC and ETH on the dashboard.
Key Features
🧠 Smart Symbol Detection: automatically detects your current exchange (Binance, Bybit, OKX, etc.) and tries multiple ticker formats (e.g., .P, _OI, _FR) to find valid data. No more manual ticker searching.
📊 Dual-Pane Visualization:
Open Interest (Line): Displayed as a smoothed line area to visualize market participation and trend strength.
Funding Rate (Columns): Color-coded columns (Teal/Red) to instantly spot bullish or bearish sentiment extremes.
⚡ Real-Time Dashboard: A clean, non-intrusive table in the top-right corner displays:
Current Stats: Exact OI (formatted in Millions/Billions) and Funding Rate % for the coin you are viewing.
Market Reference: Live Funding Rates for BTCUSDT and ETHUSDT from your specific exchange to use as a baseline for market sentiment.
How to Use
1. Add to Chart: Apply the indicator to any Crypto Perpetual Futures chart (e.g., BTCUSDT.P, SOLUSDT.P).
2. Scale Setup (Important): Since Open Interest (Millions) and Funding Rates (0.01%) have vastly different values, you must separate their scales:Right-click the Blue Line (OI) $\rightarrow$ Select Pin to Scale Right.Right-click the Columns (Funding) $\rightarrow$ Select Pin to Scale Left.
3. Interpret the Data:High OI + Positive Funding: Strong Bullish sentiment (Longs paying Shorts). Watch for Long Squeezes.High OI + Negative Funding: Strong Bearish sentiment (Shorts paying Longs). Watch for Short Squeezes.Dashboard Ref: Compare your coin's funding to BTC/ETH. If your coin has 0.1% funding while BTC is 0.01%, your crypto is significantly "hotter" than the market average.
סקריפט מוגן
סקריפט זה פורסם כמקור סגור. עם זאת, תוכל להשתמש בו בחופשיות וללא כל מגבלות – למד עוד כאן
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט מוגן
סקריפט זה פורסם כמקור סגור. עם זאת, תוכל להשתמש בו בחופשיות וללא כל מגבלות – למד עוד כאן
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.