When Type=Walk-Forward in the Optimization Details group box, the Suggest option for Genetic Optimization Settings on the 'Advanced Settings' dialog is not available.
It is important to realize that when using the genetic optimizer (GO) in combination with the WFO, then the goal is slightly different from using the GO on its own.
When using the GO on its own, the purpose is merely to perform an optimization without having to wait days or weeks. Typically, you would have selected "Genetic" because the total number of tests may have been too large had you have selected "Exhaustive" as method.
When using the GO in conjunction with the WFO (i.e. when you have set Type=Walk-Forward on the Format Analysis Techniques & Strategies dialog), the main purpose of the GO is to prepare a genetic sample of tests to be walk-forward tested by the WFO at a later stage.
When Type=Walk-Forward, TradeStation will, during optimization, be writing out complete trade list files to the hard drive and these trade lists are then later on used by the WFO to perform a Cluster Analysis of multiple Walk-Forward Analyses.
Thus, when using GO in conjunction with WFO, the most important factor is that we want to make sure that the GO has generated a sufficient number of trade list files for the WFO so that WFO has enough resolution to perform a reliable cluster/walk-forward analysis.
Increasing the number of optimization tests increases the resolution of our walk-forward test.
Let's use the analogy of a photo. Let's say an average size image has a resolution of 600x400 pixels but we want to display this photo as the background of our computer desktop which has a resolution of 1024 x 768. What we will find is that our 600x400 photo does not look very nice (not a clear picture) because the resolution is too low for a start. Once we increase the resolution to 1024 x 768, our photo will look exactly as we want it to look, thus a clear picture.
However, should we increase the resolution of the photo even more, e.g. 2000x 1600, our photo will still look the same on our monitor and, even if we increase the resolution of the photo to 4000x3200, our photo will still look the same. So by increasing the resolution of our photo beyond 1024x768 we actually have very little benefit. Yes, surely a monitor of 4000x3200 would be the ultimate, but a resolution of 1024 x 768 would be sufficient in most cases and already provide us with a picture that is clear enough for useful and reliable application
The same principle applies to the walk-forward analysis and Cluster Analysis.
If we should provide the Cluster Analysis with a smaller number of tests (trade lists), then the WFO have too little information to work with and the resolution of our walk-forward analysis may not be sufficient. In other words, our picture about the true robustness of the strategy may not be very clear. In WFO terms, the reports produced may not be very trustworthy.
Should we increase the number of optimization tests (thus more trade lists), the WFO will have more information to work with, thus a better resolution. In this case, the WFO will produce a more clear picture of the true robustness of the strategy, i.e. more reliable/trustworthy reports.
What constitutes a good resolution may differ from strategy to strategy but Empirical testing by Grail users over several years have indicated that a sufficient number of tests for WFO purposes would typically lie somewhere between 5000-10000. (1000 tests we recommend as the minimum)
In other words, you want the GO to perform at least 5000 tests and ideally even more.
Also remember that the Total number of tests = Generations x Population size x Stress test size
So now that we know that we ideally want to get to >5000 tests, let's can look at a few ways to achieve this. With a genetic optimization this can be achieved with the following settings, for example:
On the Advanced Settings dialog:
1) Generations = 100 (default)
Population size = 100 (default)
Stress test size = 1 (default)
Early termination NOT checked
In this case the total number of tests would be 100 x 100 x 1 = 10000 tests
2) Generations = 50
Population size = 50
Stress test size = 3
Early termination NOT checked
In this case the total number of tests would be 50 x 50 x 3 = 7500 tests
3) Generations = 50
Population size = 100
Stress test size = 3
Early termination option CHECKED
In this case the total possible number of tests would be 50 x 100 x 3 = 15000 tests, but since "Terminate Optimization if population fitness did not improve for X generations" is checked, the optimization will most likely terminate somewhere between 5000-10000 tests.
Remember that the above are guidelines and are not rules cast in stone.
The general principle is that the more tests we provide WFO as input, the better the resolution and the clearer the "picture" that WFO will be able to draw.
At some stage, one will reach a point where additional tests will provide little incremental benefit, in other words, the picture will already be clear enough and adding more and more tests will not necessarily improve the picture quality.
How clear you want this "robustness picture" to be is up to the user and will be determined by the number of optimization tests performed, refer the 3 samples provided above.
For WFO purposes, we want to use the above guidelines when setting the Generations, Population, and Stress test size and therefore the Suggest button is greyed out.