PROTECTED SOURCE SCRIPT
[DEM] Correlation Coefficient

[DEM] Correlation Coefficient is designed to calculate and visualize the statistical correlation between the current chart's price movement and another selected symbol (defaulting to SPX) over a specified period. The indicator displays the correlation coefficient as both a colored area chart and line plot in a separate pane below the main chart, with colors dynamically changing from red (negative correlation) through purple (no correlation) to green (positive correlation) based on the strength and direction of the relationship. The correlation values range from -1 (perfect negative correlation) to +1 (perfect positive correlation), with horizontal reference lines at these extremes and zero, helping traders understand how closely their asset moves in relation to the selected benchmark symbol and identify periods of divergence or convergence in market behavior.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。