Gaussian-LSMA Squeeze Breakout
Family: breakout · Regime: trending · Complexity: medium · Asset classes: Equities, Forex, Crypto · Timeframes: M15, H1, H4
Thesis
Market prices frequently transition from low-volatility 'squeezes' to high-volatility 'expansions.' By requiring both a linear-regression trend (MMA) to lead a Gaussian-smoothed trend (ALMA) during a breakout of the 20-period price range, we capture high-probability momentum shifts while using structural daily levels to define risk.
Components
- Indicator Sample Diagnostic (regime) — Acts as a data integrity filter, ensuring the Expert Advisor only operates when terminal history (rates_total) and connectivity (time sync) meet minimum thresholds.
- Modified Moving Average (MMA) (direction) — Provides the primary directional bias using linear regression (LSMA) to identify the immediate price slope with minimal lag.
- Donchian Channels (DC) (entry) — The execution trigger; entries occur only on physical breakouts of the recent price range.
- Price Channel (Donchian Channel) (exit) — Provides a trailing exit mechanism via the channel midline to capture the meat of the trend while exiting on mean-reversion.
- Daily High Low (risk) — Defines the structural risk floor/ceiling using the previous day's extreme price points for stop placement.
- Arnaud Legoux Moving Average (ALMA) (confirmation) — Used as a momentum filter; when the faster MMA is above the smoother ALMA, it confirms accelerating trend strength.
- Bollinger Squeeze Advanced (volatility_filter) — Filters out entries during low-volatility 'squeeze' periods, requiring the SqueezeRatio to indicate an active expansion phase.
Known failure conditions
- Consecutive losses exceeding 5% of equity indicating the breakout-to-mean-reversion ratio has flipped.
- Regime diagnostic reports gaps in price data (rates_total mismatch) during high-volatility events.
- The MMA and ALMA remain perpetually entangled (whipsaw) for more than 50 bars.
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).