Biffy

r2 correlation coefficient

Biffy Zaktualizowano   
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
Informacje o Wersji:
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
Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?