How Is Weighted Moving Average Calculated