Interactive illustrations to Chapters 1 and 2 of the book Market Timing with Moving Averages: The Anatomy and Performance of Trading Rules by Valeriy Zakamulin
Here the user can define the averaging period and see the difference between a centered moving average and a right-aligned moving average.
Notice the following:
The longer the averaging period, the smoother the moving average;
The turning point in a centered moving average coincides in time with the turning point in the price trend;
The turning point in a right-aligned moving average lags behind the turning point in the price trend;
The longer the averaging period, the greater the lag time.