Zerodha Pi Code required for ADX and EMA Combo Screener

Hello guys, the Criteria is :
14 period ADX (Average Directional Index) should be greater than 25. Then Price should pullback above/below 20EMA. That’s when the screener should give a signal.

Would Really Appreciate if anyone can help. Thanks :slight_smile: