// 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 )
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 http://www.fx-mt4.info/view-review/zup-v135-harmonic-patterns-indicator . It automatically draws on the chart the pattern as it's forming based on price and Fib levels until the pattern is complete.
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?