Need afl code for this

1)low is above upper EMA envelope(25,1.5)
and close is above EMA(200)

and close is between 20ema and 200ema
and ADX (10) is between 22 and 40
show stocks where Average Volume(90) is above 300000

the above given conditions are not specific, you have mentioned values between 20 to 200 etc., parameters and manual studies which can not be coded in AFL for buy or sell signals exactly.