OPEN-SOURCE SCRIPT

Relative Strength Comparison

Updated
This script plots the ratio between a ticker and the selected index. Currently, I have US equities indexes listed + BTC. It's a great way to check for relative strength, determine if absolute highs relative to the ratio are being made, etc.

Additionally, optional comparison of the RSI is included. I was just testing something out but figured I'd leave in here because why not. If you use this, enable the 1.0 line.


Script is a bit slow, will try to optimize eventually.
Release Notes
Fixed everything, cleaned everything. LOL
comparefinderindexOscillatorsratiorelativeRelative Strength Index (RSI)SPX (S&P 500 Index)strengthTrend Analysis

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer