Отслеживать
1
0
Ответвление
У вас уже есть ответвление Warrior_EA
0
ответвлён от animatedread/Warrior_EA
AI Expert Advisor
  • MQL5 79.7%
  • Python 7.4%
  • HTML 5.7%
  • C 3.4%
  • C++ 3.2%
  • Разное 0.6%
Найти файл
Файлы репозитория (в начале последний коммит)
Имя файла Текст последнего коммита Дата последнего коммита
AnimateDread d20058fc1b feat(meta): dataset export for offline cross-sectional pooled training
Meta_ExportDataset input: with AIType=META the chart writes its complete
training set once per attach - every resolved+labeled candidate as
[barTime|family|pattern|side|won|NetInputWidth floats] using the SAME
window builder, descriptor and label caches pass 2 trains on, so offline
examples are byte-equivalent to the EA's own. Sidecar .meta.csv carries
layout + the geometry/BE the labels were computed at. Files land in
Common\Files\Warrior_EA\MetaExport\<sym>_<period>.f32.

This is the pooling architecture decision: multi-symbol training INSIDE the
per-chart God-class would be the riskiest surgery this codebase has seen;
instead each chart exports, the pooled head trains offline (small dense+BN
net, minutes on this box), is validated per-symbol under the same
chronological splits and coverage x (p - BE) gate, and only a WINNER gets
written back into a .nnw for the EA to load natively (format fully mapped).
Also turns every future meta experiment from a 20-minute tester cycle into
minutes of offline iteration.

Cost-model note for the record (user challenge, verified): spread is 0.099
ATR = ~2% of the 4.74 ATR trade width - tiny per bar, but expressed in
win-rate points it is 0.099/4.74 = 2.1pp, which is the measured base-vs-BE
gap and the size of the entire observed skill lift. Zero-spread relabeling
would put base == BE by construction. Multi-day holds additionally pay swap,
which the label does NOT charge - the true bar is higher, not lower.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-13 13:14:12 -04:00
.claude . 2026-07-18 17:43:29 -04:00
.clinerules feat: suppress noisy performance warnings unless VerboseMode 2026-07-27 10:58:29 -04:00
AI feat: S2 meta-labeling head - binary trade-quality model over the classic-candidate corpus 2026-08-13 06:52:31 -04:00
Database fix(meta): make the stale-DB corpus warning unmissable in the tester 2026-08-12 23:56:26 -04:00
DirectML fix: dense backprop read the weight matrix transposed - on every backend 2026-08-11 18:06:09 -04:00
Enumerations feat: S2 meta-labeling head - binary trade-quality model over the classic-candidate corpus 2026-08-13 06:52:31 -04:00
Expert fix(resume): model reload stalled training - three hardenings on the resume path 2026-08-13 10:23:11 -04:00
Market Descriptions Add new research scripts for trading strategy analysis 2026-08-02 12:25:20 -04:00
Marketing/Logo refactor(AI): clean up comments and add conditional compilation guards 2026-07-22 17:17:23 -04:00
Money fix: four risk-layer holes a funded account would eventually find 2026-08-11 18:14:26 -04:00
Panel fix: add error logging for buffer failures and reject trades on invalid stop loss 2026-07-26 12:12:14 -04:00
references feat: add SGD+momentum optimizer and input-driven hyperparameters 2026-07-18 14:56:41 -04:00
research research: point the seasonal screen at the five breadth instruments 2026-08-12 14:08:05 -04:00
Scripts fix(research): calendar recorder - separate LIVE from BACKFILL, fix seen-set key 2026-08-01 20:22:12 -04:00
Signals feat(meta): dataset export for offline cross-sectional pooled training 2026-08-13 13:14:12 -04:00
Structures fix(db): per-side pattern journaling + versioned journaling semantics 2026-08-12 10:37:57 -04:00
System feat: pin the cross-asset pair set train->serve + warm the sync at init 2026-08-11 21:29:14 -04:00
Trailing feat(trade): implement trade safety checks per Article 2555 and resource limits 2026-07-26 23:08:32 -04:00
Variables feat(meta): dataset export for offline cross-sectional pooled training 2026-08-13 13:14:12 -04:00
.gitignore chore: keep the reference PDFs out of the repository 2026-08-01 22:18:18 -04:00
AI_NETWORK.md refactor(ai): extract Layer.mqh and deduplicate AI config 2026-08-01 11:27:28 -04:00
cpu_directml.log feat(opencl): add feedback alignment support to weight update kernels 2026-07-28 15:01:40 -04:00
DATABASE.md feat: add max-pooling and convolution OpenCL kernels, clean up barrier and signal code 2026-07-13 03:23:39 -04:00
EXPERIMENTS.md feat: make batch normalization mandatory, and record the run-3 results 2026-07-30 08:51:10 -04:00
Meta_Labeling_Design.md docs: H4 experiment result - H3 (lift does not transfer; single-instrument well closed) 2026-08-13 13:06:46 -04:00
opencl.log feat(opencl): add feedback alignment support to weight update kernels 2026-07-28 15:01:40 -04:00
profiling.csv fix: handle legacy neuron classes in BlendWeightsFrom to avoid UB 2026-07-26 14:45:08 -04:00
README.md feat: Enhance README and documentation for Warrior_EA project 2026-04-20 19:28:34 -04:00
REFACTOR_NOTES.md refactor(ai): extract Layer.mqh and deduplicate AI config 2026-08-01 11:27:28 -04:00
SIGNALS.md feat(signals): add MACD/Ichimoku presets and Vote_Close disabled option 2026-07-26 18:33:12 -04:00
Warrior_EA.md feat: Enhance README and documentation for Warrior_EA project 2026-04-20 19:28:34 -04:00
Warrior_EA.mq5 feat: S2 meta-labeling head - binary trade-quality model over the classic-candidate corpus 2026-08-13 06:52:31 -04:00
Warrior_EA.mqproj Add new research scripts for trading strategy analysis 2026-08-02 12:25:20 -04:00
Warrior_EA_System_Overview.md refactor(ai): extract Layer.mqh and deduplicate AI config 2026-08-01 11:27:28 -04:00

