Rekt at your own risk
study(title="Rektastic RSI", shorttitle="Rektastic") smoothK = input(3, minval=1) smoothD = input(6, minval=1) lengthRSI = input(30, minval=1) lengthStoch = input(60, minval=1) src = input(close, title="RSI Source") rsi1 = rsi(src, lengthRSI) k = sma(stoch(rsi1, rsi1, rsi1, lengthStoch), smoothK) d = sma(k, smoothD) plot(k, color=blue) plot(d, color=orange) h0 = hline(80) h1 = hline(20) fill(h0, h1, color=purple, transp=80)