Values greater than previous day average Price, Volume, OI

Hello ,

I am looking for AFL code for the below condition:

Current Price Should be greater than the average price of yesterday by “x%” and
Current Volume should be greater than the average Volume of Yesterday by “x%” and
Current OI should be greater than the average OI of yesterday by “x%”

Basically i want to scan stocks whose current price, volume and OI are greater than by x% using amibroker formula language on 5 mins timeframe.

Help is very much appreciated…