August 10, 2022

What Are Moving Averages in Stock Trading?

Many successful stock traders will agree that moving averages (MA) are one of the most important indicators available. The fundamentals behind moving averages are pretty straightforward, and very important to understand before applying them in your trading. Knowing how this tool works and what it’s capable of telling you about the securities you’re monitoring can give stock traders a significant edge in technical analysis.

What Are Moving Averages?

In layman’s terms, moving averages are stock trading indicators that determine a security’s median price over a specific timeframe. They typically help calculate what direction a stock is trending, support and resistance levels, and can mitigate the impacts of random short-term price fluctuations. A stock’s moving average rarely (if at all) emulates their current price down to the penny. Since MAs are based on past pricing, they will lag behind a stock’s current price to some extent. Longer time periods result in greater lags and vice versa.

MA data clarifies important factors like market and stock sentiment, buying and selling opportunities, along with support and resistance levels. Rising MAs indicate an uptrend and vice versa. Upward momentum is signified by what’s called a bullish crossover. This is when a short-term MA crosses above a longer-term moving average.

The example below shows a one-month chart for Apple (AAPL). The red, yellow, and green lines respectively represent the five, 20, and 50-day moving averages. The four circled areas mark spots where the shorter-term MA (five-day) crosses above the longer-term ones (20, 50-day). As you can see, each of these instances was followed by a price jump.

moving averages

Downward momentum on the other hand, is clarified with a bearish crossover, which happens when a short-term MA crosses below a long-term one.

Sticking with AAPL in the example below, its six-month chart contains five prominent examples of a bearish crossover. Whenever the five-day MA dipped below the 20 and/or 50-day MAs, this movement subsequently led to a drop in Apple’s stock price.

moving averages

How to Calculate Moving Averages

Calculating a moving average is fairly straightforward. All you do is divide the sum of a stock’s closing price over a specific time period by the number of days.

For example, to calculate a stock’s 50-day moving average, you add the security’s closing price for each of the last 50 trading days, and divide that number by 50.

Simple Moving Average

There are two main types of moving averages – simple (SMA) and exponential (EMA). Stock traders calculate SMAs by taking the sum of a stock’s price over an x number of days, and divide it by the length of that timeframe (as explained above). SMAs are effective in identifying reversals and trends, measuring the strength of a stock’s momentum, along with determining potential resistance or support levels.

While EMAs add extra weight to a stock’s recent prices, SMAs sum up these figures equally. This makes it an efficient tool for long-term trading. SMAs smooth out recent price volatility, and take a wider view of these trends to help stock traders project future potential trade opportunities. When a stock price crosses its SMA, it often triggers a trading signal. Prices crossing above the SMA means a stock trader might want to go long or cover short. Crossing below the SMA means they might want to go short or exit long.

The six-month chart for Starbucks (SBUX) shows good examples of both these occurrences. The red, yellow, and green lines respectively represent the five, 20, and 50-day SMAs. The white circles show where the stock price crosses above these moving averages – resulting in a subsequent price increase. The orange circles show instances where the stock prices crosses below the SMAs, leading to a price drop.

moving averages

Exponential Moving Average

As its name suggests, an EMA follows price movement more closely. They incorporate this specific variable by giving more weight to recent prices. This is the key difference between simple and exponential moving averages. As a result, EMAs have shorter delays and turn faster than SMAs covering the same time period. An EMAs higher sensitivity to price movement makes them very useful in short-term trading analysis. They can identify potential trends earlier than SMAs, but are more prone to short-term changes. A 200-day EMA, for example, will react quicker to the most recent price changes than a 200-day SMA, due to its shorter lag time.

EMAs are commonly used as a confirmation measure, and seldom function independently. That’s why many stock traders use them alongside other indicators to validate major market moves. EMAs are also useful in determining a stock’s trend direction. A rising EMA usually signals a potential buying opportunity if the stock’s price dips near or below the moving average. A falling EMA typically prompts traders to sell if a stock price moves towards or just above the moving average. The same principles also apply when using EMAs to identify potential support and resistance levels.

The example below shows both of these instances on the five-day chart for Starbucks. The white arrows point to areas where the stock price dipped near or below the rising EMA, while the orange arrows identify instances where the stock price moved toward or just above the EMA when its value was declining. As explained above, the stock price respectively increased and decreased accordingly.

moving averages

Enjoying our content?

Sign up for our free newsletter – Traders Daily Brief

Read more of our blogs

about the author:

Mike Shorr

Since 1994, Michael has been an on-the-floor market maker, Vice-President of Interest Rate Derivatives for Knight Financial Products and Director of Education and Options Instructor at Trading Advantage. He makes the oftentimes complex world of options and trading accessible to the novice and advanced trader alike. Michael has a Bachelor of Science degree in Statistics and Finance from the University of Illinois Champaign-Urbana. He presently is Director, Trader Education at ProsperTradingAcademy.

Read Similar Articles

May 1, 2026

Buying Puts vs Selling Calls: What’s The Difference?

When traders expect a stock to drop, options give them more than one way to potentially profit from that move. Two of the most common bearish options strategies traders use in these situations are buying puts and selling calls. When presented with both options, some traders might ask: “If they’re both bearish options trades, aren’t […]

Read Article
April 1, 2026

3 Charts Day Traders Should Follow

In this current market, I believe day traders should ask themselves three important questions: The answers won’t jump out at you…and in conditions like these, finding them is no easy task. In my years of experience, I’ve learned that day traders should try leveraging every possible resource at their disposal. While risk management and a […]

Read Article
https://www.prospertrading.com/3-day-trading-patterns-for-options/3 Top Day Trading Patterns for Options
January 5, 2026

3 Top Day Trading Patterns for Options

Day trading options requires precision, discipline, and the ability to recognize high-probability setups quickly. While there are countless patterns traders attempt to capitalize on, some consistently offer better risk-reward profiles than others.  At Prosper Trading Academy, we’ve trained hundreds of traders to identify and execute these patterns with confidence. Today, we’re sharing three of the […]

Read Article

Read Similar Articles

May 17, 2026

The Week Ahead: Global Bond Selloff

Stock indexes continued their run higher this week with the S&P 500 and Nasdaq hitting record levels. But just as AI fueled the markets to record highs, spiking crude prices ignited global inflation fears. Markets tumbled on Friday as a jump in benchmark Treasury yields, reflecting surging energy prices and concerns about long-term inflation offered […]

Read Article
May 15, 2026

Mike Shorr Calls OUST Before It Popped 30 Percent

Have you ever heard of a stock called Ouster Inc. (OUST)? It’s a lidar sensor company that focuses on autonomous driving, robotics, and smart infrastructure. The stock is up over 47% in 2026. It’s a lesser-known name that usually flies under most trader’s radars (or in OUST’s case, lidar), so you probably missed its big […]

Read Article
May 15, 2026

Charlie Moon Nails The Dip In ASTS

On Thursday, Charlie Moon highlighted two setups in his daily watchlist that his AI Trade Finder spotted in AST SpaceMobile Inc. (ASTS): Charlie went with the “Buy the Dip” trade idea, and released a trade signal for it in his room. He wound up closing it that same day – for a 50%* win. Here’s […]

Read Article