zerodha pi scanner

hi all i want a pi code for scanning purpose conditions are below…
scan should be start if 10.15am candle close above previous candles high and closing candle wicks should not be big and candle size also not so big
same as for sell condition if 10.15am candle close below previous candles low and same as above.

and most important once a stock is matched on above condition then that stock should not repeat if it again closed above previous candles high.

and most important once a stock is matched on above condition then that stock should not repeat even i need a code for the same !

ur strategy as same as mine completely?

not same as ur ! but if u use it in a smaller timeframe in any strategy u will face this issue !