Coins Camp
Customize

The Moving Average indicator: how to use it correctly in trading and how to configure it?

The moving average indicator is the most basic and widely used indicator. Its popularity is due to its simple interpretation of signals and solid mathematical and technical justification, which is confirmed by successful practical application. 

The moving average indicator is an averaging filter that smoothes price fluctuations and provides a clearer understanding of the current and previous trends.

In this lesson of the Crypto[Start] course, I will talk about the different types of moving averages, how to configure this indicator, and how to interpret its signals.

Description of Moving Averages

At first glance, the principle of forming a moving average may seem complex and unclear. To understand it, let me provide a couple of examples:

In the example above, it is implied that the moving averages are calculated based on closing prices. However, calculations can also be based on opening prices, lows, or highs of the bars. I recommend using the default setting, which is to calculate based on closing prices.

Types of Moving Averages

Based on the applied formula, there are four types of moving averages.

Simple Moving Average

where n is the number of periods for the moving average, and Pi is the closing price of the i-th period (i = 1...n).

Weighted Moving Average

The formula for the weighted moving average (WMA) is as follows:

where Wi is the weight of the bar equal to 1/n, where n is its ordinal number.

Exponential Moving Average

where pi is the current price, and K is the correction coefficient equal to 2/(n+1).

Linear Weighted Moving Average

Best Moving Average Settings

Setting up the moving average indicator in TradingView is simple. To do this, go to the Indicators section:

Enter the name of the indicator using keywords such as "MA" or "moving average" and select the official platform "plug-in":

Then go to the settings of the moving average and specify its period in the "Length" section, as well as the calculation method:

In addition to that, you can play around with the visual aspects of the indicator by choosing the desired color and line thickness:

To add each subsequent moving average with a period of 200, repeat the same steps described above. 

Trading with Moving Averages

Moving averages are primarily used to determine the current trend:

You may also notice the intersection of moving averages on the charts, which signifies the following:

The terms "smaller" and "larger" moving averages are highlighted for a reason: the principles described above work for any type of moving averages with different periods. Therefore, you can easily change the formation principle of the average and test the implementation of the main analysis postulates to find the ideal indicator parameters that suit your trading style the best.

Thanks to the properties of moving averages, you can:

Conclusion

Moving averages are one of the most important and fundamental trend indicators, and their application is highly reasonable. To summarize the lesson, several conclusions can be drawn:

  • Moving averages are formed by averaging the closing price based on a certain mathematical rule;
  • Their configuration involves determining the period and the calculation method;
  • In cryptocurrency trading, it is advisable to use simple moving averages with periods of 50 and 200;
  • If the price is above the moving averages, it indicates an uptrend;
  • If the price is between the moving averages, it indicates a consolidation phase;
  • If the price drops below the MA, it indicates a strong bearish movement;
  • Moving averages can be considered as support and resistance lines with a high probability of being respected.