Title: Add the ability to export .set files during an ongoing optimization and add a “Minimum Guaranteed Profit” optimization criterion
Hello MetaTrader 5 development team,
I would like to suggest two improvements to the Strategy Tester / Optimization system.
1. Export .set files while a mass optimization is still running
Currently, whesn running a large optimization, if I find a promising result and want to test its parameters separately on another computer, I have to stop the entire optimization in order to export the .set file.
For example:
Start a large optimization.
The optimization is still running.
Some promising parameter combinations already appear in the results.
Right-click one of those results.
Add an option such as: “Export Parameters to .SET File”
MT5 generates the .set file for that specific result.
The optimization continues running normally in the background.
This would allow users to take promising parameter sets and test them on another computer while the main optimization continues.
Ideally, this option could be added directly to the existing right-click menu in Optimization Results, next to options such as “Optimized Input Parameters” and “Export to XML”.
This would be extremely useful for users performing long-running optimizations with thousands or millions of combinations.
2. Add a “Minimum Guaranteed Profit” optimization criterion
I would also like to suggest a new optimization criterion similar to the concept we previously discussed regarding MaxMinTester.
The idea would be to allow the user to specify a minimum acceptable/guaranteed profit for an optimization.
For example:
Minimum Profit: R$ 5,000
The optimizer would then consider this minimum profit as a constraint and help identify parameter sets that maintain at least this level of profitability, rather than simply selecting the parameter combination with the highest total profit.
An even better implementation would be to allow something like:
Optimization Criterion: Minimum Guaranteed Profit
Minimum Profit: R$ 5,000
Optimization Goal: maximize another metric, such as:
Profit Factor
Expected Payoff
Recovery Factor
Sharpe Ratio
Minimum Drawdown
or another user-selected criterion
In other words, the user could define a profit floor/constraint, and the optimizer would only consider parameter sets that satisfy that minimum.
For example:
Find the parameter combination with the best Profit Factor, but only among configurations that generated at least R$ 5,000 of net profit.
This would be much more useful than simply optimizing for maximum profit, because the highest-profit result is not necessarily the most robust or desirable configuration.
Why these features would be valuable
The Strategy Tester is already extremely powerful, but long-running optimizations create two important limitations:
1. We cannot easily extract promising parameter sets while the optimization is still running.
2. The existing optimization criteria do not provide enough flexibility to impose practical constraints such as a minimum required profit.
Adding these two features would make the MT5 Strategy Tester much more useful for professional optimization workflows.
Thank you for considering these improvements.
Suggested features:
Export .SET from an individual optimization result while optimization is still running
Minimum Guaranteed Profit / Minimum Profit Constraint as an optimization criterion
Both features could significantly improve the workflow for users performing large-scale Strategy Tester optimizations.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Title: Add the ability to export .set files during an ongoing optimization and add a “Minimum Guaranteed Profit” optimization criterion
Hello MetaTrader 5 development team,
I would like to suggest two improvements to the Strategy Tester / Optimization system.
1. Export .set files while a mass optimization is still running
Currently, whesn running a large optimization, if I find a promising result and want to test its parameters separately on another computer, I have to stop the entire optimization in order to export the .set file.
For example:
“Export Parameters to .SET File”
This would allow users to take promising parameter sets and test them on another computer while the main optimization continues.
Ideally, this option could be added directly to the existing right-click menu in Optimization Results, next to options such as “Optimized Input Parameters” and “Export to XML”.
This would be extremely useful for users performing long-running optimizations with thousands or millions of combinations.
2. Add a “Minimum Guaranteed Profit” optimization criterion
I would also like to suggest a new optimization criterion similar to the concept we previously discussed regarding MaxMinTester.
The idea would be to allow the user to specify a minimum acceptable/guaranteed profit for an optimization.
For example:
Minimum Profit: R$ 5,000
The optimizer would then consider this minimum profit as a constraint and help identify parameter sets that maintain at least this level of profitability, rather than simply selecting the parameter combination with the highest total profit.
An even better implementation would be to allow something like:
Optimization Criterion: Minimum Guaranteed Profit
Minimum Profit: R$ 5,000
Optimization Goal: maximize another metric, such as:
In other words, the user could define a profit floor/constraint, and the optimizer would only consider parameter sets that satisfy that minimum.
For example:
This would be much more useful than simply optimizing for maximum profit, because the highest-profit result is not necessarily the most robust or desirable configuration.
Why these features would be valuable
The Strategy Tester is already extremely powerful, but long-running optimizations create two important limitations:
1. We cannot easily extract promising parameter sets while the optimization is still running.
2. The existing optimization criteria do not provide enough flexibility to impose practical constraints such as a minimum required profit.
Adding these two features would make the MT5 Strategy Tester much more useful for professional optimization workflows.
Thank you for considering these improvements.
Suggested features:
Both features could significantly improve the workflow for users performing large-scale Strategy Tester optimizations.