@cameron The most efficient way to get that is by creating a loop looking at the past 6 candles' volume. I'm not that good at loops, maybe roar or miro can help.
I have had a play round with this, that you for your efforts this far. It seems to only place trades on gbpusd, places trades daily.
I'm going to have a further mess around see if I can get it to much.