You can use crossover code as per your condition example EMA 20-30 crossover
CROSSOVER(EMA(CLOSE,20),EMA(CLOSE,30))
go to pi -> alerts -> scanners and create new scanner and add the code and load the list of scripts to scan
please check below links for demo
https://www.youtube.com/watch?v=Hg5iZzvBV1A