top_passes
Sort optimization passes by a chosen criterion and retrieve the top performing results to identify optimal parameters.
Instructions
[LEGACY] Best-effort binary .opt parser — unreliable, prefer read_optimization_csv with OptExport.mqh instrumented EA.
Sort optimization passes by criterion and return the top N.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| opt_path | No | ||
| criterion | No | profit | |
| descending | No |