//version=5
//Panchaya
indicator(title="RSI Crossing", shorttitle="RSI Crossing", format=format.price, precision=2, timeframe="", timeframe_gaps=true)
lengthRSIS = input.int(25, "RSI Short", minval=1)
lengthRSIL = input.int(100, "SMA Long", minval=1)
src = input(close, title="RSI Source")
rsi1 = ta.rsi(src, lengthRSIS)
rsi2 = ta.rsi(src, lengthRSIL)
p1=plot(rsi1, "RSIS", color=#2962FF)
p2=plot(rsi2, "RSIL", color=#FF6D00)
h0 = hline(80, "Upper Band", color=#787B86)
h1 = hline(20, "Lower Band", color=#787B86)
fill(h0, h1, color=color.rgb(255, 255, 204, 95), title="Background")
Beyond Technical AnalysisFundamental Analysis

Haftungsausschluss