Hi Community,
I want to test a new strategy with a script from Tradingview, but I'm not a coder. Please could someone convert this indicator?
study("Comparative Relative Strength", shorttitle="CRS")
a = tickerid
b = input("SPX500", type=symbol)
as = security(a, period, close)
bs = security(b, period, close)
plot(as/bs, title="CRS", color=gray)
len = input(10)
plot(sma(as/bs, len), color=navy)
Thanks!
I want to test a new strategy with a script from Tradingview, but I'm not a coder. Please could someone convert this indicator?
study("Comparative Relative Strength", shorttitle="CRS")
a = tickerid
b = input("SPX500", type=symbol)
as = security(a, period, close)
bs = security(b, period, close)
plot(as/bs, title="CRS", color=gray)
len = input(10)
plot(sma(as/bs, len), color=navy)
Thanks!