-
Notifications
You must be signed in to change notification settings - Fork 0
MACD
Syed Ibrahim Omer edited this page Apr 13, 2026
·
1 revision
MACD is computed as the difference between two EMAs (short and long), plus a signal line (EMA of MACD).
macdsignal_line-
macd_hist(MACD minus signal line)
[ MACD_t = EMA(close, short)_t - EMA(close, long)_t ]
[ signal_line_t = EMA(MACD, signal)_t ]
[ macd_hist_t = MACD_t - signal_line_t ]
macd_shortmacd_longmacd_signal
- Histogram should equal
macd - signal_line(this is how it’s computed).
Related pages:
- Getting Started
- CLI Reference
- Configuration & Templates
- Indicators (Overview)
- Output Formats
- Advanced Usage
- Troubleshooting
- Pipeline
- CLI Parsing
- Data Source (Yahoo Finance)
- Source Data Deep Dive
- Schema Normalization
- Data Shape Invariants
- Output Writing
- Write Output Deep Dive
- Config Resolution
- Polars Engine
- Source Modules
- Testing
- Performance
- Indicators Engine
- Reproducibility