Provide code for this strategy for buy and sell signal

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
and count(low above Upper EMA Envelope(25,1.5), 10) equals 1

hElLO tRaDeR,

The Last line of your code, please explain the condition ?