Scanner code for ema in pi

Hi can anyone tell how to code for realtime scanner in Zerodha PI ,
i want to check for
1 . price when crosses 34 ema in daily time frame
and at the same time
2. price when crosses abv 5 ema in 15 min tme frame

Thanks in advance .

1 Like