PROTECTED SOURCE SCRIPT

[DEM] Correlation Coefficient

5
[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.

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.