Diagnostic Flip-Flop Momentum Trend
Family: trend_following · Regime: trending · Complexity: medium · Asset classes: FX, Equities, Crypto · Timeframes: H1, H4
Thesis
This strategy hypothesizes that significant trend reversals occur when price breaks the 'extreme of the opposite candle type' (Flip Flop logic), and that entering such moves only when volatility is stable (BB Edge Case) and momentum is confirmed by ATR-trailing stops (UT Bot) will filter out noise. The edge relies on the structural shift of supply/demand zones defined by recent bearish/bullish exhaustion candles.
Components
- Indicator Sample Diagnostic (regime) — Acts as a 'system health' regime check, ensuring that the expert log confirms sufficient bar history (rates_total) and time continuity before allowing execution.
- Flip Flop Indicator (direction) — Establish market bias by identifying if the current price has cleared the 'high of the lowest bearish bar' (bullish bias) or 'low of the highest bullish bar' (bearish bias).
- UT Bot Alerts (MQL5) (entry) — Provides the tactical entry trigger when price crosses the ATR-based trailing stop, confirming momentum in the direction established by the Flip Flop.
- Connect MACD (Azullian) (exit) — Utilizes momentum exhaustion (MACD crossing back through the signal line) to exit positions before the UT Bot trailing stop is hit.
- ATR SL Finder (risk) — Provides a volatility-adjusted hard stop to protect against sudden reversals during the momentum phase.
- Bollinger Bands Edge Cases Utility (volatility_filter) — Used as a secondary volatility filter; if the utility returns 'na' or fails its internal edge-case tests, it signals unstable market data/volatility, and trading is suspended.
Known failure conditions
- Price remains within the Flip Flop range (Bull Level to Bear Level) for more than 50 bars, indicating deep consolidation.
- UT Bot signals and MACD signals provide conflicting directions for more than 3 consecutive bars.
- Indicator Sample Diagnostic reports intermittent gaps in bar data (time[0] - time[1] > expected timeframe).
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.