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.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.