Moving average

It is a technical analysis indicator that smooths out price fluctuations by calculating the average price of an asset over a specified period of time, which is used to identify potential trends and support/resistance levels. A moving average can be calculated for any time frame, such as minutes, hours, days, or weeks, depending on the trader's preference. The most common moving averages used by traders are the simple moving average (SMA) and the exponential moving average (EMA).

  • The simple moving average is calculated by adding the closing prices of an asset over a certain period of time, and then dividing that sum by the number of periods. For example, a 10-day simple moving average would be calculated by adding the closing prices of the asset over the last 10 trading days, and then dividing by 10.

  • The exponential moving average is similar to the SMA, but gives more weight to the most recent prices. It is calculated by giving more weight to the most recent prices in the time series, using a smoothing factor known as the exponential weighting factor.

Moving averages are useful in identifying trends and potential trading signals. When an asset's price crosses above its moving average, it is seen as a bullish signal, indicating that the price may continue to rise. Conversely, when an asset's price crosses below its moving average, it is seen as a bearish signal, indicating that the price may continue to fall.