foosmoo

Asset Correlation

foosmoo Mis à jour   
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.
Notes de version:
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 open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?