OPEN-SOURCE SCRIPT
已更新

BTC Spread Indicator

1 106
"Hot potato, Bitcoin style!

In the dynamic world of cryptocurrency, keeping an eye on price movements across different exchanges can be as exhilarating as a game of hot potato. By calculating the average Bitcoin price across major exchanges, we can then dive deeper to identify the spreads between this global average and the prices on individual exchanges. This analysis reveals who's currently 'holding the potato'—or dealing with higher prices—and predicts who might be next. It's a fun, yet insightful way to visualize market volatility and trading opportunities. Let's see where the potato lands next!"
版本注释
**Changes Made:**

1. **Outlier Removal**:
- Implemented Z-score based outlier detection and removal for a cleaner spread analysis.

2. **Global Asset Correlation**:
- Added analysis for correlations between BTC spreads and global assets: QQQ, DXY, and SPY.
- Introduced a smart entry condition influenced by the correlation with QQQ.

3. **Toggle Features**:
- Added toggles to show/hide EMAs and global asset correlations:
- `toggleEMA`: Toggle visibility of EMAs for BTC spreads.
- `showDXY`: Toggle visibility of correlation with DXY.
- `showQQQ`: Toggle visibility of correlation with QQQ.
- `showSPY`: Toggle visibility of correlation with SPY.
版本注释
Minor typo fixes with toggles.

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。