Structural Map Volatility Breakout
Family: volatility · Regime: trending · Complexity: medium · Asset classes: FX, Indices, Commodities · Timeframes: H1, M30
Thesis
Market momentum is often signaled by a breakout where the current bar's range (True Range) significantly exceeds its historical average (ATR), especially when price sustains a level above its drift-adjusted previous close. By anchoring exits to session-based volatility projections (ATR Fib) and tying risk to real-time transaction costs (Spread), the strategy captures high-velocity moves while avoiding low-liquidity traps.
Components
- MQL5 Structural Sample Logger (regime) — Used as a 'data integrity' regime filter; trades are only permitted when the OnCalculate event loop confirms a stable history (prev_calculated > 0) and sufficient bar count for ATR calculation.
- Supported map history demonstration (direction) — Provides the trend bias. By comparing current price to the previous close adjusted by the map's historical size, it creates a dynamic, upward-drifting threshold for momentum confirmation.
- Volatility Ratio (VR) (entry) — Identifies 'volatility ignition' events where the current bar's range significantly exceeds the average, suggesting a high-probability breakout.
- ATR Fib (exit) — Provides session-anchored profit targets and reversal levels based on fixed ATR projections from the session's high-open.
- Spread Display and Alert (risk) — Governs the trade execution quality. Sets a hard limit on entry spread and defines the Stop Loss distance as a multiple of the current cost of carry.
Known failure conditions
- ATR Fib manual ATR input (e.g., 250) becomes obsolete due to a 50% change in actual market volatility.
- Map size grows to a value that creates an insurmountable bias, preventing short signals indefinitely.
- Broker spreads consistently exceed the 'AlertIfSpreadAbove' threshold, resulting in zero execution.
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).