INVITE-ONLY SCRIPT
已更新 Open/Close Volume

Open/Close Volume Indicator
The Open/Close Volume Indicator provides a breakdown of trading volume based on Open Interest (OI) changes. It helps identify whether the trading volume is driven by opening new positions (Open Volume) or closing existing positions (Close Volume).
Key Features:
Use Case:
This indicator is ideal for futures traders who want to analyze market sentiment and understand whether market activity is being driven by the initiation of new trades or the closing of existing ones.
How It Works:
The Open/Close Volume Indicator provides a breakdown of trading volume based on Open Interest (OI) changes. It helps identify whether the trading volume is driven by opening new positions (Open Volume) or closing existing positions (Close Volume).
Key Features:
- Visual Breakdown of Volume:
Green bars represent Open Volume (new positions being added).
Red bars represent Close Volume (existing positions being closed). - Dynamic Open Interest Data: Tracks changes in Open Interest to calculate the distribution of Open and Close Volumes.
Adapts automatically to the current chart's symbol or a custom user-specified symbol. - Error Handling: Displays an alert when Open Interest data is unavailable for the selected symbol.
- Zero-Line Reference:
- Includes a gray dotted line at 0 for easy reference between Open and Close Volumes.
- Includes a gray dotted line at 0 for easy reference between Open and Close Volumes.
Use Case:
This indicator is ideal for futures traders who want to analyze market sentiment and understand whether market activity is being driven by the initiation of new trades or the closing of existing ones.
How It Works:
- Open Interest Change: Positive OI change → Open Volume.
Negative OI change → Close Volume.
No OI change → All trading volume is considered Close Volume. - Data Representation:
- Open Volume is plotted above the zero line (positive values).
- Close Volume is plotted below the zero line (negative values).
- Open Volume is plotted above the zero line (positive values).
版本注释
📊 Open/Close Volume + DominanceAn advanced volume analysis tool utilizing Open Interest (OI) data to track market positioning.
🔍 Overview
This indicator provides a unique way to separate Open Volume and Close Volume, giving traders insight into whether the market is driven by new contract openings or position closings.
Additionally, it features a Dominance metric, visually representing whether more contracts are being opened or closed over time, helping traders gauge shifts in market behavior.
📌 Key Features:
- [] Tracks Open and Close Volume based on Open Interest movements.
[] Visualizes market participation trends with a unique Dominance metric.
[] Customizable color settings for Open Volume, Close Volume, and Dominance.
[] Works on all futures contracts where Open Interest data is available.
📊 How It Works (Conceptual Explanation)
- [] Open Interest Change is used to detect market positioning shifts.
[] Volume is categorized into Open Volume and Close Volume to help distinguish market intent. - Dominance measures the balance between opening and closing contracts and displays it in an easy-to-read visual format.
📌 What You See on the Chart:
- [] [color=green]Green bars:[/color] Represent Open Volume (contracts being opened).
[] [color=red]Red bars:[/color] Represent Close Volume (contracts being closed).
[] [color=blue]Blue dominance bars:[/color] More contracts opened than closed.
[] [color=orange]Orange dominance bars:[/color] More contracts closed than opened.
This methodology allows traders to analyze market participation without relying solely on price movement.
⚡ How to Use This Indicator
This indicator helps you analyze market positioning dynamics by tracking contract openings vs. closings based on Open Interest (OI) changes.
📌 Key Interpretations:
- [] [color=blue]🔵 Blue Dominance Bars[/color] → Indicate higher contract openings relative to closings.
[] [color=orange]🟠 Orange Dominance Bars[/color] → Indicate higher contract closings relative to openings. - Compare Open/Close Volume with price movement to identify potential market behavior shifts.
📊 Market Action & Open Interest Changes
The table below explains how different market actions impact Open Interest.
Market Action Counterparty Limit Order Action OI Change
Market Buy (Open Long) Limit Close Long Open Long meets Close Long OI = 0
Market Buy (Open Long) Limit Open Short Open Long meets Open Short OI + 1
Market Buy (Close Short) Limit Close Long Close Short meets Close Long OI - 1
Market Buy (Close Short) Limit Open Short Close Short meets Open Short OI = 0
Market Sell (Open Short) Limit Open Long Open Short meets Open Long OI + 1
Market Sell (Open Short) Limit Close Short Open Short meets Close Short OI = 0
Market Sell (Close Long) Limit Open Long Close Long meets Open Long OI = 0
Market Sell (Close Long) Limit Close Short Close Long meets Close Short OI - 1
By analyzing Open/Close Volume and Dominance along with price movement, traders can better understand market positioning and potential liquidity shifts. 🚀
⚙️ Customization Options
- Users can adjust colors for:
Open Volume (default: Green)
Close Volume (default: Red)
Dominance (More Opened Contracts) (default: Blue)
Dominance (More Closed Contracts) (default: Orange) - By default, only Dominance is enabled (Open/Close Volume can be manually turned on).
🚀 Why This Indicator is Unique
- [] Provides exclusive insights into market positioning using Open Interest.
[] Offers a new way to analyze contract flows in futures markets.
[] Works seamlessly on Futures and Derivatives markets.
[] Fully customizable for different trading strategies.
📌 Important Notes
- [] This indicator is designed for Futures traders and relies on Open Interest data.
[] It does not work on spot markets (e.g., BTC/USD) since spot markets do not have Open Interest.
📈 Example Use Cases
- [] Detect institutional positioning changes by tracking Open Interest shifts.
[] Identify potential trend reversals when market positioning changes significantly. - Combine with price action or technical indicators for a complete trading strategy.
📢 Disclaimer
This script is for educational purposes only. It does not provide financial advice or guarantee future results. Use it alongside proper risk management and other trading strategies.
✅ Summary
📊 Open/Close Volume + Dominance is an innovative tool designed to help traders monitor contract openings and closings using Open Interest data. By analyzing these shifts in market positioning, traders can gain deeper insights into market behavior and liquidity flows.
🚀 Try it now & let us know your feedback! 🔥🔥🔥
版本注释
removed Open and Close volume, only dominance 仅限邀请脚本
只有经作者批准的用户才能访问此脚本。您需要申请并获得使用权限。该权限通常在付款后授予。如需了解更多详情,请按照以下作者的说明操作,或直接联系Angick。
除非您完全信任其作者并了解脚本的工作原理,否則TradingView不建议您付费或使用脚本。您还可以在我们的社区脚本中找到免费的开源替代方案。
作者的说明
Terms of Use:
"By requesting access to this script, you agree to use it for personal trading purposes only. Redistribution is prohibited."
Request:
"Send me a private message on TradingView with your username and reason for requesting access."
提醒:在请求访问权限之前,请阅读仅限邀请脚本指南。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
仅限邀请脚本
只有经作者批准的用户才能访问此脚本。您需要申请并获得使用权限。该权限通常在付款后授予。如需了解更多详情,请按照以下作者的说明操作,或直接联系Angick。
除非您完全信任其作者并了解脚本的工作原理,否則TradingView不建议您付费或使用脚本。您还可以在我们的社区脚本中找到免费的开源替代方案。
作者的说明
Terms of Use:
"By requesting access to this script, you agree to use it for personal trading purposes only. Redistribution is prohibited."
Request:
"Send me a private message on TradingView with your username and reason for requesting access."
提醒:在请求访问权限之前,请阅读仅限邀请脚本指南。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。