OPEN-SOURCE SCRIPT

Correlation MA – 15 Assets + Average (Optional)

218
This indicator calculates the moving average of the correlation coefficient between your charted asset and up to 15 user-selected symbols. It helps identify uncorrelated or inversely correlated assets for diversification, pair trading, or hedging.

Features:
✅ Compare your current chart against up to 15 assets

✅ Toggle assets on/off individually

✅ Custom correlation and MA lengths

✅ Real-time average correlation line across enabled assets

✅ Horizontal lines at +1, 0, and -1 for easy visual reference

Ideal for:
Portfolio diversification analysis

Finding low-correlation stocks

Mean-reversion & pair trading setups

Crypto, equities, ETFs

To use: set the benchmark chart (e.g. TSLA), choose up to 15 assets, and adjust settings as needed. Look for assets with correlation near 0 or negative values for uncorrelated performance.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.