Single Line MACD
2026-11-16 17:16|24 views
MACD the full name is Smooth Moving Average (Moving Average Convergence Divergence), is the New York analyst Gerald? April (Gerald Appel) design of technical indicators, it uses the short-term (commonly used for 12 days) moving average and long-term (commonly used for 26 days) moving average between the aggregation and separation of the situation, to buy, sell the timing of the study.
The MACD indicator is essentially an optimization of the index average indicator, which uses the intersection and divergence of averages over time to determine market trends. The MACD indicator consists of three parts: MACD line, bar chart and zero axis. There are three parameter settings [12269](these three parameters can be set by themselves), as shown in the figure below

First of all, the column line is determined by parameters 12 and 26. The value of a single column line is also called DIF, which is equal to the exponential moving average line with parameter 12 minus the exponential moving average line with parameter 26, I .e. DIF = EMA(12) - EMA(26). It is easy to get that when EMA12 is above EMA26, the column line is above the zero axis line. When EMA12 crosses EMA26, when the EMA 12 is located below the EMA 26, the bar line is below the zero axis. For the EMA indicator, because the EMA with a parameter of 12 is more sensitive to the latest changes in the gold price than the EMA with a parameter of 26, the bar is above the zero axis in an uptrend and the opposite is true in a downtrend.
The other red line in the figure is the MACD line, which is the exponential moving average of the DIF, I .e. the result of the calculation by substituting the DIF value into the exponential average formula is the MACD line. It has just been mentioned that the first two of the three parameters (12 and 26) determine the value of the bar DIF, while the third parameter 9 sets the DIF value to be substituted into the exponential moving average calculation formula with parameter 9. The MACD line is a weighted average of past MACD values and the most recent DIF, and by contrast, it changes more slowly than the DIF. When the gold price changes from a downtrend to an uptrend, the corresponding change in the DIF bar is from a negative value to a positive value. The MACD line, on the other hand, changes more slowly than the DIF because it also contains a weighted average of past MACD values.
After the gold price changes from falling to rising for a period of time, the upward trend DIF will cross the MACD line upward, which indicates that although EMA(12) is still below EMA(26), the gap between EMA(26) is narrowing due to the upward trend of gold price, which may be a signal of trend reversal. Therefore, the bar moves from below to above the MACD line, which usually means a signal to go long.
