MACD Calculator
Instantly calculate Moving Average Convergence Divergence (MACD) components from your price data.
Standard Parameters: Fast EMA (12), Slow EMA (26), Signal EMA (9)
How to Use the MACD Calculator
- Collect Your Data: Gather the closing prices for the asset you want to analyze.
- Enter Data: Paste the list of prices into the input field above. You can separate them by commas, spaces, or new lines.
- Calculate: Click the "Calculate MACD" button.
- Analyze Results: Review the generated table to see the MACD Line, Signal Line, and Histogram values for each period.
What is MACD?
Moving Average Convergence Divergence (MACD) is a trend-following momentum indicator that shows the relationship between two moving averages of a security's price. It was developed by Gerald Appel in the late 1970s.
The MACD is calculated by subtracting the 26-period Exponential Moving Average (EMA) from the 12-period EMA. The result of that calculation is the MACD line. A nine-day EMA of the MACD called the "signal line," is then plotted on top of the MACD line, which can function as a trigger for buy and sell signals.
Why This Matters for Traders
- Trend Identification: MACD helps traders identify whether the bullish or bearish momentum is strengthening or weakening.
- Signal Generation: Crossovers between the MACD line and the Signal line are often used as buy (bullish) or sell (bearish) signals.
- Divergence Detection: When the price moves in the opposite direction of the MACD, it can signal a potential reversal.
Frequently Asked Questions
What are the default settings for MACD?
The standard MACD parameters are 12, 26, and 9. This means a 12-period fast EMA, a 26-period slow EMA, and a 9-period signal line EMA.
How do I interpret the Histogram?
The Histogram represents the difference between the MACD line and the Signal line. When the MACD is above the Signal line, the histogram is positive (green). When it's below, the histogram is negative (red).
Can I use MACD for any timeframe?
Yes, MACD is versatile and can be used on daily, weekly, or intraday charts (like 1-hour or 15-minute), provided you have enough data points.
Related Tools
RSI Calculator
Calculate the Relative Strength Index to identify overbought or oversold conditions.
Moving Average Calculator
Calculate Simple (SMA) and Exponential (EMA) Moving Averages to smooth price data.
Stochastic Oscillator Calculator
Compute Stochastic values to predict price reversals in trending markets.
Bollinger Bands Calculator
Compute Bollinger Bands to analyze market volatility and potential price breakouts.
ATR Calculator
Calculate the Average True Range to measure market volatility for stop loss placement.