Relative Strength Comparison

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.
Versionshinweise: Fixed everything, cleaned everything. LOL
Open-source Skript

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.

Möchten Sie dieses Skript auf einem Chart verwenden?