How to pick & prioritize optimization parameters since we can't simply do all of them at once. #295
-
I've been experimenting for 3days with the optimization parameters in strategy tester of MT5 on the EA37337. I've tried many different orderings and number of parameters each iteration through the process. We can't simply select all because combinatorially not even a super computer could get through the optimization step before the universe implodes (or something like that). So how do you recommed we perform optimization / backtesting having designed the tool? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
v2.005I usually optimize one set of params per run, not all of them at once. Also I think fast genetic algoritm could skip some of the good results. Since all version are slightly different, the following personal recommendations applies to v2.005. GeneralGeneral optimization hints:
LiteOptimization from scratch:
To summarize, the general order of optimization is to first optimize strategies separately per timeframe. Then retest with all selected strategies enabled at once. Next optimize filters if available. Compare final results with different modelling and re-run the final setup (broker or platform) with longer periods. Using Lite version (in comparison to Advanced) can be useful to have a general idea about the strategies (which are good or bad for the given market) without overcomplicating configuration with filters. AdvancedOptimization from scratch:
To summarize, the general order of optimization is to reset filters to defaults and set tasks to none. First optimize strategies separately per timeframe with their best stops (for the same timeframe). Next with all selected strategies try to improve filters, then revise strategies again (after filtering changes), then optionally add tasks at the end (which works better). Compare final results with different modelling and re-run the final setup (broker or platform) with longer periods. RiderOptimization from scratch (recommended period: 2019-2021):
To summarize, the general order of optimization is to reset filters to defaults, and set tasks to desired outcome (e.g. Equity>1%). First optimize strategies separately per timeframe (using a startup higher-timeframe stop), then with all selected strategies find their best stop (H1-D1). Next try to improve filters, then revise strategies again (after filtering changes). Finally optimize tasks at the end (which works better). Compare final results with different modelling and re-run the final setup (broker or platform) with longer periods. |
Beta Was this translation helpful? Give feedback.
-
For the latest version (v2.011 or similar), the optimization method is quiet simple (assuming you're going to ignore filters). Once best strategy is selected, I'm optimizing the next one on H2 then adding it on top, the add another one from H3, till I've a full set. At the end I can add lower timeframes on top of it to see if they make it better or worse. In the screen below, you can see Rider v2.011 optimization results (by optimizing and adding H8 strategy on top of the other, which takes around an hour on a good multi-core machine for 2017-2022). For quicker optimization process, use 1 minute OHLC modelling. Few more hints:
|
Beta Was this translation helpful? Give feedback.
v2.005
I usually optimize one set of params per run, not all of them at once. Also I think fast genetic algoritm could skip some of the good results.
Since all version are slightly different, the following personal recommendations applies to v2.005.
General
General optimization hints: