jamc

Auto-Support v 0.2

Same script as the previous version with a slight twist

Have added (lines) "Transparency" to the settings to avoid having to edit every line individually ...

Cheers
Remove from Favorite Scripts Add to Favorite Scripts
study("Auto-Support v 0.2", overlay=true)
a = input(title="Sensitivity", type=integer, defval=10, minval=1, maxval=9999)
d = input(title="Transparency", type=integer, defval=85, minval=1, maxval=100)
b = #FF0000
c = #0000FF
plot(highest(a*1), title='Resistance 1', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*1), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true) 
plot(highest(a*2), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*2), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(highest(a*3), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*3), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true) 
plot(highest(a*4), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*4), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(highest(a*5), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*5), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true) 
plot(highest(a*6), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*6), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(highest(a*7), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*7), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true) 
plot(highest(a*8), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*8), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(highest(a*9), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*9), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true) 
plot(highest(a*10), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*10), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(highest(a*15), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*15), title='Support', color=c, linewidth=2, 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*25), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*25), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true) 
plot(highest(a*30), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*30), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(highest(a*35), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*35), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true) 
plot(highest(a*40), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*40), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(highest(a*45), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*45), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true) 
plot(highest(a*50), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*50), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(highest(a*75), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*75), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true) 
plot(highest(a*100), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*100), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(highest(a*150), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*150), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true) 
plot(highest(a*200), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*200), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(highest(a*250), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*250), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true) 
plot(highest(a*300), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*300), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(highest(a*350), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*350), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true) 
plot(highest(a*400), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*400), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(highest(a*450), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*450), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true) 
plot(highest(a*500), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*500), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(highest(a*750), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*750), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true) 
plot(highest(a*1000), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*1000), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(highest(a*1250), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*1250), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true) 
plot(highest(a*1500), title='Resistance', color=b, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
plot(lowest (a*1500), title='Support', color=c, linewidth=2, style=line, transp=d, offset=-9999, trackprice=true)
perfect
Reply
best script on the net for S/R!!
Reply
Does this program work better on the lower Time frames?
+1 Reply
jamc PRO gfglenn1
Hi,
I would say that this should work on just about any time frame. Maybe you have to somewhat adjust the 'sensitivity' parameter to come to meaningful results.
Cheers
Reply
@jamc, Thank You
Reply
hey what does the blue and red symbol? is blue support and red resistance? and do you mean the bolder the line looks the more times its been tested so it is more reliable?

thanks for this its amazing was really struggling with s and r lines this looks good to go!
Reply
this is one of the best things i have ever found. Thank you so much for this script. it is GOLD.
Reply
Hey Jamc

Your work is awesome thanks friend
Reply
Hey Man. Is it possible to find the the closest support/resistance line to the current price and then the next resistance and the lower support based on a daily or weekly chart, and lock them in place no matter the timeframe, and then to adjust to the other support and resistance levels as the price moves? I can give an example if it helps
Reply
jamc PRO athimaya
Hi, Sorry but I don't get what you're trying to say ...
Reply
United States
United Kingdom
India
Deutschland
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
Malaysia
日本
한국
简体
繁體
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing Priority Support Ideas Published Followers Following Private Messages Chat Sign Out