Calculating the Investment Clock
Mathematical specification for calculating the Merrill Lynch Investment Clock in real time: 10-indicator FRED pipeline, exponential rolling Z-scores, and phase angle cartesian mapping.
Overview
The Merrill Lynch Investment Clock maps macroeconomic cycles into a two-dimensional continuous phase plane defined by Growth and Inflation momentum relative to trend.
This guide details the mathematical formulas, FRED data pipeline, Exponential Moving Average (EMA) rolling Z-score normalization, and phase-angle calculations used in SOPHIE's real-time engine.
1. FRED Data Pipeline & Indicator Weightings
Ten underlying indicators from the St. Louis Federal Reserve (FRED) feed the dual composite indices:
Growth Composite ()
| Indicator | FRED Code | Transformation | Composite Weight | Signal Direction |
|---|---|---|---|---|
| OECD Composite Leading Indicator | USALORSGPNOSTSAM | Level | 50% | (Expansionary) |
| Industrial Production Index | INDPRO | YoY % Change | 20% | (Coincident Output) |
| Initial Jobless Claims | ICSA | YoY % Change (4wk avg) | 15% | (Inverted Labor) |
| Civilian Unemployment Rate | UNRATE | 12M Change (pp) | 15% | (Inverted Labor) |
Inflation Composite ()
| Indicator | FRED Code | Transformation | Composite Weight | Signal Direction |
|---|---|---|---|---|
| 5-Year Breakeven Inflation Rate | T5YIE | Level (%) vs 2.0% | 30% | (Market Expectations) |
| Core Consumer Price Index (CPI) | CPILFESL | YoY % Change vs 2.0% | 25% | (Lagging Trend) |
| Producer Price Index (PPI Final Demand) | PPIFIS | YoY % Change vs 2.0% | 20% | (Leading Pipeline) |
| Core CPI (Short-Term) | CPILFESL | MoM Annualized vs 2.0% | 15% | (Real-Time Inflection) |
| Total Capacity Utilization | TCU | Level (%) vs 80.0% | 10% | (Demand Pressure) |
2. Exponential Rolling Z-Score Normalization
To eliminate lookahead bias while adapting quickly to regime shifts, each raw indicator is normalized using an Exponential Weighted Moving Average (EWMA) with a 24-month span ():
The aggregate composite score for each dimension is the weighted sum:
3. Phase Angle & Quadrant Classification
The economy's exact position on the clock face is computed via the four-quadrant arctangent in degrees:
Normalizing mapped clockwise where 12:00 corresponds to peak inflation ():
- Phase I: Reflation (6:00 to 9:00, Bottom-Left):
- Phase II: Recovery (9:00 to 12:00, Top-Left):
- Phase III: Overheat (12:00 to 3:00, Top-Right):
- Phase IV: Stagflation (3:00 to 6:00, Bottom-Right):
4. Hysteresis Filtering (Noise Reduction)
To avoid whipsaw regime flips during cyclical consolidation, a Hysteresis Threshold is enforced:
A phase shift is only confirmed when the composite coordinate crosses the quadrant boundary by at least .
Related Resources
A Quantitative Guide to Calculate The Investment Clock
A quantitative walkthrough for calculating the Investment Clock: FRED-derived Growth and Inflation Z-scores that pinpoint the current macro regime.