In this article, we are considering the classic Moving Average. In the form in which it is embedded in the MetaTrader 5 trading terminal. Here are its main parameters, sorted by their significance and influence on the indicator curve.
Period
The number of bars involved in calculating the average value.
It can take values from 1 to very large values (limited by the number of bars on the chart). This parameter has the biggest impact on the operation of the indicator. The higher this parameter, the slower the indicator line reacts to price changes.
Method
Here we have 4 averaging options: SMA, EMA, SSMA, LWMA. We will not go into the details of their calculation. When it comes down to it, we'll just sort them out in the MetaTrader 5 strategy tester.
The type of price to build
Closing price, Opening price, Maximum price for the period, Minimum price for the period, Median price (high+low)/2, Typical price (high+low+close)/3, Weighted average price (high+low+close+close)/4.
Offset
Shifts the indicator along the time line. It is poorly applicable for trend identification. At least that's what it seems intuitively. Anyway, we'll check that out too.