I made a simple screener showing me stocks which broke yesterday’s high. Let’s say I use this screener at 18:00 and I see some stocks. Some of them already broke yesterday’s high minutes or hours before. But I only want to see stocks which broke yesterday’s high the first time today. Is it possible to check if all previous candles today were below yesterday’s high?
I thought about doing a loop and check if all highs were below yesterday’s high but maybe there is a more efficient way to do?