Here I put out the manual trading trigger point you get(screener) for tradingview if anyone is intrested’
strategy(title=”Stochastic RSI”, shorttitle=”Stoch RSI”)
smoothK = input(10, minval=1)
smoothD = input(3, minval=1)
lengthRSI = input(10, minval=1)
lengthStoch = input(10, minval=1)
src = input(close, title=”RSI Source”)
target=input(50,minval=1)
stop=input(50,minval=1)
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)
price = close
len = input(50, minval=1, title=”Length”)
src_smma = input(close, title=”Source”)
smma = na(smma[1]) ? sma(src_smma, len) : (smma[1] * (len – 1) + src_smma) / len
DOWN = price < smma
UP = price > smma
stochcross = cross(d,k) or cross(k,d)
short = d >=80 and stochcross
long = d <= 20 and stochcross
shortplot= short*100
longplot= long*100
plot(shortplot,”short”,color=red, linewidth=1)
plot(longplot,”long”,color=blue)