foosmoo

Asset Correlation

foosmoo Atualizado   
This indicator shows correlation strength between the source asset plotted in the main chart and a user-input asset in the indicator panel. For example, if the main chart panel is displaying BTCUSD and the correlation indicator is NDX, then the correlation strength is plotted as the relationship between the two. A strong positive correlation target is set at 0.80 but can be changed. A strong negative correlation target is set at -0.80 and can also be changed.

The indicator also has an option for a plot of the ta.correlation() function for a reference line.
Notas de Lançamento:
Changes as follows:
  • Fixed scale issue y axis for reference plot of ta.correlation(), which is hidden by default. As plots can’t be called from a local scope, the transparency of the plot is set to 100 when turned off which previously affected the y axis scale. Update sets ta.correlation() plot value to 0 and transparency to 100, when bShowTradingViewCorrelation is false.
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?