Zero-Lag Range Alignment System
Family: trend_following · Regime: trending · Complexity: medium · Asset classes: Equities (DJIA context), Indices · Timeframes: 1H, 4H
Thesis
The strategy assumes that momentum persistence is strongest when price is within a historically identified 'probable' range, relative performance is positive compared to a peer group, and three separate exponential timeframes align. By using a Zero Lag LSMA for the regime, we identify the start of these trends earlier than standard SMA-based systems.
Components
- Zero Lag Least Squares Moving Average (ZLSMA) (regime) — Used to define the current trend regime with minimal lag by applying the 2*LRMA-LRMA(LRMA) formula. Heiken Ashi smoothing provides a cleaner directional bias.
- Supported indicator max boxes count (direction) — Acts as a price-verification layer; confirms the current close price is utilized for direction as the Pine engine handles box object memory.
- Triple Exponential Moving Average (EMA) (entry) — Generates entry signals based on the alignment of three EMAs, ensuring momentum is synchronized across three distinct lookback windows.
- MACD (exit) — Identifies momentum exhaustion through histogram reversals and signal line crossovers, providing a timely exit before trend reversal.
- Performance Table (risk) — Used for risk management; position size is scaled based on the asset's relative performance against a benchmark basket (1M Performance).
- Probable High Low (volatility_filter) — Acts as a hardcoded structural filter; trades are only permitted when the price is between these static levels, simulating a 'safe trading zone' or specific index range.
Known failure conditions
- Price permanently breaks out of the 32889-33678 range, rendering the volatility filter obsolete.
- Performance across all symbols in the table correlates to 1.0, eliminating the benefit of relative performance weighting.
- ZLSMA produces constant whipsaws in low-volatility environments despite zero-lag smoothing.
Explore the full interactive blueprint, parameter ranges and evidence on WOBR StrategyVerse, or generate this strategy as an MT4/MT5 Expert Advisor with QuantMogul AI Engine.