Volume/Price Scanner

Hi…

I am looking for an scanner code for zerodha pi.

This candle’s close volume and price is greater than the previous 10 candle’s volume and price average.

can you help me on this?

CLOSE > SMA(CLOSE,10) AND 
VOLUME > SMA(VOLUME,10)

Good Luck

any ref to setup my own code ?
like high volume with over sold or bought.
any ref where i can learn this coding ?