What is strategy optimization?Strategy optimization is the search for optimum parameters for predefined criteria. By testing a range of strategy input values, optimization helps select values that correspond to optimal strategy performance based on historical data. |
![]() |
|
Extensive Choice of Optimization Types |
![]() |
Exhaustive (Brute-Force) OptimizationStrategy optimization is done to find good parameters, and eliminate bad ones. Exhaustive optimization systematically goes through all potential combinations as it searches for the solution with the highest results for the criteria you chose. |
|
You can find inputs that maximize net income, minimize drawdown, or result in fewest trades. The amount of time the exhaustive optimization feature needs to find the solution relates directly to the number of possible combinations it needs to test—the more combinations you have, the longer it will take. If only a few parameters are tested for a short range, this method is definitely optimal for finding the best inputs. Also, in MultiCharts optimization is spread across all available CPUs, which means your optimization speed will increase with the number of cores in your computer. This method of spreading the work across CPUs is called multi-threading. |
Exhaustive optimization vs. Genetic optimizationEach optimization type has its benefits and drawbacks. You must choose the right tool to get the job done, and find the result you need. |
![]() |
|
If you are testing many possibilities, exhaustive optimization takes a very long time—even with multi-threading. The advantage of exhaustive optimization is that it is guaranteed to find the absolute optimal inputs in the testing range, but the drawback is that it takes a very long time if many possibilities are tested. Therefore, it should be used where the number of possibilities is relatively small, or where you must find the absolute best solution. Another nuance is that the absolute best inputs might actually be an outlier, which does not result in good performance on a consistent basis. Genetic optimization addresses this issue because it performs strategy optimization differently. |
![]() |
Optimization ReportThis report shows the optimization results, and you can filter output combinations by one or more criteria. For example, to find a strategy with the maximum net profit and minimum max drawdown—first sort by net profit in ascending order and then by drawdown in descending order. |
Custom Fitness Function OptimizationYou can set your own custom search criteria for strategy optimization. |
![]() |
|
With this feature you can optimize using several conditions, as opposed to just one. For example, you can find a strategy that combines the greatest profit, lowest drawdown, and the highest percentage of profitable trades. You can use custom fitness function optimization in regular and portfolio backtesting—as well as with genetic and exhaustive trading system optimization. |
![]() |
3D Optimization Graphs3D optimization graphs give visual representations of how the strategy parameters affect trading performance. The 3D graph reveals most robust parameter zones, and is a great tool for avoiding over-optimization, which also known as curve-fitting. |
|
A strategy that has abrupt performance breakdowns with only small parameter changes cannot be considered robust. You can superimpose results of different optimizations onto each other to compare results, and see if the optimal inputs you found are confirmed by other tests. You can use superimposition to compare genetic and exhaustive optimization results, and you can evaluate how robust your findings are. 3D surfaces can be drawn by any criteria available in the optimization report—for example net profit, percent profitable, and max drawdown. Relevant input and output values are displayed when the mouse cursor hovers over a particular point on the graph’s surface. |
MultiCharts |
MCFX |
OwnData |
Support |
Company |
Risk Warning:
Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.