Current location - Trademark Inquiry Complete Network - Futures platform - Of the two lines in MACD, which one is the fast line and which one is the slow line? Thanks!
Of the two lines in MACD, which one is the fast line and which one is the slow line? Thanks!

DIF is the fast line and EMA26 is the slow line.

MACD is the fast exponential moving average (EMA12) minus the slow exponential moving average (EMA26) to get the fast DIF, and then uses 2× (fast DIF-DIF’s 9-day weighted movement moving average DEA) to get the MACD column.

The meaning of MACD is basically the same as that of the double moving average, that is, the dispersion and aggregation of the fast and slow moving averages represent the current long and short status and the possible development trend of the stock price, but it is more convenient to read. Changes in MACD represent changes in market trends, and MACD at different K-line levels represents the buying and selling trend in the current level cycle.

Extended information:

In the MACD moving average calculation formula, the weight of the T+1 trading day is added respectively, using the currently popular parameters 12 and 26 as For example, the formula is as follows:

First calculate the fast moving average and the slow moving average, and use these two values ????to measure the dispersion between the two (fast and slow lines) Based on this, then find the N-period smoothed moving average DEA (also called MACD, DEM) line of DIF.

As an example, take the parameter of EMA1 as the 12th day, the parameter of EMA2 as the 26th day, and the parameter of DIF as the 9th day as an example to see the calculation process of MACD

1. Calculate the moving average ( EMA)

The formula for the 12-day EMA is EMA (12) = the previous day’s EMA (12) × 11/13 + today’s closing price × 2/13

The 26-day EMA The calculation formula is EMA (26) = previous day EMA (26) × 25/27 + today’s closing price × 2/27

2. Calculate the dispersion value (DIF)

DIF =Today’s EMA (12) – Today’s EMA (26)

Baidu Encyclopedia-MACD indicator