VWAP is calculating the sum of price multiplied by volume, divided by total volume. A simple moving average is calculated by summing up closing prices over a certain period (say 10), and then dividing it by how many periods there are (10).