The bar would be calculated like this. First tick after the close of the last bar creates the open of the new bar.
First tick that is at least the range size removed from the open creates the close of the bar.
The open of a new bar can be anywhere relative to the previous bar, both inside or outside the range.

Comment