FX:EURJPY   歐元 / 日圓
//@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提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。