Scripts For Ta
Scripts For Ta
//@version=4
study(title="Stochastic RSI CROSS+RSI", shorttitle="SRSI CROSS+RSI",
format=format.price, precision=2, resolution="")
smoothK = input(3, minval=1)
smoothD = input(3, minval=1)
lengthRSI = input(14, minval=1)
lengthStoch = input(14, minval=1)
src = input(close, title="RSI Source")
plot(k, color=color.blue)
plot(d, color=color.orange)
h0 = hline(80)
h1 = hline(20)
fill(h0, h1, color=color.purple, transp=80)
//
len = input(title="RSI Period", minval=1, defval=14)
myRsi = rsi(close,len)
plot(myRsi, title="RSI", linewidth=2, color=color.navy, transp=20)