Termos de Referência
I am looking for an experienced MQL5 developer to complete the optimization and structural refinement of an existing MT5 Expert Advisor (source code ~2.5MB).
Phase 1 (audit and baseline testing) has already been completed. The remaining work focuses on correcting core system behavior without changing the strategy.
Key issues identified:
• Scenario gate logic is not correctly structured at the entry decision level
• Filters are behaving in reverse (blocking high-quality trades while allowing weaker ones)
• Scoring system is misaligned, allowing borderline setups to pass
• Choppy market filter (S11) reacts too late in the decision flow
• Calibration logic (diag ON/OFF) produces inconsistent thresholds
• Poor handling of transition phases (accumulation → manipulation → distribution)
Scope of work:
• Correct scenario gate and decision flow structure
• Fix filter direction and improve trade selection logic
• Align scoring and filtering interaction across all scenarios
• Improve S11 integration and early filtering behavior
• Refine calibration system to produce consistent results
• Optimize entry timing in strong trends
• Improve exit logic (TP, SL, trailing, early exit)
• Perform structured backtesting and validation (avoid overfitting)
Goal:
Deliver a stable, optimized EA with reduced overtrading, improved trade quality, and consistent behavior across market conditions, ready for forward testing.
Important:
This is NOT a basic parameter optimization task. It requires deep understanding of MQL5 systems, scoring logic, and trade filtering architecture.
Please only apply if you have experience working with complex EAs and can handle structural optimization without rewriting the core strategy.