Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- study("SUPPORT AUTO SAI", overlay=true)
- a = input(title="Sensitivity", type=integer, defval=10, minval=1, maxval=10)
- d = input(title="Transparency", type=integer, defval=85, minval=1, maxval=100)
- b = #FF0000
- c = #0000FF
- plot(highest(a*10), title='Resistance', color=b, linewidth=1, style=line, transp=d, offset=-9999, trackprice=true)
- plot(lowest (a*10), title='Support', color=c, linewidth=1, style=line, transp=d, offset=-9999, trackprice=true)
- plot(highest(a*20), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
- plot(lowest (a*20), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
- plot(highest(a*40), title='Resistance', color=b, linewidth=3, style=line, transp=d, offset=-9999, trackprice=true)
- plot(lowest (a*40), title='Support', color=c, linewidth=3, style=line, transp=d, offset=-9999, trackprice=true)
- plot(highest(a*75), title='Resistance', color=b, linewidth=4, style=line, transp=d, offset=-9999, trackprice=true)
- plot(lowest (a*75), title='Support', color=c, linewidth=4, style=line, transp=d, offset=-9999, trackprice=true)
- plot(highest(a*150), title='Resistance', color=b, linewidth=5, style=line, transp=d, offset=-9999, trackprice=true)
- plot(lowest (a*150), title='Support', color=c, linewidth=5, style=line, transp=d, offset=-9999, trackprice=true)
- plot(highest(a*300), title='Resistance', color=b, linewidth=6, style=line, transp=d, offset=-9999, trackprice=true)
- plot(lowest (a*300), title='Support', color=c, linewidth=6, style=line, transp=d, offset=-9999, trackprice=true)
- plot(lowest (a*500), title='Resistance', color=c, linewidth=7, style=line, transp=d, offset=-9999, trackprice=true)
- plot(lowest (a*500), title='Support', color=c, linewidth=7, style=line, transp=d, offset=-9999, trackprice=true)
Advertisement
Add Comment
Please, Sign In to add comment