please help me in ORB

I'm making a formula for ORB
timeframe 5min. breakeout 30min.
if candle N1 is > any N2/N3/N4/N5 X 2, N1 candle has to be void