VWAP calculation
There are five steps involved in the VWAP calculation.
First, compute the typical price for the intraday period. This is the average of the high, low and close {(H+L+C)/3)}.
Second, multiply the typical price by the period's volume.
Third, create a running total of these...