If you are interested in this, I would use something other than the IB feed. It is impossible to sort out where trades take place due to the way they distribute data. With something as active as ES, it might be good enough to give you a reasonably close picture, but if you try it on an instrument where the volume can be dominated by a small number of trades in a period the shortcomings of the feed will be obvious.