FX:EURUSD   Euro / U.S. Dollar
1331 5 21
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 )


Slope Rate Measure comparison. Bars really helps me pick apart this chart. Very clean
+2 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
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