Create a Custom Open Interest Indicator in Pine Script (TradingView Guide) |

Опубликовано: 12 Июль 2026
на канале: Stock Data Analysis
10,561
247

Open Interest Analysis in TradingView using Pine Script | Step-by-Step Tutorial
In this video, we'll explore how to analyze Open Interest (OI) using Pine Script in TradingView. Open Interest is a key metric in options and futures trading that shows the number of active contracts in the market. It can help traders gauge market sentiment, spot trend strength, and detect reversals.

This indicator appears to be a Futures Open Interest (OI) Analysis Tool designed to help traders understand market sentiment (long/short bias), cost of carry dynamics, and rollover behaviour. Below is a comprehensive description along with the formulas used:

To analyze futures market trends using:
Price change
Open Interest (OI) data
Cost of Carry (COC)
Rollover percentage

Column Breakdown and Formulas:
Date : Trading date.
Close : Close price of the spot on that day.
OI Cur (Current Open Interest) : Total open interest of the current (near) month contract.
OI Next (Next Month Open Interest) : Open interest of the next month contract.
COI (Cumulative Open Interest) : OI Cur + OI Next
COI Chg = ((Current COI - Previous COI) / Previous COI) × 100
Price Cng = ((Current Close - Previous Close) / Previous Close) × 100
OI BuildUP (Interpreted sentiment based on price & OI change):
Long Buildup : Price ↑ & OI ↑
Short Buildup : Price ↓ & OI ↑
Short Covering : Price ↑ & OI ↓
Long Unwinding : Price ↓ & OI ↓



Indicator Link :- https://in.tradingview.com/script/YX6...
For Update Join :- https://t.me/Stock_Data_Analysis
For any query can message me :-
WhatsApp :- https://wa.me/message/VT4AGOK53KL6B1
Telegram :- https://t.me/Bhattacharya_S

#openinterest
#tradingview
#pinescript
#stockscanner
#daytrading
#stockmarket
#tradingstrategy
#algotrading
#marketopen
#codewithme

#stockdataanalysis
http://bit.ly/3fa1yFy