OPEN-SOURCE SCRIPT

Correlation Coefficient

285
📊 Correlation Coefficient (CC)

This indicator measures the statistical correlation between two selected securities over a defined period, scaled from -100 to +100.


It helps you quickly assess whether assets are moving:

Together (positive correlation)

Opposite (negative correlation)

Independently (zero correlation)

🔧 Features:

Select any two symbols (default: NIFTY & BANKNIFTY)

Adjustable length parameter for short-term or long-term correlation analysis

Clean, color-coded plot with horizontal levels to easily identify key correlation zones

📈 Useful For:

Pair trading setups

Hedging strategies

Detecting market regime shifts or intermarket divergences

⚠️ Disclaimer: This is not trading or investment advice.
This indicator is intended for informational purposes only and is not recommended for making
direct trading decisions.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。