PROTECTED SOURCE SCRIPT

OI Bubbles aggr

Cập nhật
This indicator visually represents the positioning of market participants using open interest (OI) data of Bitcoin futures obtained from multiple exchanges.

The main features and functions of the indicator are as follows:

1. Aggregation of OI data from multiple exchanges
- Retrieves and sums OI data from 5 symbols: Binance (BTCUSDTPERP, BTCPERP), Kraken (BTCUSDTPERP), and BitMEX (XBTUSD, XBTUSDT)

2. Calculation of Z-score for OI
- Calculates the Z-score for the total OI
- Uses a moving average (default period is 21) specified for the Z-score calculation
- The Z-score expresses how much the OI value deviates from the average in units of standard deviation

3. Display of signals based on Z-score
- Displays signals when the Z-score exceeds/falls below multiple predefined thresholds (default is 5 levels: 2, 2.5, 3, 4, 5)
- Signals are displayed as colored circles in the middle of the corresponding candle
- The size of the circle increases as the threshold is significantly exceeded, visually emphasizing the magnitude of the position bias

4. Customizable parameters
- Selection of exchanges and symbols to use
- Setting of the type and period of moving average used for Z-score calculation
- Setting of Z-score thresholds
- Setting of signal colors

Extreme position biases may lead to subsequent price movements, making them a key signal for trading.

However, this indicator is based solely on OI data and does not consider other market data such as price action or trading volume.

Therefore, it is crucial to combine the signals obtained from this indicator with other analytical methods for a comprehensive assessment.

Furthermore, the results can be greatly influenced by the parameter settings of the indicator, such as the Z-score thresholds and calculation periods. As a result, it is necessary to conduct thorough backtesting on historical data to find the optimal settings.
Phát hành các Ghi chú
made some changes to the settings screen
Phát hành các Ghi chú
In the original code, the open interest (OI) of BTCPERP was not properly scaled compared to the OI of other symbols. This ensures that the BTCPERP OI is appropriately scaled and contributes to the total open interest calculation in a manner consistent with the other symbols.
Phát hành các Ghi chú
made the circles appear at the closing price of the candlestick.
ảnh chụp nhanh
Phát hành các Ghi chú
-oi bubbles removed.A check box has been installed for each deviation.Fixed so that the transparency of the circle can be changed.I made the recommended settings.
Phát hành các Ghi chú
Add Open Interest Spike to std4.5.
Add ETH OI Bubbles.
Phát hành các Ghi chú
possible to change the color of circles.
Standard DeviationVolatilityVolume

Mã được bảo vệ

Tập lệnh này được xuất bản mã nguồn đóng và bạn có thể sử dụng một cách tự do.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Thông báo miễn trừ trách nhiệm