
MACD is a popular momentum indicator in technical analysis. It consists of:
- MACD Line: Difference between fast EMA (default 12) and slow EMA (default 26).
- Signal Line: EMA of the MACD line (default 9).
Trading Signals:
- MACD crosses above Signal → BUY
- MACD crosses below Signal → SELL
- Otherwise → HOLD