Moving Averages: The Math Behind the SMA, EMA, and WMA

Moving averages explained with real math: how the SMA, EMA, and WMA weight each bar, why the EMA never fully forgets old prices, and how to measure lag in bars.