Biffy

r2 correlation coefficient

Biffy Atualizado   
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
Notas de Lançamento:
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 de código aberto

Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

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.

Quer usar esse script no gráfico?