Moving Average Convergence Divergence (MACD)
Momentum crossover system — confirms trend direction and strength
What is it?
MACD shows the relationship between two EMAs (12 and 26 period). The MACD line (EMA12 − EMA26) crossing above the signal line (9-period EMA of MACD) is a bullish signal. The histogram visualizes the gap between MACD and signal — expanding histogram = strengthening momentum.
Why it matters
MACD (weight 1.5) is a PRIMARY momentum indicator in AIShare. It confirms whether momentum is with or against the trend. A bullish MACD crossover combined with bullish EMA alignment is a high-confidence swing trade setup.
Formula
MACD Line = EMA(12) − EMA(26); Signal = EMA(9) of MACD; Histogram = MACD − Signal
Key parameters
| Parameter | Default | Description |
|---|---|---|
| Fast Period | 12 | Fast EMA — responsive to recent changes |
| Slow Period | 26 | Slow EMA — smooths out noise |
| Signal Period | 9 | Signal line EMA — trigger for crossovers |
How to use
- 1MACD line crossing ABOVE signal line = Bullish momentum shift
- 2MACD line crossing BELOW signal line = Bearish momentum shift
- 3Histogram expanding (growing bars) = Momentum strengthening
- 4Histogram contracting = Momentum fading — prepare for potential reversal
- 5Zero-line crossover: MACD crossing above zero = trend turning bullish
- 6MACD divergence from price = powerful reversal signal
Signals (6)
MACD crosses above Signal line
Bullish momentum crossover — entry signal
MACD crosses below Signal line
Bearish momentum crossover — exit signal
Histogram expanding positive
Bullish momentum strengthening
Histogram contracting
Momentum fading — prepare to exit
MACD crosses above zero line
Trend turning bullish
Bullish MACD divergence
Price falls but MACD rises — reversal setup
Swing trading tips
Common mistakes to avoid
- Trading every MACD crossover without trend context — leads to whipsaws
- Ignoring the histogram — it shows momentum quality, not just direction
- Using MACD in ranging/sideways markets where it generates false signals
See MACD on real stocks
Want to see MACD plotted on your own watchlist of NSE & BSE stocks? Sign in and open the full indicator workbench — AIShare uses live daily data from your watchlist (no fabricated examples, no copyrighted screenshots).
Video tutorials (3)
MACD Indicator Explained — Trading Strategy
Trading Rush
How to Trade MACD Like a Pro
Rayner Teo
MACD Strategy for Beginners (Day & Swing Trading)
Humbled Trader
Third-party tutorials — linked for educational reference. AIShare is not affiliated with these creators.
Quick quiz — test your MACD knowledge
5 questions. Pass with 3 out of 5 for a completion badge.
1The MACD line is computed from…
2A bullish MACD crossover means…
3An expanding (growing) MACD histogram suggests…
4Which market condition is MACD WORST for?
5What does 'MACD divergence' typically warn about?
Educational self-assessment only — not a regulated qualification.
Unfamiliar with a term?
Terms like golden cross, divergence, squeeze and ATR are linked inline to their definitions. You can also browse the full Trading Glossary.
For educational purposes only — not investment advice. AIShare is not a SEBI-registered investment advisor.