Hi
Thanks for your effort but it seems it calculates the average wrongly.
I have attached an screenshot for a simple scenario which the up leg has only 3 bars ( accumulative volume is shown also which is around 98m).I used the oscillator in both cumulative and average which is shown.
the upper one is showing the average=23943127 which is wrong and it should be 32999224 [=(98997672)/3]
Br