Hello,
I want to use background color to chart when volume bigger that the last 3 bars.
please check what's wrong with this formula
thanks
indicator("volume detector", overlay=true)
VolDetector = volume > volume[1] and volume > volume[2] and volume > volume[3]
bgcolor(VolDetector ? color = color.white : na)