bitmexstorm

Correlation Coefficient & Coefficient of Determination

bitmexstorm 已更新   
Measures the correlation between 2 assets, along with the coefficient of determination of the average of 200 candles. By default, 2 correlations are presented but only 1 with a coefficient of determination (default 200).

Default assets are XBTUSD and SPX

A value of 1 for R(200) gives a strong linear correlation between 2 assets
A value of 0 for R(200) suggests no linear correlation
A value of -1 for R(200) suggests a negative linear correlation between 2 assets

A coefficient of determination (R2) of 1 suggests confidence in the variability of the response data around mean.
A coefficient of determination (R2) of 0 suggests no confidence in the variability of the response data around mean.

版本注释:
-

开源脚本

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

免责声明

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

想在图表上使用此脚本?