Do You Use Adjusted Close to Calculate MACD?
Compare how corporate actions affect technical indicators with our simulation tool.
The percentage difference in MACD values when using Adjusted vs. Unadjusted data.
Visual Comparison: Adjusted (Green) vs. Unadjusted (Blue) MACD Lines
| Data Type | Fast EMA (12) | Slow EMA (26) | MACD Value |
|---|
Table comparing calculated EMA values based on adjusted and unadjusted closing inputs.
What is Do You Used Adjusted Close to Calculate MACD?
The question of do you used adjusted close to calculate macd is one of the most critical debates in technical analysis. 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. However, when a company pays a dividend or undergoes a stock split, the price of the stock drops or shifts artificially.
Who should use adjusted data? Quantitative traders and long-term investors should prioritize adjusted prices to ensure that historical return calculations aren’t skewed by “gaps” that don’t represent a loss of value. A common misconception is that standard price charts are always accurate for technical indicators. In reality, failing to use adjusted close to calculate MACD can lead to “phantom” crossovers and false signals.
Do You Used Adjusted Close to Calculate MACD Formula and Mathematical Explanation
The standard MACD formula relies on the difference between the Fast Exponential Moving Average (EMA) and the Slow EMA. When adjusting for corporate actions, the input price (P) is modified before being fed into the EMA calculation.
The MACD Formula:
MACD Line = EMA(Adjusted Close, 12) - EMA(Adjusted Close, 26)
Signal Line = EMA(MACD Line, 9)
| Variable | Meaning | Unit | Typical Range |
|---|---|---|---|
| Adjusted Close | Price modified for dividends/splits | Currency ($) | Asset Price |
| Fast EMA | Short-term momentum period | Days | 12 – 15 |
| Slow EMA | Long-term trend period | Days | 26 – 30 |
| Divergence | The gap between MACD and Signal | Points | Variable |
Practical Examples (Real-World Use Cases)
Example 1: The Apple 4-for-1 Stock Split
Imagine Apple (AAPL) is trading at $400. After a 4-for-1 split, the price becomes $100. If you do not use adjusted close to calculate MACD, your EMA would see a massive $300 “crash.” This would send the MACD deep into negative territory, suggesting a sell-off that never happened. By using do you used adjusted close to calculate macd, the historical prices are retroactively divided by 4, maintaining a smooth trend line.
Example 2: High-Yield REIT Dividends
A Real Estate Investment Trust (REIT) might pay a $2 dividend on a $50 stock. On the ex-dividend date, the price drops to $48. An unadjusted MACD might show a bearish crossover. However, because the shareholder received the $2 in cash, the total value remains $50. Adjusted data removes this gap, ensuring the MACD reflects the true economic momentum.
How to Use This Do You Used Adjusted Close to Calculate MACD Calculator
- Base Price: Input the average price of the stock during the period you are analyzing.
- Dividend Amount: Enter any cash dividends paid out to see how they distort the unadjusted MACD.
- Split Ratio: If a stock split occurred (e.g., 2:1), input ‘2’. For no split, leave it at ‘1’.
- Review Results: The calculator immediately shows the “Divergence” percentage—the error introduced by using unadjusted data.
- The Chart: Observe how the green line (Adjusted) stays true to momentum while the blue line (Unadjusted) lags or shifts based on the corporate event.
Key Factors That Affect Do You Used Adjusted Close to Calculate MACD Results
- Frequency of Dividends: Quarterly payers create constant “noise” in MACD calculations if unadjusted data is used.
- Magnitude of Splits: Large splits (e.g., 10-for-1) completely destroy the validity of unadjusted MACD history.
- EMA Sensitivity: Shorter EMAs (like a 5-day EMA) react more violently to unadjusted price gaps than longer ones.
- Timeframe: On 1-minute or 5-minute intraday charts, dividends are less impactful than on daily or weekly charts.
- Backtesting Integrity: Most professional backtesting software requires do you used adjusted close to calculate macd to avoid survivorship and calculation bias.
- Total Return Perspective: If you are interested in total wealth creation, adjusted data is the only logical choice.
Frequently Asked Questions (FAQ)
1. Is it better to use adjusted close for MACD?
Yes, for almost all technical analysis purposes, using adjusted close to calculate MACD provides a more accurate representation of price momentum by removing artificial gaps.
2. What happens if I don’t use adjusted data?
Your MACD may generate false “death crosses” or “golden crosses” during dividend payments or stock splits, leading to poor trading decisions.
3. Do day traders use adjusted close?
Day traders often use “raw” or unadjusted data because they are focused on price levels currently being traded on the tape, but for swing traders, adjusted is preferred.
4. How do I know if my chart is adjusted?
Most platforms like TradingView or Yahoo Finance have a setting (often a “g” or “adj” icon) that allows you to toggle between adjusted and unadjusted price history.
5. Does the MACD signal line also need adjustment?
The signal line is derived from the MACD itself. If the MACD is calculated with adjusted data, the signal line will naturally be adjusted as well.
6. Can I use adjusted close for RSI too?
Absolutely. Like MACD, the Relative Strength Index (RSI) is susceptible to artificial price gaps created by corporate actions.
7. Are there downsides to using adjusted close?
One minor downside is that the historical prices shown on the chart might not match the actual historical price printed in newspapers at that time.
8. Why do some pros use unadjusted data?
Some traders want to see the “psychological” gaps that occur on the chart, though this is more common for gap-trading strategies than for MACD followers.
Related Tools and Internal Resources
- Exponential Moving Average Guide – Learn how EMA forms the backbone of the MACD.
- Relative Strength Index Calculator – Compare RSI and MACD for better confluence.
- Stock Split Impact Analysis – A deep dive into how splits change market capitalization.
- Dividend Yield Calculator – Understand the cash flow component of adjusted prices.
- Backtesting Strategies – How to ensure your historical data is clean for simulation.
- Technical Indicators Overview – A library of all key oscillators and trend followers.