MACD (Moving Average Convergence Divergence) Calculator

Calculate the Moving Average Convergence Divergence (MACD) for trading analysis. Use our authoritative MACD calculator to make informed trading decisions.

Full original guide (expanded)

MACD (Moving Average Convergence Divergence) Calculator

Calculate MACD, signal line, and histogram using standard EMA periods.

Results

MACD Line 0.00
Signal Line 0.00
Histogram 0.00

Data Source and Methodology

All calculations are based on industry-standard formulas and data sources. For more information, refer to the comprehensive guides on trading analysis.

The Formula Explained

The MACD is calculated using the formula:

MACD = EMAshort - EMAlong
Signal Line = EMAsignal (MACD)

Glossary of Terms

  • EMA: Exponential Moving Average, a type of moving average that gives more weight to recent prices.
  • MACD Line: The difference between the 12-period EMA and the 26-period EMA.
  • Signal Line: A 9-day EMA of the MACD line, used as a trigger for buy and sell signals.
  • Histogram: The difference between the MACD line and the signal line.

Frequently Asked Questions (FAQ)

What is MACD?

MACD, or Moving Average Convergence Divergence, is a trend-following momentum indicator that shows the relationship between two moving averages of a security’s price.

How is MACD calculated?

MACD is calculated by subtracting the 26-period EMA from the 12-period EMA. The result of this calculation is the MACD line.

What are the standard values for MACD?

The standard MACD uses the 12-period EMA, 26-period EMA, and a 9-period EMA for the signal line.

How do I interpret the MACD?

A MACD crossover above the signal line is a bullish signal, while a crossover below is a bearish signal.

Can MACD be used for any securities?

Yes, MACD can be applied to any security with historical data, including stocks, commodities, and indices.


Audit: Complete
Formula (LaTeX) + variables + units
This section shows the formulas used by the calculator engine, plus variable definitions and units.
Formula (extracted LaTeX)
\[','\]
','
Formula (extracted text)
MACD = EMAshort - EMAlong Signal Line = EMAsignal (MACD)
Variables and units
  • No variables provided in audit spec.
Sources (authoritative):
Changelog
Version: 0.1.0-draft
Last code update: 2026-01-19
0.1.0-draft · 2026-01-19
  • Initial audit spec draft generated from HTML extraction (review required).
  • Verify formulas match the calculator engine and convert any text-only formulas to LaTeX.
  • Confirm sources are authoritative and relevant to the calculator methodology.
Verified by Ugo Candido on 2026-01-19
Profile · LinkedIn

MACD (Moving Average Convergence Divergence) Calculator

Calculate MACD, signal line, and histogram using standard EMA periods.

Results

MACD Line 0.00
Signal Line 0.00
Histogram 0.00

Data Source and Methodology

All calculations are based on industry-standard formulas and data sources. For more information, refer to the comprehensive guides on trading analysis.

The Formula Explained

The MACD is calculated using the formula:

MACD = EMAshort - EMAlong
Signal Line = EMAsignal (MACD)

Glossary of Terms

  • EMA: Exponential Moving Average, a type of moving average that gives more weight to recent prices.
  • MACD Line: The difference between the 12-period EMA and the 26-period EMA.
  • Signal Line: A 9-day EMA of the MACD line, used as a trigger for buy and sell signals.
  • Histogram: The difference between the MACD line and the signal line.

Frequently Asked Questions (FAQ)

What is MACD?

MACD, or Moving Average Convergence Divergence, is a trend-following momentum indicator that shows the relationship between two moving averages of a security’s price.

How is MACD calculated?

MACD is calculated by subtracting the 26-period EMA from the 12-period EMA. The result of this calculation is the MACD line.

What are the standard values for MACD?

The standard MACD uses the 12-period EMA, 26-period EMA, and a 9-period EMA for the signal line.

How do I interpret the MACD?

A MACD crossover above the signal line is a bullish signal, while a crossover below is a bearish signal.

Can MACD be used for any securities?

Yes, MACD can be applied to any security with historical data, including stocks, commodities, and indices.


Audit: Complete
Formula (LaTeX) + variables + units
This section shows the formulas used by the calculator engine, plus variable definitions and units.
Formula (extracted LaTeX)
\[','\]
','
Formula (extracted text)
MACD = EMAshort - EMAlong Signal Line = EMAsignal (MACD)
Variables and units
  • No variables provided in audit spec.
Sources (authoritative):
Changelog
Version: 0.1.0-draft
Last code update: 2026-01-19
0.1.0-draft · 2026-01-19
  • Initial audit spec draft generated from HTML extraction (review required).
  • Verify formulas match the calculator engine and convert any text-only formulas to LaTeX.
  • Confirm sources are authoritative and relevant to the calculator methodology.
Verified by Ugo Candido on 2026-01-19
Profile · LinkedIn

MACD (Moving Average Convergence Divergence) Calculator

Calculate MACD, signal line, and histogram using standard EMA periods.

Results

MACD Line 0.00
Signal Line 0.00
Histogram 0.00

Data Source and Methodology

All calculations are based on industry-standard formulas and data sources. For more information, refer to the comprehensive guides on trading analysis.

The Formula Explained

The MACD is calculated using the formula:

MACD = EMAshort - EMAlong
Signal Line = EMAsignal (MACD)

Glossary of Terms

  • EMA: Exponential Moving Average, a type of moving average that gives more weight to recent prices.
  • MACD Line: The difference between the 12-period EMA and the 26-period EMA.
  • Signal Line: A 9-day EMA of the MACD line, used as a trigger for buy and sell signals.
  • Histogram: The difference between the MACD line and the signal line.

Frequently Asked Questions (FAQ)

What is MACD?

MACD, or Moving Average Convergence Divergence, is a trend-following momentum indicator that shows the relationship between two moving averages of a security’s price.

How is MACD calculated?

MACD is calculated by subtracting the 26-period EMA from the 12-period EMA. The result of this calculation is the MACD line.

What are the standard values for MACD?

The standard MACD uses the 12-period EMA, 26-period EMA, and a 9-period EMA for the signal line.

How do I interpret the MACD?

A MACD crossover above the signal line is a bullish signal, while a crossover below is a bearish signal.

Can MACD be used for any securities?

Yes, MACD can be applied to any security with historical data, including stocks, commodities, and indices.


Audit: Complete
Formula (LaTeX) + variables + units
This section shows the formulas used by the calculator engine, plus variable definitions and units.
Formula (extracted LaTeX)
\[','\]
','
Formula (extracted text)
MACD = EMAshort - EMAlong Signal Line = EMAsignal (MACD)
Variables and units
  • No variables provided in audit spec.
Sources (authoritative):
Changelog
Version: 0.1.0-draft
Last code update: 2026-01-19
0.1.0-draft · 2026-01-19
  • Initial audit spec draft generated from HTML extraction (review required).
  • Verify formulas match the calculator engine and convert any text-only formulas to LaTeX.
  • Confirm sources are authoritative and relevant to the calculator methodology.
Verified by Ugo Candido on 2026-01-19
Profile · LinkedIn
Formulas

(Formulas preserved from original page content, if present.)

Version 1.5.0
Citations

Add authoritative sources relevant to this calculator (standards bodies, manuals, official docs).

Changelog
  • 0.1.0-draft — 2026-01-19: Initial draft (review required).