Warrior_EA Project Overview

Description

Warrior_EA is a modular, AI/ML-ready MetaTrader 5 Expert Advisor designed for robust, production-grade trading. It integrates traditional and AI-driven signals, advanced money management, trailing stops, and a database/statistics subsystem for adaptive optimization.

Key Features

  • AI/ML Integration: LSTM, PAI, and CONV neural network signals, with configurable feature pipelines and training options.
  • Traditional Signals: Modular support for classic indicators (MA, MACD, RSI, etc.) and price action patterns.
  • Money Management: Fixed lot, fixed risk, and intelligent/adaptive strategies.
  • Trailing Stops: ATR-based, MA-based, Parabolic SAR, and more.
  • Database/Statistics: Tracks trades, signals, and performance for optimization and research.
  • Configurable Inputs: All major features and strategies are user-configurable via Inputs.mqh.
  • Robust Initialization: Retry logic and error handling for all critical subsystems.
  • Production-Ready: Designed for institutional and advanced retail use, with a focus on maintainability and extensibility.

Directory Structure

  • AI/: Neural network and ML logic
  • Database/: Database and statistics management
  • Enumerations/: Enum and type definitions
  • Expert/: Main EA orchestration and custom logic
  • Money/: Money management strategies
  • Signals/: Signal generation (AI and traditional)
  • Structures/: Data structures for signals and trades
  • System/: Utility and infrastructure modules
  • Trailing/: Trailing stop strategies
  • Variables/: Global input parameters and runtime variables

Getting Started

  1. Configure your desired strategies and features in Variables/Inputs.mqh.
  2. Compile Warrior_EA.mq5 in MetaEditor.
  3. Attach to a chart and enable Algo Trading.
  4. Monitor logs and database/statistics for performance and optimization.

Modernization & AI/ML Roadmap

  • Migrate all hard-coded signals to a configurable, feature-driven pipeline.
  • Expand AI/ML subsystem with new models and training options.
  • Enhance database/statistics for deeper analytics and automated optimization.
  • Introduce unit and integration tests for all modules.

Documented April 2026. For subsystem details, see each directory's README.md and AI_NETWORK.md.