Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //@version=5
- indicator("RSI", overlay=false)
- len = input(7, "Length")
- src = input(close, "Source")
- rsi = ta.rsi(src, len)
- plot(rsi, "RSI", color.white)
- hline(70, "Upper Band", #CC4242, hline.style_solid)
- hline(25, "Lower Band", #3D8C40, hline.style_solid)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement