It's always the average of (high+low)/2 of all available ticks inside the bar period. 1-min bars can have 1 or more ticks, dependent on simulation or trade mode. TimeFrame just averages over all bar periods inside the time frame.