How to Use EMA and SMA for Futures Day Trading | NinjaTrader
How to Use EMA and SMA for Futures Day Trading
A complete guide to moving averages — the differences between EMA and SMA, which periods matter, and the strategies professional futures traders use every day.
What Are Moving Averages
A moving average is a calculation that takes the average price over a set number of bars and plots it as a continuous line on your chart. As each new bar closes, the oldest bar drops out of the calculation and the newest bar is added. This creates a smoothed representation of price that filters out short-term noise and reveals the underlying trend direction.
Moving averages are the most widely used indicator in all of trading. They appear on the charts of retail scalpers, institutional portfolio managers, algorithmic trading systems, and everything in between. Their popularity is not accidental — they work because they simplify one of the hardest problems in trading: determining whether the market is trending or chopping, and in which direction the dominant flow is moving.
For futures day traders on ES, NQ, CL, YM, and similar contracts, moving averages serve three primary functions: defining trend direction, identifying dynamic support and resistance, and generating entry signals through crossovers and pullbacks. The two most common types are the Simple Moving Average (SMA) and the Exponential Moving Average (EMA), and understanding the distinction between them is critical to using them effectively.
Moving averages are lagging indicators — they are based entirely on past price data. They do not predict the future. Their value lies in confirming what is already happening and providing objective reference points for decision-making. Traders who try to use moving averages as predictive tools will be frustrated. Traders who use them as contextual filters will find them invaluable.
SMA vs. EMA — What Is the Difference
Simple Moving Average (SMA)
The SMA calculates a straight arithmetic average of the closing prices over a specified number of bars. A 20-period SMA adds the last 20 closing prices together and divides by 20. Every bar in the lookback period carries equal weight. This makes the SMA smoother and slower to react to new price action. It filters out more noise, but it also means the SMA lags further behind the current price.
The SMA is best suited for identifying the broader trend and for situations where you want a stable, less reactive reference line. Institutional traders and longer-timeframe participants tend to favor SMAs because the smoothness reduces false signals and aligns better with their slower execution pace.
Exponential Moving Average (EMA)
The EMA applies more weight to recent prices and less weight to older prices. This means the EMA reacts faster to new price movements. A 20-period EMA will hug price more closely than a 20-period SMA and will turn sooner when the market changes direction. The tradeoff is that the EMA is more sensitive to short-term noise, which can generate more false signals in choppy conditions.
The EMA is preferred by day traders and scalpers who need a moving average that keeps pace with fast-moving intraday markets. When you are trading 1-minute or 5-minute charts on ES or NQ, the EMA's responsiveness gives you a more accurate read on the immediate trend than the SMA.
| Feature | SMA | EMA |
|---|---|---|
| Weighting | Equal weight to all bars | More weight on recent bars |
| Responsiveness | Slower — lags further behind price | Faster — tracks price more closely |
| Noise Filtering | Better — smoother line, fewer whipsaws | Worse — reacts to minor fluctuations |
| Best For | Trend identification, higher timeframes | Day trading entries, fast-moving markets |
| Common Use | 50 SMA, 100 SMA, 200 SMA for trend | 8 EMA, 9 EMA, 21 EMA for intraday |
| Crossover Signals | Fewer signals, higher quality | More signals, more false positives |
You do not have to choose one or the other. Many professional futures traders use EMAs for intraday timing and SMAs for structural trend context on the same chart. The EMA tells you what price is doing right now. The SMA tells you what the broader trend looks like. Used together, they provide a complete picture.
The Best Moving Average Periods for Futures
The period you choose determines how sensitive the moving average is and what kind of information it provides. There is no single best period — the right choice depends on your trading style, timeframe, and what you want the moving average to tell you.
Fast EMAs — 8, 9, and 10 Period
These are the workhorses of intraday futures trading. The 8 EMA and 9 EMA hug price tightly and are used primarily for entries and exits on 1-minute to 5-minute charts. When price is consistently above the 9 EMA, short-term momentum is bullish. When price breaks below the 9 EMA, the immediate momentum has shifted. Scalpers use the 8 or 9 EMA as a trailing reference — staying in trades as long as price holds above (or below) the fast EMA.
Medium EMAs — 20 and 21 Period
The 20 EMA and 21 EMA are the most popular moving averages among futures day traders. They provide a balance between responsiveness and smoothness. On a 5-minute chart, the 21 EMA represents roughly the last hour and a half of price action, making it an excellent proxy for the session's intraday trend. Pullbacks to the 21 EMA during a trend are among the highest-probability setups in day trading. The 20 SMA is also widely used and carries similar significance.
Slow SMAs — 50, 100, and 200 Period
These longer-period moving averages define the macro trend. On a 5-minute chart, the 50 SMA covers the majority of a full trading session. The 200 SMA on a 5-minute chart spans multiple sessions, providing a powerful structural reference. These SMAs move slowly and are not useful for timing entries, but they are essential for knowing whether you should be biased long or short. Trading with the 200 SMA direction dramatically improves your win rate on any strategy.
| Period | Type | Use Case |
|---|---|---|
| 8 / 9 EMA | Fast | Scalping entries, trailing stops, immediate momentum read |
| 20 / 21 EMA | Medium | Intraday trend direction, pullback entries, dynamic support/resistance |
| 50 SMA | Slow | Session-level trend, stronger dynamic support/resistance |
| 100 SMA | Slow | Multi-session trend context, institutional reference |
| 200 SMA | Very Slow | Macro trend filter — trade in its direction for best results |
How to Read Moving Averages on a Chart
Slope Tells You the Trend
The most important thing a moving average communicates is its slope. A rising moving average means the trend is up — buyers are in control and each successive average price is higher than the last. A falling moving average means sellers are dominant. A flat moving average indicates consolidation — no side has taken control, and the market is ranging.
The slope of the 21 EMA on a 5-minute chart is one of the fastest ways to assess the intraday trend. If it is angled up, look for long setups. If it is angled down, look for short setups. If it is flat, step aside or reduce your size. This single observation can prevent the majority of losing trades caused by trading against the trend.
Price Position Relative to the MA
When price is above a moving average, the market's current price is higher than its recent average — this is bullish. When price is below the moving average, the market is trading below its average — this is bearish. The further price is from the moving average, the more extended the move is and the more likely a mean reversion pullback becomes.
Moving Average as Dynamic Support and Resistance
In a trending market, moving averages act as dynamic levels that move with price. During an uptrend, the 21 EMA often serves as a moving floor where buyers step in on pullbacks. During a downtrend, it becomes a moving ceiling where sellers re-enter on rallies. Unlike static horizontal levels, these dynamic levels adjust with each new bar, staying relevant throughout the session.
Distance Between MAs — The Spread
When fast and slow moving averages are spread far apart, the trend is strong and accelerating. When they begin to converge — the fast MA flattens and starts moving toward the slow MA — momentum is fading and a reversal or consolidation is likely. Watching the spread between your 9 EMA and 21 EMA gives you an instant visual read on whether the trend is accelerating, decelerating, or stalling.
Moving averages are trend-following tools. They perform well in trending markets and poorly in choppy, range-bound conditions. If price is whipping back and forth across your moving averages with no sustained direction, the market is telling you that MAs are not the right tool for that session. Switch to range-based strategies or sit on your hands until a trend develops.
Five Moving Average Strategies for Day Traders
1. The 21 EMA Pullback
The most reliable moving average setup for futures day trading. When the market is trending — confirmed by a sloping 21 EMA with price consistently on one side — wait for a pullback to the 21 EMA. Enter in the trend direction when price touches the 21 EMA and shows a rejection. On a long setup, you want to see price dip to the 21 EMA and print a bullish candle with a wick below the EMA. On a short setup, you want price to rally into the 21 EMA and print a bearish rejection.
Stop goes just beyond the 21 EMA (a few ticks below for longs, a few ticks above for shorts). Target the prior swing high or low, or trail using the 9 EMA. This strategy has a high win rate when the trend is strong and the 21 EMA slope is clearly angled in your direction.
2. The 9/21 EMA Crossover
When the 9 EMA crosses above the 21 EMA, it signals that short-term momentum has turned bullish — a golden cross on the intraday timeframe. When the 9 EMA crosses below the 21 EMA, short-term momentum has turned bearish — a death cross. The crossover itself is the signal, but the better entry is often on the first pullback after the cross, not on the cross itself.
This strategy works best on 5-minute charts for ES and NQ. Filter the signal by only taking crossovers that occur in the direction of the 50 SMA. A bullish 9/21 cross above the 50 SMA is a high-quality signal. A bullish 9/21 cross below the 50 SMA is lower probability because you are going long against the larger trend. This one filter alone dramatically reduces false crossover signals.
3. The 8 EMA Ride
This is a momentum scalping strategy. When a strong move initiates — often triggered by an economic release, a level break, or a volume spike — price will hug the 8 EMA on a 1-minute or 2-minute chart. Enter in the direction of the move and use the 8 EMA as your trailing stop. As long as candle bodies are closing on the trending side of the 8 EMA, stay in the trade. The moment a full candle closes on the other side, exit.
This setup captures the meat of fast intraday moves without requiring a profit target. The 8 EMA naturally keeps you in strong moves and ejects you when momentum fades. It is especially effective during the first hour of the regular session when directional moves tend to be the strongest.
4. The 200 SMA Directional Filter
This is not a standalone strategy but a filter that improves every other strategy you use. Plot the 200 SMA on your 5-minute chart. If price is above the 200 SMA, only take long setups. If price is below the 200 SMA, only take short setups. That is the entire rule.
The 200 SMA represents the dominant structural trend over multiple sessions. Trading against it means fighting the majority of positioned capital. By restricting yourself to trades that align with the 200 SMA direction, you automatically avoid the lowest-probability setups — counter-trend trades in strong trends. Many traders report that this single filter improves their overall win rate by 10-15%.
5. The Moving Average Compression Breakout
When the 9 EMA, 21 EMA, and 50 SMA all converge into a tight cluster, the market is in compression — a low-volatility state that typically precedes a significant directional move. The moving averages stacking on top of each other indicates that short-term, medium-term, and session-level averages are all at the same price, meaning the market has reached equilibrium.
When price breaks out of this compression zone with volume, the resulting move is often powerful because all timeframes are aligned. Enter in the direction of the breakout when price clears the compressed MA cluster. Stop goes on the other side of the cluster. Target is aggressive — compressed moves frequently travel to the prior session's high or low because the built-up energy releases in one direction.
Combining EMA and SMA Together
The most effective moving average setups use both EMAs and SMAs, each serving a distinct purpose. The typical professional setup layers them as follows: the 9 EMA for immediate momentum and trailing stops, the 21 EMA for intraday trend direction and pullback entries, and the 50 or 200 SMA for structural trend context and directional filtering.
This layered approach gives you three levels of information. The 9 EMA tells you what is happening in the last few minutes. The 21 EMA tells you what has been happening for the last hour or two. The 200 SMA tells you what the dominant direction has been across multiple sessions. When all three agree — price above all three, all three sloping up — you have a powerful trend alignment that produces the highest-probability setups.
When they disagree — for example, price above the 9 EMA and 21 EMA but below the 200 SMA — you are in a corrective bounce within a larger downtrend. These are lower-probability long trades and higher-probability short setups if the bounce fails. Learning to read the agreement and disagreement between your fast, medium, and slow moving averages is one of the most valuable skills in futures day trading.
Color-code your moving averages for instant visual clarity. Use a bright, warm color for the 9 EMA, a cooler medium color for the 21 EMA, and a muted or dashed line for the 200 SMA. When your chart is green-over-blue-over-gray from top to bottom, the trend is aligned and you should be looking for longs. When the order is reversed, look for shorts. When the lines are tangled, stay patient.
Common Mistakes to Avoid
Using Moving Averages in Choppy Markets
Moving averages are trend-following tools. In range-bound, choppy markets, the moving averages flatten out and price whips above and below them repeatedly, generating false signal after false signal. If you notice price crossing your 21 EMA more than three or four times in a short period without establishing direction, stop trading off the MAs. The market is telling you there is no trend to follow.
Changing Periods Constantly
One of the most destructive habits is switching your moving average periods every time you have a losing streak. Moving from the 9 EMA to the 12 EMA to the 14 EMA in search of the perfect setting is curve-fitting — making past data look better without improving future performance. Choose your periods, commit to them for at least several weeks, and evaluate them over a meaningful sample of trades, not individual outcomes.
Trading Every Crossover
Crossover signals generate many trades, and in choppy markets, the majority of them are losers. The crossover itself is not enough — you need context. Is the crossover happening in the direction of the larger trend? Is there volume confirming the move? Is the cross occurring near a key level? Crossovers without context are coin flips. Crossovers with confluence are high-quality signals.
Using Moving Averages as Exact Entry Prices
A moving average is a dynamic zone, not a specific price. If the 21 EMA is at 5,200.50, do not place a limit order at that exact tick. Price may undercut the EMA by a few ticks before bouncing, or it may bounce 2 ticks above it. Like support and resistance levels, treat moving averages as areas where you look for confirmation, not exact prices where you blindly enter.
Ignoring the Slope
A flat 21 EMA at 5,200 is completely different from a steeply rising 21 EMA at 5,200. The price level is the same, but the information is opposite. The flat EMA says the market is going nowhere. The rising EMA says buyers are firmly in control. Always consider the slope before acting on a moving average signal. A pullback to a rising EMA is a buy setup. A pullback to a flat EMA is a trap.
Moving averages work best as confirmation tools, not primary signal generators. The strongest setups occur when a moving average signal aligns with a key level, a VWAP reference, or a visible shift in order flow. Using moving averages in isolation will produce mediocre results. Using them as one layer in a multi-factor decision process produces consistency.
Setting Up Moving Averages on NinjaTrader
NinjaTrader includes built-in SMA and EMA indicators. To add them, open a chart of your preferred futures contract, right-click the chart and select Indicators, then search for SMA or EMA. You can add multiple instances — one for each period you want to display. Set the period, choose a color and line thickness, and click Apply.
For the recommended three-layer setup, add a 9 EMA, a 21 EMA, and a 200 SMA. Assign each a distinct color and line style so you can instantly identify which is which. Many traders use a solid bright line for the fast EMA, a solid medium line for the 21 EMA, and a dashed or dotted line for the 200 SMA.
NinjaTrader also supports custom moving average indicators that go beyond the built-in options. Enhanced versions can include features like automatic slope coloring — where the moving average line changes color based on whether it is rising or falling — crossover alerts, multi-timeframe overlays that display higher-timeframe moving averages on your intraday chart, and ribbon configurations that plot multiple MAs simultaneously for visual trend confirmation.
Start with 9 EMA, 21 EMA, and 200 SMA on a 5-minute chart of ES or NQ. This combination covers short-term momentum, intraday trend direction, and structural trend context. Trade only in the direction of the 200 SMA, enter on pullbacks to the 21 EMA, and trail your stops with the 9 EMA. This simple framework provides a complete trading system with clear rules.
Frequently Asked Questions
Should I use EMA or SMA for day trading?
For most futures day traders, EMAs are the better choice for your fast and medium moving averages because they react more quickly to price changes. Use the 9 EMA and 21 EMA for intraday decisions. For your slow, structural reference, the SMA is generally preferred — the 200 SMA is smoother and provides a more stable trend reference than the 200 EMA. The combination of fast EMAs and slow SMAs gives you the best of both worlds.
What is the best moving average period for scalping?
For scalping on 1-minute or 2-minute charts, the 8 EMA or 9 EMA is the standard. It tracks price closely enough to serve as a trailing stop and momentum reference without being so fast that every single tick throws it off course. Some scalpers also add a 20 EMA on their scalping timeframe to define the micro-trend direction.
Do moving averages work on tick charts?
Yes. Moving averages calculate the same way regardless of chart type — they average the closing prices of the last N bars. On a tick chart, each bar represents a fixed number of trades rather than a fixed time period. The moving averages will look slightly different because bar formation is driven by volume rather than time, but the principles of slope, crossovers, and dynamic support and resistance all apply equally.
How do I avoid false crossover signals?
Three filters dramatically reduce false crossovers: first, only take crossovers in the direction of a higher-timeframe moving average like the 50 or 200 SMA. Second, require the crossover to occur with above-average volume. Third, wait for the first pullback after the crossover rather than entering immediately — false crossovers usually fail within the first few bars, so waiting for a pullback naturally filters them out.
Can I use moving averages with other indicators?
Absolutely, and you should. Moving averages provide trend context and dynamic levels. Combining them with VWAP gives you both a trend filter and a volume-weighted fair value reference. Adding key support and resistance levels gives you static confluence with your dynamic MAs. Order flow or volume analysis confirms whether the participants at a moving average level are actually buying or selling. The most robust trading setups layer multiple tools that each answer a different question about the market.
Smarter Moving Averages for NinjaTrader
Our enhanced moving average indicators feature a plethora of data and multi-timeframe overlays — built for serious futures traders.
Browse Our Indicators →