bar time problem

 

I was wondering what might be the best way to identify the open time of the bar the last order from the order history pool closed on.

I need to do this so to identify which of the other orders in the history pool were closed on the same bar as the last order.

I already coded to identify the last closed order and its close time, but then how to identify which of the other orders in the pool also closed on the same price bar ....

 
Pay attention to
int iBarShift() function
 

Thanks Roger I believe thats what I need