Technical Indicator Analysis
Should You Use Adjusted Close to Calculate MACD?
One of the most common questions in technical analysis is which price data to use for indicators. When calculating the Moving Average Convergence Divergence (MACD), should you use the standard closing price or the adjusted closing price? The answer impacts how you interpret momentum, especially over long periods. This guide and calculator will provide a definitive, data-driven answer.
MACD: Close vs. Adjusted Close Calculator
Standard is 12.
Standard is 26.
Standard is 9.
Comma-separated historical closing prices.
Comma-separated prices, adjusted for splits/dividends. Example shows a 2:1 split.
What is the Difference Between Close and Adjusted Close?
Understanding the distinction between these two data points is the first step. The **closing price** is simply the last price at which a stock traded during a regular trading day. The **adjusted closing price**, however, modifies the closing price to account for corporate actions like stock splits and dividend distributions. This provides a more accurate representation of a stock’s historical value and performance.
For example, if a stock trading at $100 undergoes a 2-for-1 split, its new price will be $50. The adjusted close would retroactively halve all historical prices before the split, preventing the split from looking like a 50% loss in value. Similarly, when a company pays a $1 dividend, the stock price typically drops by that amount; the adjusted close accounts for this payout as part of the total return.
The MACD Formula and Its Components
The Moving Average Convergence Divergence (MACD) is a trend-following momentum indicator that shows the relationship between two exponential moving averages (EMAs) of a security’s price. It was created by Gerald Appel in the late 1970s. The MACD calculation has three main components:
- MACD Line: The 12-Period EMA minus the 26-Period EMA.
- Signal Line: A 9-Period EMA of the MACD Line.
- Histogram: The MACD Line minus the Signal Line.
The core formula is: `MACD Line = EMA(Price, 12) – EMA(Price, 26)`. This is where our choice of “Price” (Close vs. Adjusted Close) becomes critical. For a deeper dive into the indicator, check out this guide on the MACD indicator explained.
| Variable | Meaning | Unit | Typical Range |
|---|---|---|---|
| Price Data | The input price series for the security. | Currency (e.g., USD) | Varies by security |
| Fast EMA Period | The lookback period for the shorter moving average. | Days/Periods | 12 (standard) |
| Slow EMA Period | The lookback period for the longer moving average. | Days/Periods | 26 (standard) |
| Signal Period | The lookback period for the signal line’s moving average. | Days/Periods | 9 (standard) |
Practical Examples: The Impact of Corporate Actions
Let’s consider two scenarios to see why the choice matters.
Example 1: A 2-for-1 Stock Split
Imagine a stock’s price is around $200 for weeks, then a 2:1 split occurs, and the price drops to $100.
- Using Close Price: The MACD would plummet, likely generating a strong, but false, sell signal. The indicator would interpret the split as a massive loss of momentum.
- Using Adjusted Close Price: Historical prices are halved, so the price series remains smooth. The MACD reflects the true underlying momentum, ignoring the artificial price change from the split. This is a key reason why many analysts prefer using the adjusted close vs close price.
Example 2: A Large Dividend Payout
A stock at $50 pays a $2 dividend. On the ex-dividend date, the price opens near $48.
- Using Close Price: The MACD would register this 4% drop as negative momentum, potentially triggering a bearish crossover.
- Using Adjusted Close Price: The dividend payment is accounted for, and the historical prices are adjusted downward. The MACD provides a signal based on actual buying and selling pressure, not the mechanical price drop from the dividend. Understanding the impact of dividends on charts is crucial.
How to Use This MACD Calculator
- Set Parameters: Use the standard 12, 26, and 9 periods, or adjust them for sensitivity.
- Enter Price Data: Paste comma-separated values for both the regular close and the adjusted close prices for the same period. Most financial data providers offer both.
- Calculate & Analyze: Click “Calculate & Compare”. The tool will show the final MACD values for both data sets and plot the two MACD lines on the chart.
- Interpret the Results: Observe the difference. The adjusted close MACD provides a smoother, more reliable signal by filtering out the “noise” of corporate actions.
Key Factors That Affect the Calculation
- Stock Splits: The single biggest reason to use adjusted close. Failure to do so will create massive, false signals in the MACD.
- Dividends: Regular dividend payments create small, consistent downward pressures on the unadjusted close price, which can skew MACD over time.
- Spinoffs: When a company spins off a division into a new, separate entity, it causes a significant price adjustment similar to a large dividend.
- Rights Offerings: Offering new shares to existing shareholders can dilute the stock’s value, an effect captured by the adjusted price.
- Lookback Period: The longer your analysis period, the more likely it is that a corporate action has occurred, making the use of adjusted close prices even more critical. You can learn more in our beginner’s guide to technical analysis.
- Indicator Sensitivity: While adjusted close is generally better, for very short-term scalping where no corporate actions are expected, some traders might use the raw close price as it reflects the actual traded prices.
Frequently Asked Questions (FAQ)
For almost all forms of trend and momentum analysis (swing trading, long-term investing), yes. It provides a truer picture of a security’s price momentum by filtering out misleading price changes from corporate actions.
A day trader focusing only on intraday price action might not need adjusted data. Also, if you are analyzing a security that does not pay dividends and has never split, the close and adjusted close will be identical.
Dramatically. Backtesting a MACD strategy without using adjusted data will produce highly unreliable results, as false signals from splits and dividends will contaminate the performance metrics.
Major financial data portals like Yahoo Finance, Google Finance, and paid data providers all offer historical data with both closing and adjusted closing prices.
Yes. Any indicator that relies on historical price data, such as Moving Averages, RSI, Bollinger Bands, and Stochastic Oscillators, should generally be calculated using adjusted closing prices for accurate historical analysis.
The chart demonstrates the core issue: the MACD from raw ‘Close’ prices sees the split as a catastrophic price drop, causing it to plummet. The ‘Adjusted Close’ MACD smooths this event out, reflecting the true, continuous momentum trend.
A positive MACD indicates that the 12-period EMA is above the 26-period EMA, signaling upward momentum. A negative MACD suggests downward momentum.
MACD is a lagging indicator because it is based on past price data. However, its divergence patterns can sometimes provide early warnings of potential trend changes.
Related Tools and Internal Resources
- EMA Calculator: Calculate Exponential Moving Averages, the building blocks of the MACD.
- Understanding Corporate Actions: A detailed guide on splits, dividends, and their impact on stock charts.
- Stock Volatility Calculator: Analyze another key metric for stock selection.
- What is MACD?: A foundational article on reading and interpreting MACD signals.
- Top 5 Chart Indicators for Traders: See how MACD fits into a broader technical analysis toolkit.
- Beginner’s Guide to Technical Analysis: Start from the basics of chart analysis.