Murray,
I want to do something like this for futures contracts at the opens of various world markets - I want to build a rolling measure of the "reactiveness" and breakout potential for futures products only during the period of market opens (for the ES, NQ, YM, ER2, ZB, TY, EC, DAX, N225...