The simple moving average (SMA) is the most basic of the moving averages used for trading. The simple moving average formula is calculated by taking the average closing price of a stock over the last "x" periods.
Let's take a look at a simple moving average example with MSFT. The last five closing prices for MSFT are:
28.93+28.48+28.44+28.91+28.48 = 143.24
To calculate the simple moving average formula you divide the total of the closing prices and divide it by the number of periods.
5-day SMA = 143.24/5 = 28.65
Most traders will tell you to trade simple moving average crossovers of and the profits will fall from the heavens. Well, unfortunately this is not accurate. Often time's stocks will tick over or under moving averages to only continue in the primary direction. This will leave you on the wrong side of the market and down on your positions. Below are a few ways to make money trading the SMA.
The simple moving average takes the raw average of the last "x" closing prices. The simple moving average formula does not weight recent price movements like its sister the exponential moving average. Hence, the simple moving average will quite often lag the current price and should never be used to make trading decisions independently of other technical analysis indicators.