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.
Script protegido
Esse script é publicada como código fechado. No entanto, você pode usar ele livremente e sem nenhuma limitação – saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script protegido
Esse script é publicada como código fechado. No entanto, você pode usar ele livremente e sem nenhuma limitação – saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.