Skip to content
All library documents

Building a Self-Contained Library of Optimized Strategy Groups

Article MQL5 articles

Summary

This installment describes preparing a multi-currency expert advisor for real use by extracting selected strategy-group initialization data from a large optimization database and packaging it with the EA. The workflow has three stages: select groups and save their initialization strings with useful metadata, choose which groups belong in a release library, then build a final EA that loads those groups without needing the full database at runtime.

The article traces how optimization pass identifiers can select groups whose configuration strings are retrieved from database records. It also explains why relying on a long input string has practical scalability limits, and considers files or generated include code as alternatives before favoring an embedded library for choosing among groups. The author flags open research questions: how to rank groups, whether some groups should be excluded despite strong individual results, and how best to assemble normalized subgroups. Earlier experiments suggest subgrouping may improve test results over combining all strategies at once, but the text does not establish that this approach is optimal. The material is mainly an engineering and research workflow, not evidence of live profitability.

Key ideas

  • A large optimization database need not accompany the EA if selected group configurations are embedded in a release library.
  • The proposed process separates group selection and saving, library generation, and final EA construction.
  • Pass identifiers can be used to retrieve the configurations associated with optimized groups.
  • Input string length makes manual selection through a single parameter difficult to scale.
  • Group ranking and subgroup construction remain unresolved research questions, and the reported test comparison does not prove a universally best method.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.