The Moving Average indicator is one of the most basic Forex technical analysis tools. It is an on-chart lagging line, which smooths the price forex indicator moving average. The reason for the lag is that the Moving Average averages a certain number of periods on the chart.
The basic function of the Moving Average is to provide the trader with a sense of overall trend direction, but is can also provide signals for upcoming price moves. In addition, the Moving Average line can act as an important support and resistance area. The reason for this is that price action tends to conform to certain psychological levels on the chart. Every Moving Average is subject to a calculation, which gives an output that can be plotted on the price chart. This means that each period on the SMA will give you an average of the 5 previous periods on the chart. USD starts increasing, the SMA will start increasing 5 periods later. In regards to that, a Moving Average could be set to whatever period you want.
Notice that the red 20-period SMA is slower than the blue 5-period SMA. It is smoother and it does not react to small price fluctuations. The reason for this is that the 20-periods SMA takes more periods into account. In this manner, if we have a rapid price change which lasts for one period, and then the price gets back to normal, the other 19 periods will neutralize this fluctuation.