There are 2 factors to consider when it comes to moving averages:
There are several types of moving averages, and the 2 most popular are the simple moving average (aka “sma”) and exponential moving average (aka “ema”). The simple moving average is more popular than the exponential moving average.
The simple moving average = (sum of the market’s price over the past n periods) / (number of periods). Due to the way it’s calculated, the simple moving average puts equal emphasis on every n period’s price.
“N periods” can be anything. You can have a 200 day simple moving average, a 100 hour simple moving average, a 50 day simple moving average, a 26 week simple moving average, etc. As a general rule of thumb:
Here’s an example of a 10 day simple moving average:
The sum of the market’s price over these 10 days is $55.4, and since there are 10 “periods”, the 10 day simple moving average = $5.54.
Moving averages can be used on any time period: hourly charts, daily charts, weekly charts, monthly charts, etc. We’ll be using daily moving averages throughout the rest of this post.
Unlike a simple moving average, an exponential moving average DOES NOT put an equal emphasis on every day’s price over the past n periods. It puts more emphasis on recent price and less emphasis on the market’s price from longer ago. As a result, an exponential moving average “hugs” the market’s price more closely when the market is trending.
There are many ways to use moving averages when trading.