OPEN-SOURCE SCRIPT

Correlation MA – 15 Assets + Average (Optional)

135
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.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.