Can you try and see what will be the value of priceOpen(0)?
Is it equal to the priceClose() of the last complete 4-hour candle, or of the last 60-min bar?