REKT STRONG INDEX
study(title="Relative Strength Index-EXP", shorttitle="REKT SI") src = close, len = input(60, minval=1, title="Length"),lend = input(30, minval=1, title="Length") up = rma(max(change(src), 0), len) down = rma(-min(change(src), 0), len) rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down)) plot(rsi, color=purple) band1 = hline(70) band0 = hline(30) fill(band1, band0, color=silver, transp=90)