Temporal Decay Momentum & Statistical Extremity Exit Strategy
Family: trend_following · Regime: trending · Complexity: medium · Asset classes: Equities, Forex, Crypto · Timeframes: H1, H4, D1
Thesis
Markets exhibit momentum due to herd behavior, but these trends often reach statistical 'exhaustion' before a total reversal. By using a long-term SMA and a time-decaying UDF EMA, we filter for high-conviction trends. The edge is realized by exiting when price moves 2 standard deviations from its mean (Z-Score), capturing gains before the trend-following crowd reacts to the eventual reversal signal.
Components
- Simple Moving Average (SMA) (regime) — Acts as the primary trend filter to ensure trades are only taken in the direction of the long-term consensus.
- Unsupported UDF Final Switch Const Reassignment Qualifier (direction) — Provides a 'decaying sensitivity' directional filter; as bar_index grows, it demands more price persistence to maintain a directional bias.
- MACD EMA Crossover Visualizer (entry) — Captures the specific moment of momentum shift to trigger the entry within the established regime.
- Z-Score (exit) — Used to capture profits at statistical extremes (2.0 SD) before the trend undergoes a mean-reversion correction.
- Chandelier Exit Heiken Ashi Variant (risk) — Provides a volatility-adjusted trailing stop and determines initial position risk based on Heiken Ashi price extremes.
Known failure conditions
- The UDF EMA becomes so smoothed (due to large bar_index) that it fails to respond to major trend reversals for thousands of bars.
- Persistent sideways price action where the Z-Score triggers exits at minor peaks that never reach a significant trend.
- Price oscillates around the SMA 200, generating contradictory regime signals.
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).