I want to scan nifty 50 scripts. Alert signal has to be given if any of the below happens:

I want to scan nifty 50 scripts including nifty futures & Banknifty fut. Alert signal has to be given if any of the below happens:

Buy when ema 15 crosses over ema 20 in 5 mins candle (SL ema 20 on candle closing basis)

Sell when ema 20 crosses over ema 15 in 5 mins candle (SL ema 15 on candle closing basis)

As per the above query you can run two scanners seperately for buy and sell

Buy Condition

CROSSOVER(EMA(CLOSE,15),EMA(CLOSE,20))

Sell Condition

CROSSOVER(EMA(CLOSE,20),EMA(CLOSE,15))

plz help in scanner it wont give any alerts