Coding needed for stategy

kindly help me with the code if today’s price opens below yesterdays price range
and today’s price opens above yesterdays price range

hello trader,

The Pi Scanner works only on intraday candles and on today’s OHLC conditions.

For Screening the above conditions manually, you can use The FataFat Stock Screener between 9:12 and 9:15 am.