Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
- // © Yo_adriiiiaan
- //@version=4
- study("Power Move",overlay = true)
- rsi = rsi(close,14)
- over_bought = input(70, title = "OB")
- over_sold = input(30, title = "OS")
- rsi_change = input(3, title = "Points Change")
- os = rsi[1] <= over_sold and rsi > (over_sold + rsi_change)
- ob = rsi[1] >= over_bought and rsi < (over_bought - rsi_change)
- barcolor(os? color.green:ob? color.red:na)
- plotshape(os, location = location.belowbar, style = shape.labelup, size = size.small, color = color.green)
- plotshape(ob, location = location.abovebar, style = shape.labeldown, size = size.small,color = color.red)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement