JL356
New member
thanks love this...try this https://tos.mx/bd5tvYX
Code:def rthStart = 0930; def rthEnd = 1600; def conf = SecondsFromTime(rthStart) >= 0 and SecondsFromTime(rthEnd) <= 0; def ETH_VOL = if !conf and conf[1] then volume else if !conf then CompoundValue(1, ETH_VOL[1] + volume, volume) else ETH_VOL[1]; plot ETHvol = ETH_VOL;