How to code a scanner on NFO scrips which gives Inside Day in scrips on previous day and lists these scrips

I want list of F&O scrips having Inside Day the previous day

In pi scanner day time frame is not possible as it checks only in live market on intraday basis