Script for zerodha pi for completely inside formed candle

Hello,

I am looking for a script in which a daily candle is formed completely inside previous candle.
it has not broken yesterday high as well as low.

Thanks

I want list stocks that has formed this kind of pattern.