Commit graph Warrior_EA/mql5
Author SHA1 Message Date
AnimateDread
f54c8a1fd6 fix(tools): make_inis points Warrior runs at the deployed Experts\Warrior build
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 21:15:00 -04:00
AnimateDread
75d7362161 feat(warrior): the vol-gated dip-buy book, ported into Warrior_EA
Warrior's defaults are now the validated book: DIP_ZSCORE alone, long only, H4,
risk 0.25%, one chart per index with a shared Magic.

- System/BarCache.mqh: whole-history closed bars, Wilder ATR, GK sigma and the
  expanding vol percentile (no 1024-bar stdlib ceiling)
- System/AccountGuard.mqh: open-risk cap, kill switch, cross-chart lock and
  Friday flat, shared through terminal globals by Magic
- CWarriorExpert: guard on every tick; a transient open failure retries the bar
- CWarriorSignal::SetupStop: the dip owns its 3 x Wilder ATR stop from the bid
- SignalDipBuy: no entry vote while holding (a still-dipping time exit never
  closed, and Processing re-entered on the exit bar); no entry on a stop bar
- WarriorMoney sizes on equity; WARRIOR_RISK allows fractional risk
- TradeLog + research/compare_ea.py: trade-for-trade check vs WarriorDipZ -
  SP500/US30/DAX40 identical to the cent, NAS100 96.9% (stale-quote timer fills)
- research/nn_cross_index.py: pre-registered cross-index NN meta-label - FAIL
  (AUC 0.564, CI [0.498, 0.630]); DipMetaCut stays off

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 21:14:53 -04:00
AnimateDread
6192393511 research(fx): forex and metals - thirteen registered families, nothing passed
Hypotheses were registered in FX_PLAN.md before each round. Trend,
breakout, cross reversion, hour seasonality, month-end USD, carry-cross
dip-buy, metals dip-buy and flight-to-safety all fail the bar.

The weekend-gap fade looked like the best result of the project on bar
data (OOS t 20, 28/28 pairs) and loses on real ticks (EURCHF PF 0.52,
AUDNZD PF 0.53): the Sunday-open spread is as wide as the gap.
WarriorGapFade is kept as the research artifact that proved it and is
flagged DO NOT TRADE.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 13:24:57 -04:00
AnimateDread
faa5ae698f feat(dipz): WarriorDipZ - one chart per symbol, account-level guards
Standalone EA for the vol-gated dip-buy. Each chart trades its own
symbol; instances sharing InpMagic share one open-risk cap (serialised by
a terminal-global lock) and one account-equity kill switch persisted in
terminal globals. Friday flat = minutes before the symbol's own Friday
session close (the original CH_MARKET_CLOSE design), default 170.

Tester, 4 charts 2022-2026: +14.6%, equity DD 2.88%, ret/DD 5.07, every
year positive - unchanged on real ticks. run_tests.ps1 compiles, runs,
verifies the launch and keeps each journal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 13:24:57 -04:00