Monetary Volume Aggregated Bars - Coding problem | OneNoughtOne