OPEN-SOURCE SCRIPT

Correlation

By OlgaObara
Graph shows level of correlation between current source and another one and track current value of it. User can select source for comparison, graph period and number of candles for calculation, enter level of significal correlation (+-0.65 by default). Grapf contains 4 plots: Correlation - current level of correlation, Zero line , +Corr_level - minimum level of significant positive correlation, -Corr_level -maximum level of significant negative correlation between 2 sources.
coefficientcorrelationcorrelation_breakCorrelation Coefficient (CC)correlationcrossOscillatorsTrend AnalysisVolatility

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer