AFL Code help needed pl.

#1
Hi,
I need ur help in coding AFL for following conditions.

It is an exploration AFL. In 5 min time frame in should give list of stocks for which volume or price has been higher/lower as compared to last 2 candles.
For example if current candle volume in say 10.30 is 1000 then last candle 10.25-10.30 volume <1000 (say 900) and last to last 10.20-10.25 vol less than 900.

Thanks in advance !!!