Calculate and compare simple and exponential moving averages, inspect how input source and lookback affect responsiveness, and state when the faster response helps and when it hurts.
Understand what the indicator calculates, how its parameters affect it, and what it cannot establish by itself.
1
Simple moving average
The SMA gives equal weight to every observation in its window and changes when a new value enters and the oldest value leaves.
2
Exponential moving average
The EMA applies more weight to recent observations while retaining a decaying influence from earlier data.
3
Parameter tradeoff
Short periods follow price closely and generate more changes. Long periods smooth noise but respond later to turns and shocks.
Interactive lesson
Change the inputs, inspect the calculation, and compare the indicator with the underlying price data.
SMA and EMA comparisonSame source and period, different weighting
SMAEMA
Compare the distance from price after a sharp change. Closer does not automatically mean better; it means more responsive.
Use moving averages correctly
Treat an average as a trend reference, not as a complete trading system.
1
Choose the price source
Use a consistent source such as close or typical price and document it.
2
Choose the horizon
Match the period to the timeframe and behavior you intend to measure.
3
Define the interpretation
Specify whether you care about slope, price position, distance, or a crossover.
4
Validate in different regimes
Check how the same setting behaves in a trend, a range, and a sudden reversal.
Moving-average interpretation
Score 0 / 0
Choose the best answer.
Lesson rule
Compare moving averages using the same data and period; choose the weighting method based on the required responsiveness, not because one line looks better afterward.
Common mistakes
1
Calling EMA leading and SMA laggingBoth are derived from historical data and both lag price; the EMA generally responds faster for the same nominal period.
2
Using the period without a timeframeA 20-period average means very different horizons on a five-minute, hourly, and daily chart.
3
Assuming price above an average is sufficientPrice position can help define bias, but location, structure, volatility, and invalidation still matter.
Completion standard
✓
Finish when you can explain every difference between the two lines.
Use one source and period, calculate the SMA and EMA, identify which reacts faster after a shock, and state why that responsiveness can help in one regime and hurt in another.
Calculation note: The EMA in this course is seeded with the first complete SMA and then updated using α = 2 ÷ (period + 1). Some charting implementations use a different seed.
Kept in this browser only, for you. Nothing is sent anywhere and nothing checks it.
Carry it to another device.
Feedback and recommendations
Something to change about this lesson? Write it down, tick it off when it
is handled, and export the list when you want to act on it. Kept in this browser only:
nothing is sent anywhere, and nobody is notified.