foosmoo

Asset Correlation

foosmoo 已更新   
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.
版本注释:
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.
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?