Moving Averages – Simple, Exponential and Weighted

It’s number crunching time!!!!!

One of the basic tools that every trader interested in technical analysis employs is the moving average. I know math can be boring, but if you’re going to look at trends, and want to dig into how a stock’s price has performed over time, you need to see the best representation of that data that you can get!

Problem is, understanding stock-price behavior is a pursuit fraught with the peril of a lot of extraneous noise. There’s investor psychology at work, there’s the impact on the market real-time business news, and a slew of factors besides. Moving averages are one way to look at stock prices and strip away some of that static.

Moving averages: three types to start your charts

Trades tend to focus on two types of moving averages: the simple and the exponential. Both will serve as go-to tools in pursuit of your next informed decision on the market.

Let’s have a look at what they do.

Simple Moving Average

To plot a simple moving average, first gather stock closing prices from the period of time you wish to examine. Let’s look at our fictional model company, Lilo Chemicals.

For our purposes in this example, Lilo’s closing prices over the span of 10 days will be as follows: $112; $114; $116; $113; $114; $115; $117; $116; $118; $119. Say you want to see a simple moving average for seven days. To calculate the first of these SMAs — one that represents Day One of seven — take the first week of closing prices, add them together and divide by seven.


The result is $114.43, in this case.

To get Day Two’s SMA, redo the computation, but start your addition one closing price down the line. Instead of beginning your addition with $112, you begin with Day Two: $114. And so on.

As you build your simple moving average, one of the things you’re doing is “smoothing out” the impact of any variation in price. That is, when Lilo Chemical’s stock fell from $116 to $113 a share on Day Four, your simple moving average will take into account the higher prices of the preceding three days.

This is one way to get an accurate understanding of a stock’s real average, over time.

Exponential Moving Average

Exponential moving averages give higher importance to recent changes in a stock price. If you want a snapshot of what a stock price is doing in the near present, this is probably the tool for you.

Let’s say you wanted to run an eight-day exponential moving average on the same Lilo prices we looked at above. First, you’ll need what’s called a multiplier — something that can give that extra weight to the most recent prices.

The Multiplier

To get it, take your number of days (8), add 1, and then use that number to divide the number 2. In our example, this means: 2 divided by 9, making our multiplier is 0.22222

2/(8+1) = 0.22222

Now, start with a closing price. Let’s measure from Day Two using the example above, meaning $114. We also need the previous day’s simple moving average (which we already computed): $114.43.

Notice something? Yes, your first data point will be built on a simple moving average. How else are you going to start? After the first computation, though, it’s all exponential.

The Equation

To find your first EMA, run this equation:

($114 – 114.43) x 0.222 + $114.43

We’re subtracting the Day One simple moving average from our Day Two closing price. Then we’re multiplying what we get by 0.2222 and adding the product to the Day One simple moving average. The result is our first exponential moving average: $114.33.

To build your set of EMAs after this, just swap in the Day Three closing price and the new EMA you’ve just created. The third EMA uses the Day Four closing price and your second-created EMA, and so on.

Weighted Moving Average

The concept of weighted moving average is grounded in the belief that recent data should carry more weight than older data. Investors are always asking their stocks, “What have you done for me lately?”

But how do we assign a weight to each data point?

Here’s where it gets interesting. We know that taking the average involves adding numbers together and dividing by the number of data points used. If we add the same data point to the mix multiple times, the average will be weighted more towards that number.

Assume the closing stock prices for the last 5 days of a Stock A are $100 (oldest), $101, $102, $104, and $103 (newest).  Computing for the weighted moving average requires that we place the heaviest weight on $103 because it is the most recent data point. The $104 data point would have the second highest weight and so on down to $100 which has the lowest weight.

We can assign a weight of  1, 2, 3, 4, and 5 for $100, $101, $102, $104, and $103, respectively.  Each data point will be multiplied by their respective weights, the results of which will be totaled.  The total amount will then be divided by the sum total of the weights. Here’s what we mean:


The underlying principle behind the weights makes sense.  Consider the fact that despite the trust you have in a friend, you’ll find it hard to forgive them for betraying your trust recently. Why?  The betrayal was the most recent one – it’s the most relevant.

Feeling like you’re in it for a long haul? Build your moving averages along a couple hundred days.

Looking for the medium-term trend? Try the popular 50-day moving average.

Anything under 20 is a short-term situation. You’ll best decide which applies to the technical analysis you want to perform based on your market strategy, as it develops.

One use for these moving averages it to help discern the nature of a stock’s levels of support and resistance. While we’ve touched on those three terms throughout this post, get a more in depth look into  technical analysis, with the WSS courses: Technical Analysis 1 and the more advanced Technical Analysis 2 .

Until then, work on those computations, traders!






January 2, 2021 Update: We have just announced our BEST STOCK NEWSLETTER of 2020 AWARD!

CLICK HERE to find out which stock newsletter was up 78% in 2020 (and whose 2019 picks are now up 113%).

*** Our Award for BEST STOCK NEWSLETTER of 2020 ALERT ***

Updated January 2, 2021

At WallStreetSurvivor, we subscribe to dozens stock recommendation and advisory newsletters. There is ONE newsletter that is constantly outperforming all of the others--The Motley Fool Stock Advisor.

Five of their 2020 stock picks have doubled and the average return of all 24 of their stock picks for 2020 is up 78%!

We have been tracking ALL of the Motley Fool stock picks since January 2016. That's 5 years and 120 stock picks. As of Friday, January 1, 2021 the Motley Fool's January stock pick (TSLA) is up 720%, their March pick (ZM) is up 172%, their April pick of SHOP is up 226% and their June pick CRWD is up 120%; and another two have more than doubled. In addition, 10 of their 2019, 12 of their 2018, 11 of their 2017, 15 of their 2016. Most impressively, over the last 5 years that we have been tracking every recommendation, their average stock pick is up 209%--tht means over the last 5 years their stock picks, on average, have TRIPLED!

Now no one can guarantee that their next picks will be as strong, but our 5 years of experience has been super-profitable. The important thing about the Fool stock picks is you have to buy them the day they are recommended because they usually pop 5-10% in the first 72 hours after the release their recommendation. You sure don’t want to risk missing out on their next pick.

Normally the Fool service is priced at $199 per year but they are currently offering a NEW SUBSCRIBER DISCOUNT that allows you to get theiir next 24 stock picks for just $99/year. HERE is the LINK to visit their New Subscriber Discount page.

CLICK HERE to get access to all The Motley Fool’s Stock Picks and their next 12 months of picks for just $99 per Year! 



Robinhood was the first brokerage site to NOT charge commissions when they opened in 2013. They just past 10,000,000 accounts and to celebrate they are offering up to $1,000 in free stock when you open a new account.

Here’s the details: You must click on a special promo link to open your new Robinhood account. Then when you fund your account with at least $10, you will receive one stock valued between $5 and $500. Then, you will get a link to share with your friends. Every time one of your friends opens an account, you will receive another free stock valued between $5 and $500. Click here to learn more about this Special Robinhood offer.

Claim your free stock NOW (before it’s too late)

Comments are closed.