# Đường moving average

0?("#!keyword="+encodeURIComponent($("keyword").value)):"")); if(document.location.href.indexOf("/en/search#")>=0)setTimeout(function()document.location.reload(true);,10);return false;">

MetaTrader 5 Help → Price Charts, Technical và Fundamental Analysis → Technical Indicators → Trover Indicators → Moving Average

Moving Average

The Moving Average Technical Indicator shows the mean instrument price value for a certain period of time. When one calculates the moving average, one averages out the instrument price for this time period. As the price changes, its moving average either increases, or decreases.

Bạn đang xem: đường moving average

There are four different types of moving averages: Simple (also referred lớn as Arithmetic), Exponential, Smoothed and Weighted. Moving Average may be calculated for any sequential data phối, including opening and closing prices, highest and lowest prices, trading volume or any other indicators. It is often the case when double moving averages are used.

The only thing where moving averages of different types diverge considerably from each other, is when weight coefficients, which are assigned lớn the lachạy thử data, are different. In case we are talking of Simple Moving Average, all prices of the time period in question are equal in value. Exponential Moving Average và Linear Weighted Moving Average attach more value to lớn the latest prices.

The most common way khổng lồ interpreting the price moving average is lớn compare its dynamics to lớn the price action. When the instrument price rises above its moving average, a buy signal appears, if the price falls below its moving average, what we have sầu is a sell signal.

This trading system, which is based on the moving average, is not designed to provide entrance into lớn the market right in its lowest point, and its exit right on the peak. It allows khổng lồ act according lớn the following trend: khổng lồ buy soon after the prices reach the bottom, and to lớn sell soon after the prices have reached their peak.

Moving averages may also be applied to lớn indicators. That is where the interpretation of indicator moving averages is similar to the interpretation of price moving averages: if the indicator rises above sầu its moving average, that means that the ascending indicator movement is likely khổng lồ continue: if the indicator falls below its moving average, this means that it is likely to lớn continue going downward.

Xem thêm: Nghĩa Của Từ Swirl Là Gì - Nghĩa Của Từ Swirl Trong Tiếng Việt

Here are the types of moving averages on the chart:

Simple Moving Average (SMA)Exponential Moving Average (EMA)Smoothed Moving Average (SMMA)Linear Weighted Moving Average (LWMA)CalculationSimple Moving Average (SMA) #

Simple, in other words, arithmetical moving average is calculated by summing up the prices of instrument closure over a certain number of single periods (for instance, 12 hours). This value is then divided by the number of such periods.

SMA = SUM (CLOSE (i), N) / N

Where:

SUM — sum;CLOSE (i) — current period close price;N — number of calculation periods.

Exponential Moving Average (EMA) #Exponentially smoothed moving average is calculated by adding of a certain nội dung of the current closing price khổng lồ the previous value of the moving average. With exponentially smoothed moving averages, the lakiểm tra cchiến bại prices are of more value. P-percent exponential moving average will look like:

EMA = (CLOSE (i) * P) + (EMA (i - 1) * (1 - P))

Where:

CLOSE (i) — current period cchiến bại price;EMA (i - 1) — value of the Moving Average of a preceding period;P — the percentage of using the price value.

Smoothed Moving Average (SMMA) #The first value of this smoothed moving average is calculated as the simple moving average (SMA):

SUM1 = SUM (CLOSE (i), N)

SMMA1 = SUM1 / N

The second moving average is calculated according to this formula:

SMMA (i) = (SMMA1*(N-1) + CLOSE (i)) / N

Succeeding moving averages are calculated according to lớn the below formula:

PREVSUM = SMMA (i - 1) * N

SMMA (i) = (PREVSUM - SMMA (i - 1) + CLOSE (i)) / N

Where:

SUM — sum;SUM1 — total sum of closing prices for N periods; it is counted from the previous bar;PREVSUM — smoothed sum of the previous bar;SMMA (i-1) — smoothed moving average of the previous bar;SMMA (i) — smoothed moving average of the current bar (except for the first one);CLOSE (i) — current cthua kém price;N — smoothing period.

Xem thêm: 3 Cách Liên Hệ Tổng Đài Zalo Pay Nhanh Nhất, Tổng Đài Zalo Pay Số Mấy

After arithmetic conversions the formula can be simplified:

SMMA (i) = (SMMA (i - 1) * (N - 1) + CLOSE (i)) / N

Linear Weighted Moving Average (LWMA) #In the case of weighted moving average, the lademo data is of more value than more early data. Weighted moving average is calculated by multiplying each one of the closing prices within the considered series, by a certain weight coefficient:

LWMA = SUM (CLOSE (i) * i, N) / SUM (i, N)

Where:

SUM — sum;CLOSE(i) — current cthất bại price;SUM (i, N) — total sum of weight coefficients;N — smoothing period.