OPEN-SOURCE SCRIPT

Correlation MA – 15 Assets + Average (Optional)

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

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

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.