
Karl Montevirgen is a professional freelance writer who specializes in the fields of finance, cryptomarkets, content strategy, and the arts. Karl works with several organizations in the equities, futures, physical metals, and blockchain industries. He holds FINRA Series 3 and Series 34 licenses in addition to a dual MFA in critical studies/writing and music composition from the California Institute of the Arts.
Doug is a Chartered Alternative Investment Analyst who spent more than 20 years as a derivatives market maker and asset manager before “reincarnating” as a financial media professional a decade ago.
Before joining Britannica, Doug spent nearly six years managing content marketing projects for a dozen clients, including The Ticker Tape, TD Ameritrade’s market news and financial education site for retail investors. He has been a CAIA charter holder since 2006, and also held a Series 3 license during his years as a derivatives specialist.
Doug previously served as Regional Director for the Chicago region of PRMIA, the Professional Risk Managers’ International Association, and he also served as editor of Intelligent Risk, PRMIA’s quarterly member newsletter. He holds a BS from the University of Illinois at Urbana-Champaign and an MBA from Illinois Institute of Technology, Stuart School of Business.

When it comes to analyzing stock trends, price charts are an essential tool. A chart not only helps you contextualize a stockâs current price relative to its past movements, but also clearly shows whether a stock is trending up, down, or sideways. To enhance trend analysis, traders often use moving averages to filter out market noise and reveal underlying trends that can be drowned out by price volatility. Some traders use moving averages to time their market entries and exits.
Several types of moving averages exist; two of the most popular are simple moving averages (SMAs) and exponential moving averages (EMAs). Although they share a few similarities, theyâre calculated differently and can serve different purposes.
In technical analysis, a moving average is a calculation of successive pricesâof a stock, commodity, or other assetâaveraged over a period of time. Moving averages can be collected from any time seriesâby the minute, hour, day, week, etc.âand the collection periods in a moving average can vary. For example, popular daily moving averages include 50-, 100-, and 200-day moving averages. Technical traders use moving averages for several types of price information:
Also, if the stockâs price is above its moving average, and both the price and the moving average are rising, it indicates bullishness. The opposite is true if a stockâs price is below its moving average and falling. Traders have countless ways of slicing and dicing moving averages and other technical indicators, but these are the basic ways to read a moving average.
Simple moving averages (SMAs) and exponential moving averages (EMAs) are similar in that they each track price movement during defined periods, but the EMA formula adds a component that gives more weight to recent prices than older ones. When prices take a sharp turn, the EMA responds more quickly than the SMA. Both lag behind real-time prices, but because SMAs give equal weight to the oldest and the most recent data points in the collection period, this âlag factorâ is much more pronounced in SMAs than EMAs.
The difference in weighting might not seem like much, but itâs enough to make SMAs and EMAs better suited to different trading strategies. The choice between an SMA and an EMA often comes down to how each is calculated.
The simple moving average is appropriately named; its calculation is straightforward.
Using X for the number of periods, the formula is:
SMA = (sum of the last X closing prices Ă· X)
In a simple moving average, each data point in the collection period carries equal weight. For a 20-day SMA, that means each dayâs closing price accounts for 5% of the total.
An exponential moving average is a bit more involved to calculate because it uses a variable that gives more weight to recent prices than to older ones. This added weighting helps smooth out the lag factor thatâs more pronounced in the equal-weighted SMA. Some chart watchers refer to this extra variable as the weighting multiplier, while others call it the smoothing factor.
Although the EMA calculation is a bit more complex, most online brokerages or charting toolsâsuch as StockCharts.comâcan plot it for you.
Expressed as a formula:
EMA = ((current closing price â previous EMA) Ă multiplier)) + previous EMA
The EMA formula is designed to put extra emphasis on the most recent data points. For example, in a 20-day EMA, the most recent closing price constitutes 9.52% of the total (versus 5% in an SMAâthe same as the other 19 data points). On the next day, a new closing price receives the 9.52% weighting, and the weightings of all the other days fall slightly.
Remember: the sum of all the weightings must be 100%, so roughly half of the weightings will be above 5% and the other half will be below 5%. And because all EMAs begin with a baseline SMA of the number of collection periods, and subsequent readings use an EMA based on that baseline, the further you go back in time to begin your baseline collection, the more accurate your EMA will be. Ideally, a daily EMA would include prices going back a full year (approximately 256 trading days) or more.
Simple moving averages are effective tools for analyzing longer-term trends. Financial publications and institutionsâeven those that typically concentrate on fundamental analysis rather than technical analysisâdisplay charts with the 50-day and 200-day moving averages because they provide clear insights when illustrating trends.
See figure 1 for a weekly chart of the S&P 500. Notice how:
Longer-term investors can use SMAs to gauge trends and identify potential support and resistance levels. In an uptrend, SMAs can be seen as levels of buying support (floors). In a downtrend, SMAs tend to act as resistance (ceilings).

EMAs are more sensitive to price changes than SMAs. Theyâre more suited for short-term trading contexts in which you have a tight time window to detect and respond to price fluctuations (i.e., make a trade). In other words, when using EMAs, youâre not just looking to analyze trends over time; you may be using moving averages as a key signal for market entries or exits.
Numerous trading systems and technical indicators are based on EMAs. For example, some traders optimize EMAs by plotting several at onceâtwo, three, or more (also called âribbonsâ).Â
The Guppy multiple moving average (GMMA) is an EMA ribbon developed by trader Daryl Guppy (see figure 2). The GMMA comprises 12 EMAsâsix long-term and six short-term. The short-term EMAs, shown in green and tightly clustered near the price line, reflect short-term tradersâ sentiment. The long-term EMAs, shown in blue and more widely spaced, represent longer-term investor sentiment.

There are several ways to use such ribbons. One way is to look for a scenario in which short-term sentiment is falling but long-term sentiment remains strong. This could suggest a âbuy-the-dipâ opportunity. Conversely, in a period of short-term strength during a long-term decline in sentiment, some traders will sell into the rising prices (what traders call âfading the rallyâ).
When both sets of EMAs converge, it may reflect a period of market calm or small up-and-down movements (âchoppiness,â in trader lingo).
Simple and exponential moving averages are basic tools in technical analysis that also serve as the foundation for other technical indicators and trading systems. The key difference is how sensitive each one is to recent price data, which affects how traders use them. In the simplest case, you can plot either type to analyze short- and long-term trends.
Like most technical indicators, SMAs and EMAs are often most effective when used alongside other tools and indicators, which can help confirmâor at least add context toâthe information you get from them. Although moving averages can help identify trends and signal potential entry or exit points, their real value lies in how they fit into your trading and investing strategy.
This article was most recently revised and updated by Karl MontevirgenThis article was most recently revised and updated by Doug Ashburn