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 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
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
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 My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out