The Weighted Moving Average (WMA) is similar but as noted in its name,
different values have different weights;
thus the more recent prices are reflected better in the average.
The most recent price is multiplied by n(the number of data points we are calculating)down to the oldest price,
which is multiplied by 1, leaving it un-weighted.