Designing an External Walk-Forward Optimizer with a WPF Interface
Summary
This article outlines the software structure of an automated optimizer for MetaTrader strategies, focusing on its graphical interface and project organization. The application is split between a DLL and a separate executable, with an MVVM design that separates interface elements from optimization logic. Model classes are grouped by responsibilities such as directory management, file reading, optimization management, and terminal configuration.
The GUI brings together optimizer and terminal selection, report loading, configuration controls, progress display, and settings for assets, expert advisors, filters, sorting, and date ranges. The article also describes managing optimization reports in directories so results can be transferred to another computer by copying the report folder. It is an implementation overview, not a test of optimization quality or trading performance. The logical optimization workflow is reserved for a later installment, and the discussion provides no evidence that the optimizer improves strategy returns or avoids overfitting.
Key ideas
- The optimizer runs as an external application connected to MetaTrader through a DLL.
- The project uses MVVM to separate the GUI from optimization and terminal logic.
- Its interface organizes optimization settings, terminal selection, reports, and progress controls.
- Optimization results can be moved between machines by copying the reports directory.
- The article describes architecture and usage rather than validated trading performance.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.