- The prices for the last 5 days were 25, 28, 26, 24, 25. The average would be (25+28+26+26+27)/5 = 25.6. Therefore, the SMA line below the last days price of 27 would be 26.4. In this case, since prices are generally moving higher, the SMA line of 26.4 would be acting as support.
When price is in an uptrend and subsequently, the moving average is in an uptrend, and the moving average has been tested by price and price has bounced off the moving average a few times (i.e. the moving average is serving as a support line), then buy on the next pullbacks back to the Simple Moving Average.
A Simple Moving Average can serve as a line of resistance as the chart of the DIA shows:
At times when price is in a downtrend and the moving average is in a downtrend as well, and price tests the SMA above and is rejected a few consecutive times (i.e. the moving average is serving as a resistance line), then buy on the next rally up to the Simple Moving Average.