# Price crossing 200 Ema on 5 min candle

**URL:** https://tradingqna.com/t/price-crossing-200-ema-on-5-min-candle/52349
**Category:** Algos, strategies, code
**Created:** [January 3, 2019, 2:42am UTC](https://tradingqna.com/t/price-crossing-200-ema-on-5-min-candle/52349 "2019-01-03T02:42:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![suzydd66](https://tradingqna.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@suzydd66](https://tradingqna.com/u/suzydd66)
#### Post date: [January 3, 2019, 2:42am UTC](https://tradingqna.com/t/price-crossing-200-ema-on-5-min-candle/52349/1 "2019-01-03T02:42:18Z")

</div>

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.
