copeharder

BTC Spread Indicator

copeharder Updated   
"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!"
Release Notes:
**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.
Release Notes:
Minor typo fixes with toggles.

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?