As per the above query you can refer with previous candle as
VOLUME > 2*(REF(VOLUME,1))
gives when volume is 2x with previous candle
As per the above query you can refer with previous candle as
VOLUME > 2*(REF(VOLUME,1))
gives when volume is 2x with previous candle