Do We Use Close or Adjusted Close to Calculate MACD?
Compare Standard vs. Adjusted Data for Professional Technical Analysis
MACD Variance (Close vs. Adjusted)
0.00
0.00
EMA(Fast) – EMA(Slow)
Note: This simulation shows how applying dividend adjustments to a price series creates a significant variance in the MACD oscillator.
MACD Convergence Simulation
Blue: Unadjusted Closing Price Trend | Green: Adjusted Closing Price Trend
Comparison Data Table
| Period | Close Price | Adj Price | Unadj MACD | Adj MACD |
|---|
What is the core debate: Do we use close or adjusted close to calculate MACD?
In the world of technical analysis, traders often ask: do we use close or adjusted close to calculate macd? The Moving Average Convergence Divergence (MACD) is a momentum indicator that follows trends, showing the relationship between two moving averages of a security’s price. While standard closing prices represent the actual price at the ring of the bell, adjusted closing prices account for corporate actions like stock splits and dividends.
Choosing between them is not just a preference; it affects your signal accuracy. Most day traders focus on raw close prices because they reflect the immediate supply and demand levels. However, long-term investors and backtesters often find that they must decide do we use close or adjusted close to calculate macd to ensure historical gaps don’t trigger false “death crosses” or “golden crosses.”
MACD Formula and Mathematical Explanation
The MACD is calculated by subtracting the 26-period Exponential Moving Average (EMA) from the 12-period EMA. When we analyze do we use close or adjusted close to calculate macd, the math remains the same, but the inputs change.
The EMA formula is: EMA = [Price – EMA(previous)] × Multiplier + EMA(previous).
| Variable | Meaning | Unit | Typical Range |
|---|---|---|---|
| Fast EMA | Short-term momentum average | Periods | 12 – 15 |
| Slow EMA | Long-term trend average | Periods | 26 – 30 |
| Signal Line | EMA of the MACD line | Periods | 9 |
| Price Input | Close or Adjusted Close | Currency | Asset Price |
Practical Examples (Real-World Use Cases)
Example 1: The Dividend Impact
Imagine a stock trading at $100 that pays a $5 dividend. On the ex-dividend date, the “Close” price might drop to $95. If you do not use adjusted close to calculate MACD, the indicator will see a sharp $5 drop and potentially signal a bearish trend that doesn’t actually exist in terms of total return. By using adjusted prices, the MACD remains smooth because the historical data is adjusted downward to match the new price level.
Example 2: Stock Splits
In a 2-for-1 stock split, the price of a stock is halved. If a trader asks do we use close or adjusted close to calculate macd during a split, the answer is unequivocally “Adjusted.” Without adjustment, the MACD would crash toward zero, creating a massive false signal that would ruin any automated trading strategy.
How to Use This MACD Adjustment Calculator
This tool helps you visualize the discrepancy between raw price data and dividend-adjusted data. To use it:
- Current Asset Price: Enter the latest raw closing price.
- Adjustment Factor: Input the ratio used to calculate adjusted prices (usually provided by data providers like Yahoo Finance).
- EMA Periods: Stick with the standard 12/26 or enter your custom strategy parameters.
- Review Results: The calculator immediately shows the variance. If the variance is high, you know that using adjusted close is critical for that specific asset.
Key Factors That Affect MACD Results
- Dividend Frequency: High-yield stocks (REITs, Utilities) require adjusted close data to avoid repetitive bearish MACD noise.
- Stock Splits: These create “price cliffs” that can only be smoothed by using adjusted closing prices.
- Time Horizon: Short-term day traders ignore adjustments because dividends happen infrequently. Long-term trend followers must use adjusted data.
- Data Source: Some platforms default to “Close,” while others like TradingView or Yahoo Finance default to “Adjusted Close.”
- Volatility: High volatility can mask the differences between close and adjusted close, but the underlying math remains impacted.
- Asset Type: Commodities and Forex rarely have “Adjusted” prices (no dividends), whereas Equities almost always do.
Frequently Asked Questions
Do professional traders use close or adjusted close for MACD?
Professional swing traders and hedge funds primarily use adjusted close to ensure that corporate actions do not skew their long-term technical signals.
Can I use raw close for intraday MACD?
Yes, for intraday trading, the distinction is negligible because dividends and splits do not occur during the session.
Why does my MACD look different on two different platforms?
This is usually because one platform is asking do we use close or adjusted close to calculate macd and opting for the adjusted version, while the other is using raw data.
Does using adjusted close affect the Signal Line?
Yes, since the Signal Line is an EMA of the MACD, any change in the underlying price data cascades through the entire indicator.
Is Adjusted Close better for backtesting?
Absolutely. Backtesting with unadjusted prices leads to inaccurate results because the “losses” from dividends are counted as price drops rather than value distributions.
Does MACD work on Adjusted Close for ETFs?
Yes, ETFs often distribute capital gains and dividends, making adjusted prices vital for accurate MACD calculations.
What is the standard setting for MACD?
The standard settings are 12, 26, and 9, regardless of whether you use close or adjusted close.
How do I get adjusted closing price data?
Data providers like Bloomberg, Reuters, and Yahoo Finance provide “Adj Close” columns specifically for this purpose.
Related Tools and Internal Resources
- How to Calculate EMA – Deep dive into the Exponential Moving Average formula used in MACD.
- MACD vs RSI Comparison – Learn which momentum indicator works best with adjusted price data.
- Technical Analysis Basics – A complete guide to understanding stock charts and price types.
- Understanding Stock Splits – How corporate actions change the price history of a security.
- Dividend Yield Calculator – Calculate the payout that necessitates using adjusted closing prices.
- Best Indicators for Day Trading – Why raw close is often preferred in high-frequency environments.