How to Calculate Moving Average Convergence Divergence (MACD) (2024)

What Is the Moving Average Convergence Divergence (MACD)?

The moving average convergence divergence (MACD) is a popular technical momentum indicator, calculated for use with a variety of exponential moving averages (EMAs) and used to assess the power of price movement in a market.

Key Takeaways

  • Moving Average Convergence Divergence (MACD) is calculated by subtracting the 26-period exponential moving average (EMA) from the 12-period EMA.
  • MACD triggers technical signals when it crosses above (to buy) or below (to sell) its signal line.
  • The speed of crossovers is also taken as a signal of a market is overbought or oversold.
  • MACD helps investors understand whether the bullish or bearish movement in the price is strengthening or weakening.

Calculating MACD

There are several calculations involved in the creation of the total (MACD) indicator, all involving the use of exponential moving averages.

An EMA is calculated as follows:

  • Calculate the simple moving average (SMA) for the chosen number of time periods. (The EMA uses an SMA as the previous period's EMA to start its calculations.) To calculate a 12-period EMA, this would simply be the sum of the last 12 time periods, divided by 12.

Weight Multiplier = K = 2/(n+1) where n = period

  • Calculate the weighting multiplier using this equation:
    212+1=0.1538\frac{2}{12+1}= 0.153812+12=0.1538

Calculate the 12 EMA sequentially as:
(CloseEMApreviousperiod)0.1538+EMApreviousperiod\left(Close - EMA_{previous~period}\right)* 0.1538 + EMA_{previous~period}(CloseEMApreviousperiod)0.1538+EMApreviousperiod

Putting together the MACD requires simply doing all of the following EMA calculations for any given market instrument (a stock, future, currency pair, or market index):

  1. Calculate a 12-period EMA of the price for the chosen time period.
  2. Calculate a 26-period EMA of the price for the chosen time period.
  3. Subtract the 26-period EMA from the 12-period EMA to create the MACD line.
  4. Calculate a nine-period EMA of the MACD line (the result obtained from step 3) to create the signal line.
  5. Subtract the signal line from the MACD line to create the histogram.

This nine-period EMA line is overlaid on a histogram that is created by subtracting the nine-period EMA from the result in step 3, which is called the MACD line, but it is not always visibly plotted on the MACD representation on a chart.

The MACD has a zero line to indicate positive and negative values. The MACD has a positive value whenever the 12-period EMA is above the 26-period EMA and a negative value when the 12-period EMA is below the 26-period EMA.

The Bottom Line

The MACD uses exponential moving averages in sequence to produce a popular indicator of momentum, which allows technical traders to spot trends and reversals. While MACD can provide some useful information, it should not be the only tool you use when trading.

How to Calculate Moving Average Convergence Divergence (MACD) (2024)
Top Articles
Bitcoin-Halving im April 2024 einfach erklärt: Was steckt dahinter?
Power Monitoring for Businesses: Importance, Basics, and Equipment
Hannaford Weekly Flyer Manchester Nh
Http://N14.Ultipro.com
Federal Fusion 308 165 Grain Ballistics Chart
Localfedex.com
Co Parts Mn
Aiken County government, school officials promote penny tax in North Augusta
Www Craigslist Louisville
10000 Divided By 5
Steve Strange - From Punk To New Romantic
270 West Michigan residents receive expert driver’s license restoration advice at last major Road to Restoration Clinic of the year
Tv Schedule Today No Cable
Weather Annapolis 10 Day
State Of Illinois Comptroller Salary Database
Progressbook Brunswick
World of White Sturgeon Caviar: Origins, Taste & Culinary Uses
Craigslist Pets Southern Md
Med First James City
Nonne's Italian Restaurant And Sports Bar Port Orange Photos
Clarksburg Wv Craigslist Personals
Crossword Nexus Solver
House Of Budz Michigan
How To Cut Eelgrass Grounded
Wilmot Science Training Program for Deaf High School Students Expands Across the U.S.
Webcentral Cuny
Niche Crime Rate
Ihub Fnma Message Board
Chamberlain College of Nursing | Tuition & Acceptance Rates 2024
Cars & Trucks - By Owner near Kissimmee, FL - craigslist
Solo Player Level 2K23
La Qua Brothers Funeral Home
Jt Closeout World Rushville Indiana
Otis Offender Michigan
Workboy Kennel
Capital Hall 6 Base Layout
Daily Journal Obituary Kankakee
Metro 72 Hour Extension 2022
About Us | SEIL
Craigslist Georgia Homes For Sale By Owner
Laff Tv Passport
Winco Money Order Hours
Daly City Building Division
Fapello.clm
Dee Dee Blanchard Crime Scene Photos
Large Pawn Shops Near Me
Lesson 5 Homework 4.5 Answer Key
Bradshaw And Range Obituaries
Diccionario De Los Sueños Misabueso
De Donde Es El Area +63
Latest Posts
Article information

Author: Melvina Ondricka

Last Updated:

Views: 5525

Rating: 4.8 / 5 (48 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Melvina Ondricka

Birthday: 2000-12-23

Address: Suite 382 139 Shaniqua Locks, Paulaborough, UT 90498

Phone: +636383657021

Job: Dynamic Government Specialist

Hobby: Kite flying, Watching movies, Knitting, Model building, Reading, Wood carving, Paintball

Introduction: My name is Melvina Ondricka, I am a helpful, fancy, friendly, innocent, outstanding, courageous, thoughtful person who loves writing and wants to share my knowledge and understanding with you.