//@version=2
study(title="RSI, EURUSD", shorttitle="RSI, EURUSD", precision=0)
s_fast = security("EURUSD", period, rsi(ohlc4, 3))
s_slow = security("EURUSD", period, rsi(ohlc4, 7))
plot(s_fast, title="Length, fast", color=#4985E7, transp=0)
plot(s_slow, title="Length, slow", color=black, transp=0)
h80 = hline(90, linestyle = dashed, color = red)
h20 = hline(10, linestyle = dashed, color = green)
bgcolor(yellow, transp=90)
study(title="RSI, EURUSD", shorttitle="RSI, EURUSD", precision=0)
s_fast = security("EURUSD", period, rsi(ohlc4, 3))
s_slow = security("EURUSD", period, rsi(ohlc4, 7))
plot(s_fast, title="Length, fast", color=#4985E7, transp=0)
plot(s_slow, title="Length, slow", color=black, transp=0)
h80 = hline(90, linestyle = dashed, color = red)
h20 = hline(10, linestyle = dashed, color = green)
bgcolor(yellow, transp=90)
//@version=2 study(title="RSI, EURUSD", shorttitle="RSI, EURUSD", precision=0) s_fast = security("EURUSD", period, rsi(ohlc4, 3)) s_slow = security("EURUSD", period, rsi(ohlc4, 7)) plot(s_fast, title="Length, fast", color=#4985E7, transp=0) plot(s_slow, title="Length, slow", color=black, transp=0) h80 = hline(90, linestyle = dashed, color = red) h20 = hline(10, linestyle = dashed, color = green) bgcolor(yellow, transp=90)