SenatorVonShaft

Co-Relation by Onur

This indicator can statistically compare ANY asset in Tradingview with the asset in the active chart. It helps to understand positive or negative corelation btw 2 assets with percentage. Indicator value oscillates btw +100 and -100. If value is close to +100, there is a positive co-relation and if value is close to -100, there is a negative co-relation.

Indicator has 2 variables:

Symbol: The symbol (BTCUSDT by Default) that you'd like to compare with chart.
Period: Is the number of backward candles (200 by Default) for indicator co-relation calculation.

You can increase Period value to understand a long term relationship btw 2 assets.

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?