Matrix-Anchored Macro Momentum
Family: trend_following · Regime: trending · Complexity: high · Asset classes: FX Majors, Global Equities, Commodities · Timeframes: H4, D1
Thesis
Market trends become more 'anchored' to historical means as a session or asset's data history matures. By using a Dynamic EMA that weights history more heavily over time (length = bar_index), we can filter out late-stage volatility noise. This trend direction is only valid when global macro-financial stress (liquidity/credit) is low and price structure (engulfing levels) confirms the breakout.
Components
- Matrix Int Support Test (regime) — Serves as a structural logic gate; trading is only permitted if the matrix's internal sum of statistical summaries and linear algebra results is stable, representing a 'computable' market state.
- Unsupported const if expression reassignment qualifier (direction) — Determines the primary trend using an EMA where the period equals the current bar index. This creates an 'expanding anchor' that increasingly weights historical price as the session progresses.
- Commodity Channel Index (CCI) (entry) — Used to identify momentum breakouts beyond the +/- 100 levels once the directional and regime filters are met.
- Commodity Channel Index (Rosasurfer Framework) (exit) — Provides the exit signal based on trend-colored multi-channel logic, specifically exiting when the CCI exits the extreme zones in the opposite direction.
- Macro Risk Dashboard v8.2 (risk) — Calculates position size and dynamic stop-loss distance based on cross-market stress (volatility, liquidity, and credit) levels.
- Roshaneforde Pivot Levels (confirmation) — Confirms the entry by ensuring price has cleared the most recent engulfing-based support (for longs) or resistance (for shorts) levels.
Known failure conditions
- The Dynamic EMA (length=bar_index) becomes a horizontal line in late-stage backtests, failing to react to any price action.
- Macro Risk Dashboard data feeds (FRED) experience significant reporting lags, rendering the risk-off filter obsolete.
- Price remains trapped between Roshaneforde engulfing levels for extended periods, resulting in zero signal generation.
Explore the full interactive blueprint with parameter ranges and evidence on WOBR StrategyVerse, or generate this strategy as an MT4/MT5 Expert Advisor with QuantMogul AI Engine (free download).