FX:EURUSD   Euro/U.S. Dollar
1234 5 18
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 )
snapshot


Slope Rate Measure comparison. Bars really helps me pick apart this chart. Very clean
+2 Reply
https://www.tradingview.com/e/mgYzdXqk/
Reply
glaz BizkitBR
from that picture i think you also added the price 70/30 with diferent colors,plz check your pm :)
+1 Reply
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)
+1 Reply
thanks!
Reply
United States
United Kingdom
India
Deutschland
France
España
Italia
Polska
Türkiye
Россия
Brasil
Indonesia
Malaysia
Việt Nam
日本
한국
简体
繁體
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 Priority Support Contact Support Ideas Published Followers Following Private Messages Chat Sign Out