Biffy

r2 correlation coefficient

Biffy Aggiornato   
made a quick script to compare r2 correlation coefficient, can change source and correlation component in inputs menu

example, here we can see that btc currently has a 0.85 correlation with eth vs usd when using simple moving avg on the daily (above 0.8 is positive correlation. below -0.8 is negitive correlation, and anything in between means there is no correlation)

note: if you wanted to compare with a different source like rsi, then you would need to reduce the length in the inputs menu

not an expert, i encourage doing your own research

biffy
Note di rilascio:
i realised that the correlation function doesn't account for negitive correlations, will look into how i can update to include this. for now just updated to correlated / not correlated
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?