Price crossing 200 Ema on 5 min candle

Hi,
Can you please help me with the code to generate an alert on zerodha pi for the following condition:

Price crossing 200 ema above or below on 5 min candle.

Thanks,
Sush.