Dynamic Session Anchor with Fractal Risk
Family: hybrid · Regime: trending · Complexity: high · Asset classes: FX, Global Indices, Large Cap Equities · Timeframes: H1, H4
Thesis
The strategy assumes that market structure (Pivot Points) provides high-probability entry/exit zones, but only when filtered by a trend indicator that effectively 'learns' the session's cumulative bias (Dynamic EMA). By incorporating a runtime integrity check, it ensures that the technical indicators are operating within a valid computational environment before committing capital.
Components
- Supported for-in empty array slice result negative body history (regime) — Acts as a 'Runtime Integrity Check'. The strategy only initializes if the environment correctly processes the empty slice test case to 'na', preventing execution on unstable or incompatible calculation engines.
- Unsupported UDF Switch Reassignment EMA (direction) — Provides a trend filter that becomes progressively smoother as the chart ages (length = bar_index). This forces the strategy to ignore short-term volatility in favor of long-term session orientation.
- Pivot Points (Classic) (entry) — Generates the primary entry triggers based on established S1 (mean reversion) and R1 (momentum) levels.
- Pivot Point S&R with GMT Correction (exit) — Provides dynamic exit targets (S2/S3, R2/R3) that are adjusted for specific broker/GMT offsets, aligning exits with institutional session windows.
- Support and Resistance (Fractal-based) (risk) — Uses the 5-bar Bill Williams fractal pattern to define the hard stop-loss, ensuring risk is pegged to structural local extremes.
Known failure conditions
- The 'Empty Array Slice' logic returns a value other than 'na', indicating a compiler shift.
- Market volatility expands such that the 2-bar fractal lag results in stop losses wider than the ATR.
- Price remains between R1 and S1 for more than 50% of the session, nullifying the directional bias.
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).