RegimeRouter is an EA structure built around explicit regime classification plus…

MQL5 Algo Trading, @mql5dev

Open in Telegram
#4245Photo

RegimeRouter is an EA structure built around explicit regime classification plus per-regime performance accounting. The classifier runs on each closed bar and combines three independent signals: ADX for directional strength, Hurst exponent on log returns for persistence vs anti-persistence, and lag-1 autocorrelation for continuation vs snapback. Each voter assigns trend, range, or abstains; the regime is committed only when the summed votes clear a configurable minimum, otherwise the system stays neutral and does not trade. Routing is split into two modules. TREND trades N-bar breakouts only when fast/slow EMAs agree on direction. RANGE trades mean reversion by fading a stretched z-score versus a moving average. NEUTRAL places no orders. Trades are stamped via magic numbers that include the regime id, and a startup rebuilds a ledger from deal histor... 👉 Read | CodeBase | @mql5dev

Open in Telegram
Views7,350−27%vs avg
Forwards7
Reactions3
Comments—

Views growth

Hours after publication

Show as table
Hours after publicationViews
0 h1,291
7 h7,350
  1. After 1 hour1,291
  2. After 6 hours7,350
  3. Total to date7,350

More from MQL5 Algo Trading

  1. 01
    Views16.6K
    Forwards9
    Reactions—
    Comments—
  2. 02
    Views13.3K
    Forwards7
    Reactions5
    Comments—
  3. 03
    Views12.5K
    Forwards5
    Reactions34
    Comments—
  4. 04
    Views12K
    Forwards6
    Reactions40
    Comments—
  5. 05
    Views11.9K
    Forwards4
    Reactions16
    Comments—

All posts of MQL5 Algo Trading