OPEN-SOURCE SCRIPT

ck - Crypto Correlation Indicator

已更新
A simple Correlation Indicator initially configured for Crypto Trader use (but other markets can use this too).
It plots the correlation between the current chart (say BTCUSD ) versus 4 user-definable indices, currency pairs, stocks etc.

By default, the indicator is preconfigured for:
GOLD (Oz/$),
Dow Jones Index (DJI),
Standard & Poor 500 Index (SPX) ,
Dollar Index ( DXY )

You can set the period (currently 1D resolution) in the "Period" box in the settings, valid inputs are:
minutes (number), days (1D, 2D, 3D etc), weeks (1W, 2W etc), months (1M, 2M etc)

Length is the lagging period/smoothing applied - default is 14

When changing comparison instruments/tickers, you may find it useful to prefix the exchange with the instrument's ticker, for example:
Binance:BTCUSDT, NYSE:GOOG etc

*** Idea originally from the brilliant Backtest Rookies - backtest-rookies.com/ ***
版本注释
Bug fix: ticker 4 was not plotting correctly
Centered OscillatorscorrelationTrend AnalysisVolatility

开源脚本

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

想在图表上使用此脚本?

免责声明