At 9:25-9:30, Want to Scan stocks below prev. Day low/above prev. Day high. Code for the same?

HI,

This code is excellent, can you do AFL code, to buy when price crosses opening price in intraday from below,
and sell when price crosses opening price in intraday from top.