CaseA: It will calculate the range of the first 1 hr candle range (H-L) and then send a notification once the close price is higher than the Opening Range High
CaseB: It will check if the current close price and is higher than the highest high of the last 6 candles.
The difference is that the Opening Range is a constant for the entire day while the Period Max is a variable. At 10:15, it will check the Highest high in the last last 6 candles i.e 5 candles from the previous day and the 9:15 to 10:15 candle. Peiod Max does not limit to current day data.