Bug fixed from v2. Currently adds up values correctly.
Note: To get more accurate readings reduce the time frame. For some reason it isn't counting the last bar and I am not smart enough to figure out why.
Builds on Ceyhun's "Buying Selling Volume" indicator. This version allows users to define periods by effortlessly dragging two points or you may define periods by manually entering the start and end times in the settings window. Once the period is defined, both buying and selling volume will be totaled thus displaying the amount of buys and sells in that period.
I have found the information provided from the script helps in defining a period of consolidation as either being accumulative or distributive.