Standard RSI (Relative Strength Index) with 2 EMA (Exponential Moving Averages) calculated from the RSI. Please see "Technical Analysis for the Trading Professional" by Constance Brown CMT. Enjoy!
study(title="Constance Brown RSI [Rouge1896]", shorttitle="CBRSI") src = close rsi_length=input(14, title="RSI Length") rsi_ma_length=input(3, title="RSI MA Length") ma_length=input(3, title="SMA Length") fastLength=input(9) slowLength=input(49) r=rsi(src, rsi_length) plot(r, color=blue, linewidth=2) plot(ema(r, fastLength), color=green) plot(ema(r, slowLength), color=red)