RSI Glow
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © scarf

//@version=5
indicator("RSI Glow", overlay=true)

rsi = ta.rsi(close, 14)
rsi_high = rsi >= 65
rsi_low = rsi <= 35

neon_green = #39FF14
neon_pink = #ff6ec7
neon_blue = #04d9ff
neon_orange = #ff9800
transp = 50

plotcandle(high + (ta.atr(5)*0.1), close, close, close, title='Title', color = close > open and rsi_high ? color.new(neon_blue, transp) : na, wickcolor=na, bordercolor=na)
plotcandle(low - (ta.atr(5)*0.1), open, open, open, title='Title', color = close > open and rsi_low ? color.new(neon_orange, transp) : na, wickcolor=na, bordercolor=na)
    

