//@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")
คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