Bullcrazy

Thunderbolt RSI

Quick & Simple RSI formatted for a personal color scheme, nothing fancy.
Asked to share.
Remove from Favorite Scripts Add to Favorite Scripts
//@version=2
study(title="Thunderbolt RSI", shorttitle="Thunderbolt RSI 80/20")
src = close, len = input(7, minval=1, title="Length")
up = rma(max(change(src), 0), len)
down = rma(-min(change(src), 0), len)
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
plot(rsi, title="thunderbolt", color=yellow, linewidth=2, transp=1)
band3 = hline(0, "zero", black, 2, 0)
band4 = hline(100, "100", black, 2, 0)
band1 = hline(80, "OB", red, 2, 1)
band0 = hline(20, "OS", green, 2, 1)
fill(band1, band0, color=gray, transp=70)
fill(band4, band1, color=#4985E7, transp=70)
fill(band3, band0, color=#4985E7, transp=70)
This is awesome man, how are you not rated higher? I don't see people doing this, they mostly just make insanely hard scripts but this a simple yet effective!
Reply
Bullcrazy PRO PipusMaximus
@PipusMaximus, well the code is easy but the chart would get crazy at times. Thanks for commenting, I haven't been on here much since joining profit.ly, i need to come back and code again!!
Reply
United States
United Kingdom
India
Deutschland
España
France
Việt Nam
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 Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing Support Priority Support Report Issue Ideas Published Followers Following Private Messages Chat Sign Out