FX:EURUSD   Euro Fx/U.S. Dollar
1126 5 15
Can be used as a 50 level cross by rsi or as overbought/oversold by setting the levels accordingly eg 70/30



// With levels, candle border must be removed for better view
// RSI Chart Bars By Glaz.
study(title="RSI Chart Bars",overlay = true, shorttitle="RSI Bars")
src = close, len             = input(14, 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))

//coloring method below

src1 = close, len1 = input(70, minval=1, title="UpLevel")
src2 = close, len2 = input(30, minval=1, title="DownLevel")
isup() => rsi > len1
isdown() => rsi < len2
barcolor(isup() ? green : isdown() ? red : na )
Mercurius
2 years ago
thanks!
Reply
BizkitBR PRO
2 years ago
Thanks Glaz loved your script but I tried to improve it some.. Can you add another indicator like fisher transform to it for me? I am stuck..

- - - - - - - - - - -

// By BizkitBR plagerized from Glaz
study(title="RSI Chart Bars ver 2",overlay = true, shorttitle="RSI Bars 4 Plots ver 2")
src = close, len = input(14, 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))

//coloring method below
src1 = close, len1 = input(70, minval=70, title="Over Bought RSI (Bright Green)")
src3 = close, len2 = input(50, minval=50, title="Bullish RSI (Green)")
src2 = close, len3 = input(30, minval=1, title="Red -> OverSold RSI (Red)")
src4 = close, len4 = input(49, minval=30, title="Bearish RSI (Orange)")

isup() => rsi > len1
isdown() => rsi < len3
isOutsideUp() => rsi > len2 and rsi < len1
isOutsideDown() => rsi < len4 and rsi > len3
barcolor(isup() ? lime : isOutsideUp() ? green : isdown() ? red : isOutsideDown() ? orange : na)
Reply
BizkitBR PRO
2 years ago
https://www.tradingview.com/e/mgYzdXqk/
Reply
glaz BizkitBR
2 years ago
from that picture i think you also added the price 70/30 with diferent colors,plz check your pm :)
+1 Reply
snapshot


Slope Rate Measure comparison. Bars really helps me pick apart this chart. Very clean
+2 Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Billing Sign Out