OPEN-SOURCE SCRIPT

Price and OI Change

由milc64提供
Price and OI Change

Description:

The "Price and OI Change" indicator provides insights into market dynamics by analyzing the price and open interest (OI) changes over a 7-day period. This indicator is designed for use with both spot and futures markets, including cryptocurrencies.

Key Features:

Price and OI Change Calculation: Computes the 7-day change in price and open interest to help identify market trends and shifts.

Market Conditions Visualization: Differentiates market conditions by changing the background color based on:

Leverage-Driven Market: Blue background indicates increasing prices and OI, suggesting a bullish trend driven by leverage.

Spot-Driven Market: Green background shows increasing prices but decreasing OI, indicating a bullish trend driven by spot market activity.

Leverage Sell-Off: Orange background reveals decreasing prices with increasing OI, signaling a potential liquidation phase.

Deleveraging Sell-Off: Red background reflects decreasing prices and OI, indicating a bearish market with reduced leverage.

Top 3 BTC Futures Average OI: Displays the average open interest for the top 3 BTC futures contracts from major exchanges (Binance, OKX, Bybit). This helps gauge overall market sentiment and liquidity.

Visualization Tools: Includes optional plotting of open interest data and average OI for better visualization of market conditions.

Usage:

Traders and Analysts: Use the background color changes and average OI to make informed decisions about market entry and exit points.

Futures Traders: Track OI changes in major BTC futures to assess market strength and potential liquidity issues.
Trend AnalysisVolatility

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明