Thats right, with 5 min barperiod, the TimeFrame of 1 hour is 60/5 = 12. And for catching the hour boundaries its TimeFrame = frameSync(12).