Track your progress
Log in with your Discord account to save this lesson to your Academy progress. Joining a Discord server is not required.
Log in with DiscordEMA: Periods, Trends And Pullbacks
EMA stands for exponential moving average. It is a running average that gives greater weight to recent input prices than to older ones. On a price chart, it forms a line that helps traders see direction and how recent price movement compares with that average.
This lesson uses closing prices as the input. The close is the last price for a completed candle interval; while the current candle is forming, its latest price can still change. An EMA using a different price source is a different calculation.
Day traders often use an EMA to follow short-term pace, compare pullbacks with a broader intraday move, or notice when price behavior changes. Understanding the period and chart timeframe is essential before interpreting the line.
What An EMA Period Means
The number in “9 EMA” means nine periods. A period is one bar on the chart, not automatically one day or one minute.
| Chart | What the 9-period setting represents |
|---|---|
| One-minute | Nine one-minute bars |
| Five-minute | Nine five-minute bars |
| Daily | Nine daily bars |
Nine five-minute bars represent 45 minutes of trading intervals. Nine daily bars represent nine trading days, not necessarily nine calendar days. Market closures and gaps between included sessions also mean a sequence of bars need not cover an uninterrupted block of clock time.
An EMA does not simply take the last nine closes and discard everything earlier. Its previous value carries diminishing influence from older prices. The period setting controls how strongly new prices affect that running calculation.
This distinction explains why a 9 EMA is different from a nine-period simple moving average. A simple moving average, or SMA, gives equal weight to the input prices in its selected window. The SMA lesson explains that calculation in detail.
How A New Close Changes The EMA
The update is:
New EMA = previous EMA + weight × (new closing price − previous EMA)
The standard weight is 2 ÷ (period + 1). For a 9 EMA, it is 2 ÷ 10 = 0.20, or 20%.
Suppose the previous EMA is $4.00 and the new close is $4.50. The new price is $0.50 above the previous average. Twenty percent of $0.50 is $0.10, so the updated 9 EMA is $4.10.
If the next candle closes at $4.00, calculate from the updated average: $4.10 + 0.20 × ($4.00 − $4.10) = $4.08. The line moves toward the new close, but does not become the new close immediately.
That is why averaging creates lag: the line continues to reflect previous prices after current price changes. The lag is part of the smoothing, not necessarily a fault in the chart.
To isolate period length, imagine each average below starts from the same previous value, $4.00, and receives the same new close, $4.50:
| Period | Weight on the new close | Updated EMA, rounded to cents |
|---|---|---|
| 9 | 20.00% | $4.10 |
| 20 | 9.52% | $4.05 |
| 21 | 9.09% | $4.05 |
| 50 | 3.92% | $4.02 |
The shorter period responds more strongly. The 20 and 21 values differ before rounding: approximately $4.047619 and $4.045455. Both display as $4.05 at two decimal places.
This controlled example compares responsiveness. On an actual chart, the different EMAs usually begin a new bar with different previous values because they processed earlier prices differently.
Why Traders Use Different Periods
A shorter EMA follows changes more quickly. That can be useful when a trader wants to track the immediate pace of a move, but it also means ordinary fluctuations affect the line more readily.
A longer EMA smooths more of those changes. It can help describe a broader move while reacting later to a reversal. Choosing a longer period does not create more certainty; it changes the balance between responsiveness and smoothing.
The 9, 20 or 21, 50 and 200 periods are useful examples of that progression. They do not have fixed meanings independent of timeframe.
A 9 EMA can serve as a fast reference for short-term momentum and shallow pullbacks. Price may cross it often during sideways trading, so a crossing is not automatically a significant trend change.
A 20 or 21 EMA provides a slower comparison on the same chart. A move can lose the 9 EMA while still holding the broader structure near the slower average. That distinction can help a trader avoid treating every shallow pullback as the end of the move.
A 50 EMA is slower again. It may help describe the broader trend on that timeframe, but can be too distant from a fast entry to provide a practical loss boundary.
A 200 EMA incorporates a much slower response. A 200-period one-minute EMA is not the daily 200-period average. Its number does not turn it into a long-term daily reference unless its input bars are daily bars.
Choosing Periods For Day Trading
Start with the pace of the trading approach. A brief momentum trade and an intraday position intended to last through several pullbacks do not necessarily need the same sensitivity.
Then choose the chart timeframe used to assess the setup. For example, a five-minute chart may help a trader follow a developing intraday trend, while a one-minute chart reveals more of the smaller fluctuations within that move. Neither timeframe is automatically better; they show different levels of detail.
A trader studying the immediate pace might begin with a 9 EMA. Someone studying a slower pullback might use a 20 or 21 EMA. If comparing two references, 9 and 20 or 9 and 21 can illustrate the faster and slower parts of the same movement.
The reason to add the second line is to compare those responses. Adding two lines does not create two independent confirmations. Both are calculations from the same price history.
Choosing 20 rather than 21 changes the weighting slightly. The difference can accumulate across a series, but does not establish that one is universally superior. Adding both may provide little additional information if they perform the same job in the trader's approach.
Keep the other inputs consistent when comparing periods. This lesson uses closing prices. Decide whether the chart includes extended-hours bars and understand that those bars affect its price history. An ordinary EMA does not reset at the opening bell like session VWAP; earlier included bars continue to influence it.
The Same Period On Different Timeframes
Consider a 9/20 combination on one-minute and five-minute charts of the same session:
| Setting | One-minute chart | Five-minute chart |
|---|---|---|
| 9 EMA | Faster response across one-minute inputs | Response across five-minute inputs |
| 20 EMA | Twenty-period weighting on one-minute closes | Twenty-period weighting on five-minute closes |
| Price detail | More small fluctuations and potential crossings | Several one-minute moves combined into each bar |
The five-minute EMAs are recalculated from five-minute closing inputs. They are not simply the one-minute lines drawn on fewer candles. A price fluctuation can cross a one-minute average while never producing the same relationship on the five-minute chart.
If a trade depends on five-minute structure, a one-minute crossing does not by itself invalidate that structure. Conversely, a stop intended for a brief trade should not be moved farther away simply because a slower chart still looks constructive.
Evaluate a period choice across several types of sessions. Does it help identify useful pullbacks? Does it repeatedly change direction in ranges? Are apparent signals arriving after price is already close to resistance? Looking only at a winning trend chart hides the situations where the same setting is less useful.
Price Position And EMA Slope
Price above the EMA and an upward-sloping EMA are separate observations. Slope describes how the average is changing; price position compares the current price with it.
During a bounce in a downtrend, price can move above an EMA while the line still slopes downward. Earlier declining prices remain in the calculation. The crossing does not by itself establish that the broader decline is over.
During an uptrend, a pullback can move below a fast EMA while the slower average remains rising. That can be an ordinary pause, or the start of a larger failure. The recent swing lows and subsequent candles help distinguish the two.
When price makes higher highs and higher lows, the fast EMA stays above the slower EMA, and both rise, the relationships describe a sustained advance. When both flatten and price repeatedly crosses them, the same indicators describe a much less orderly situation.
Pullbacks And Moving Support
Traders sometimes describe a rising EMA as dynamic support. “Dynamic” means the reference moves as the average updates. It does not mean actual buy orders are guaranteed to be waiting on the line.
A useful pullback example includes price behavior around that moving reference. Price declines toward it, forms a reaction low and begins to recover. If the low holds, the pullback has preserved that part of the structure. If price continues through it, the reaction did not hold.
A wick through an EMA is different from a completed close below it, and both are different from losing a significant reaction low. A rule based on one of those events should specify which event matters. Otherwise, a trader can keep changing the explanation after seeing the result.
The bearish counterpart is a bounce toward a falling EMA that stalls and turns lower. Support below the bounce still matters. A falling average does not guarantee that every bounce will fail or that the next decline has enough room to trade.
Crossovers And Whipsaws
A price crossover occurs when price moves from one side of an EMA to the other. An EMA crossover occurs when a faster average moves across a slower one.
Because averages respond to input prices, the underlying move can start before the faster line crosses the slower line. By the time a bullish crossover appears, price may already have advanced substantially. Entering solely because the crossover occurred can therefore mean buying late in the move.
In a sideways range, the lines can cross repeatedly as price alternates upward and downward. A crossing followed quickly by a reversal is a whipsaw. The lines are responding to the changing prices; the problem is treating each response as a sustained trend.
Current-bar crossings can also disappear before the candle closes because its closing-price input is still changing. Waiting for the close establishes the completed-bar relationship, but even a completed crossover can fail afterward.
A Pullback With Defined Risk
Imagine a five-minute uptrend using 9 and 20 EMAs. Price pulls back to $5.00, holds above an earlier swing low and begins to recover. The faster EMA remains above the slower one. Resistance from an earlier price reaction is marked at $5.40.
A trader considers buying at $5.10 after the recovery starts. The chosen stop reference is $4.98, below the $5.00 reaction low. The reasoning comes from the low the trade idea depends on, rather than a rule requiring every stop to sit on an EMA.
For 250 shares, the $0.12 distance from entry to stop is $30 of planned price risk. The $0.30 distance from entry to $5.40 is $75 before costs. The position's purchase value is $1,275, which is different from its planned loss.
The EMA arrangement helps describe the trend, while the candles establish the pullback and recovery. Resistance gives the trader a place to judge available room. All three contribute to understanding the example.
Now suppose the recovery stalls, price loses $5.00 and reaches the stop reference. The reaction low did not hold, so the planned pullback idea failed. A stop-market fill may differ from $4.98, and costs affect the final result. The $30 figure describes the price calculation at the reference exit, not a maximum loss guaranteed by the indicator or order.
An EMA will continue changing after entry. That does not justify moving the original stop farther away to keep the trade alive. Any planned management rule needs its own explanation before the order, rather than being invented after the loss develops.
A Bullish Chart Can Still Have A Poor Entry
Consider entering later at $5.35 with the same $4.98 stop reference and $5.40 resistance. At 250 shares, the $0.37 risk distance becomes $92.50, while the remaining $0.05 to resistance represents only $12.50 before costs.
The EMAs may still be rising and correctly describe the advance. They have not solved the late entry's distance from support or proximity to resistance. This is why “the 9 is above the 20” is an incomplete reason to trade.
Where EMAs Help Less
Sideways trading often produces repeated crossings without sustained movement. Sudden news or gaps can move current price far from an average that still reflects earlier prices. Thin trading can produce abrupt jumps while the line appears smooth.
Shortening the period makes the line respond faster, but also makes it more sensitive to small changes. Lengthening it smooths those changes while adding delay. Neither adjustment removes the need to understand the chart.
Prices can remain far from an EMA during a strong move. Distance alone is not proof that they must return immediately. Similarly, a touch does not establish a defended pullback unless price actually reacts and the relevant structure holds.
Chart values can also differ if platforms use different input prices, included sessions or starting values. A calculation needs an initial value, often based on an earlier average; that starting influence diminishes as more bars arrive. Comparing charts requires matching those inputs rather than assuming every displayed EMA must be identical.
Check Your Understanding
What does 9 EMA mean on a five-minute chart? An exponential average using five-minute prices with its period set to nine. Older prices still have diminishing influence. It is not a nine-minute average.
Is 9/20 a required combination for day trading? No. It is an example of faster/slower references. The periods should have understandable roles in the trader's approach.
Why can a bullish crossover arrive after the move starts? Both lines are averages responding to the price changes that produced the move.
Does an EMA reset daily? Ordinary EMA calculation continues through its included bar history. Session inclusion determines which bars enter that history.
Why is the reaction low important in the pullback example? It identifies the price structure the trade idea depends on. Touching an EMA does not supply that structure or a complete risk plan.
