Choose a scenario, step through execution-event time, and compare exact clock bounds with the first and last contributing trade. The decision boundary is the interval index; OHLCV follows from membership.
Clock bars and trade density
close at or above openclose below openforming intervalomitted time before bar