I have found a pine code for RSI candlestick indicator on tradingview that is working greatly.
If it is possible to change the higher timeframe for indicator to use in lower timeframe chart will help me to find better entry for my stocks.
The pine code is:
`//@version=3
study("RSI candles")
len=input(14,title="RSI LENGTH")
c=rsi(close,len)
o=rsi(open,len)
h=rsi(high,len)
l=rsi(low,len)
plotcandle(o,h,l,c, color = o < c ? green : red, wickcolor=black)
hline(70, title='Upper Band', color=green, linestyle=solid, linewidth=2)
hline(60, title='Upper Band', color=red, linestyle=solid, linewidth=2)
hline(40, title='Lower Band', color=green, linestyle=solid, linewidth=2)
hline(30, title='Lower Band', color=red, linestyle=solid, linewidth=2)
hline(50, title='Mid Band', color=black, linestyle=dotted, linewidth=2)`
I would thankful to if anyone could help me in this.