MASE-KNN Structural Trend Navigator
Family: hybrid · Regime: trending · Complexity: high · Asset classes: FX, Equities, Crypto · Timeframes: H1, H4
Thesis
The strategy hypothesizes that market 'noise' can be statistically quantified using MASE. By only trading when the market is more predictable than a random walk (MASE < 1), and aligning this with structural reversals (ZigZag) and session-based volatility (Brackets), we isolate high-probability trend extensions. KNN confirmation acts as a secondary filter to ensure current price behavior mimics historical profitable trend phases.
Components
- Mean Absolute Scaled Error (MASE) (regime) — Acts as the regime filter; if MASE < 1, the market is exhibiting more structure than a random walk, making it suitable for trend-following.
- ZigZag on Parabolic (direction) — Defines the macro-directional bias by identifying significant peaks and troughs based on Parabolic SAR reversals.
- UT Bot Alerts (MQL5) (entry) — Provides the tactical execution trigger when price crosses the ATR-based trailing stop.
- AI - RSI Strategy (exit) — Manages the trade exit via mean reversion (RSI levels) while ensuring the long-term trend (SMA 200) aligns with the trade.
- FakeCandle (risk) — Determines the stop-loss level and position size based on the visual candle structure defined by the NNFX risk system.
- AI Trend Navigator [K-Neighbor] (confirmation) — Confirms the UT Bot signal by ensuring the local price action is classified as trending based on historical KNN similarity.
- Brackets Indicator (volatility_filter) — Filters for volatility by requiring price to break out of the initial session bracket before an entry is valid.
Known failure conditions
- MASE consistently stays above 1.1, indicating the market has entered a purely stochastic or 'random walk' phase.
- Price remains trapped within the Brackets Indicator range for more than 70% of the trading session.
- The KNN algorithm fails to classify trends due to extreme whip-saw price action that defies historical similarity.
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.