Los CFD son instrumentos apalancados altamente especulativos. Operar con CFD conlleva un alto grado de riesgo para tu capital. Los inversores deben asegurarse de contar con conocimientos adecuados del mercado o buscar asesoramiento financiero independiente antes de realizar operaciones.

This lesson explains the MACD line — the core calculation underlying the entire indicator.

The formula described in this lesson reflects the standard, widely established calculation method, verified against multiple technical analysis education sources.

01SECTION 01

The MACD Line Formula

The MACD line is calculated as: MACD Line = 12-period EMA − 26-period EMA. Both EMAs (covered in the previous unit) are generally calculated using closing prices. This produces a single value that fluctuates above and below zero, depending on the relationship between the two EMAs.

02SECTION 02

What the MACD Line Represents

When the MACD line is positive, this means the 12-period EMA is above the 26-period EMA, generally interpreted as reflecting stronger shorter-term momentum relative to the longer-term average. When the MACD line is negative, the opposite is true — the 12-period EMA is below the 26-period EMA.

03SECTION 03

Convergence and Divergence of the Underlying EMAs

The indicator's name reflects the behaviour of the two underlying EMAs: convergence occurs when the two EMAs move toward each other (the MACD line moves toward zero), and divergence, in this specific sense, occurs when the two EMAs move apart (the MACD line moves further from zero in either direction). This is distinct from the divergence concept covered later in this unit, which compares MACD to price rather than describing the EMAs' relationship to each other.

04SECTION 04

Standard Settings and Adjustability

The 12 and 26-period settings are the standard, most commonly used values, though these can be adjusted — shorter periods generally increase sensitivity, while longer periods generally decrease it, similar to the general moving average period considerations covered in the previous unit.

Summary

The MACD line is calculated as the 12-period EMA minus the 26-period EMA, producing a value that's positive when the shorter EMA is above the longer one (reflecting stronger short-term momentum) and negative when the reverse is true. The indicator's name reflects the convergence and divergence of these two underlying EMAs, distinct from the MACD-price divergence concept covered later in this unit.

05FAQ

Frequently Asked Questions

MACD Line = 12-period EMA − 26-period EMA, using closing prices.

Risk Warning

Trading forex and CFDs involves significant risk and may not be suitable for all investors. You may lose all of your invested capital. Please ensure you fully understand the risks before trading.

GTCFX operates as a multi-regulated group of companies, clients are kindly advised to confirm the specific legal entity, regulation, and jurisdiction under which they are being onboarded.

Compartir esta lección

Opera en los mercados del mundo.

Abre una cuenta real y accede a más de 7 mercados de trading, incluidos divisas, metales, índices, acciones, criptomonedas y mucho más, con un bróker de confianza a nivel global.

  • Regulado en múltiples jurisdicciones
  • Ejecución ultrarrápida
  • Fondos de clientes segregados y soporte 24/7

El trading de CFD conlleva un riesgo significativo de pérdidas. Opera de forma responsable.

Mercados de trading0+
Idiomas disponibles0+
Entidades reguladas0