Opening breakout scanner or scripted alert

i need to scan those stocks which have open above previous day high in the first 5 minutes and close is greater than the low .of the first 5 minutes

and vice versa…

i need to scan those stocks which have open lower than previous day low in the first 5 minutes and close is lower than the high .of the first 5 minutes

in the above given condition your condition includes two different timeframes with reference to yesterday and 5 minute candle, it is not possible to code in tradescript and also you can not refer day candle in scanner as the scanner works on intraday live market.

Is this still a problem even after 3 years? It’s a basic scan that traders do. Is this currently possible?