Hello everyone, have you ever coded by any chances an RSI indicator based on candlesticks instead then simple lines?
Just did it for you. Candlesticks are based on OHLC made from RSI calculation:
p = 14 //rsi period
o = rsi[p](open)
hh = rsi[p](high)
ll = rsi[p](low)
c = rsi[p]
if c>o then
drawcandle(o,hh,ll,c) coloured(0,200,0)
else
drawcandle(o,hh,ll,c) coloured(200,0,0)
endif
RETURN 30 as "30", 70 as "70", 50 coloured(100,100,100) as "50"