relative strength to BTC

Pair trading strategy:
Pairs trading is a strategy in which a trader matches long and short positions of two stocks that are perceived to have a strong correlation to each other and are currently trading outside of their historical relative strength range.
Formula:
a: tickerid, the crypto selected
b: BTCUSD Bitfinex
as: security a, (close-close[1])/close[1]*100+100)
bs: BTC, (close-close[1])/close[1]*100+100)
rs= (as-bs)/bs*1000
Green line is a moving average.
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact Krauser directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.
Author's instructions
Disclaimer
Invite-only script
Only users approved by the author can access this script. You'll need to request and get permission to use it. This is typically granted after payment. For more details, follow the author's instructions below or contact Krauser directly.
TradingView does NOT recommend paying for or using a script unless you fully trust its author and understand how it works. You may also find free, open-source alternatives in our community scripts.