RSI Candles

Can be used as a 50 level cross by rsi or as overbought/oversold by setting the levels accordingly eg 70/30
Remove from Favorite Scripts Add to Favorite Scripts
// With levels candle border must be removed for better view  
// 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 )
Ola Onde consigo esse indicador??
+1 Reply
Great indicator! Is there anything that would cause this to be broken or glitchy? I noticed for XAUUSD it works flawlessly, but I tried pulling up EURUSD and GBPUSD and only some bars are shaded — most are left untouched. Do you know of what would cause this?
glaz hjstephens09
@hjstephens09, don't know, it works fine for me.
MrMister88 hjstephens09
@hjstephens09, you have to change default settings from 70/30 to 50/50 RSI, had the same, by the way great script glaz
This works really well.
+1 Reply
Hey Glaz, is it possible for you to write a script that automatically identify's Gartley and Harmonic Patterns? Something like this script for MT4 . It automatically draws on the chart the pattern as it's forming based on price and Fib levels until the pattern is complete.
glaz pcmourao
i dont think its possible yet to code that in pince, also zup indie is about 3k lines of code it would take me years to port it here :D
+2 Reply
I have seen this script that determines entry's based on BollingerBands. I think the script is called Bollinger Fan Boy. Isn't it easier, as workaround, to print some kind of signal based on predetermined Fibonacci values and price action apon completion of a pattern? Wouldn't that be easier to make using Pine script language?
glaz pcmourao
patterns need zigzag and noone has found a way to code it, thats why you dont see any pattern based or channel indicators in pine
+2 Reply
Can't you code it with Fib levels and price?
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