@David,
You are probably a couple of steps ahead on me. It took me longer to understand the issue.
If you what to optimize the whole year in one go i do not think that is recommendable.
You can of course take the roadmap and fill in the green positions with 1, 2 and 3 like the map suggested. On the red ones you
can fill in -1 or zero. The default settings you can optimize than. Than you are probably finished in half an hour per instrument.
But that is not the idea behind it i think. What i started with the Nasdaq Okt2 (which i posted last week) is that that one is prepaired
for optimization per period. I left every period untoched but set the seasonalPatternMultiplier to zero for the periods i do not use.
I also added at every period “tradeInPeriod = 0” to prevent you get results other than the period you optimize. And i also added accumulationModeLong
and Short to every period and set them to zero for the periods i do not use. If theze accumulationline are not in the period you can only use them in the
overall line above and that is not recommended because you do not use them in all periods. And when used above it is just on or off.
After optimization the period you want you move to the next period. Leave everything untouched with one difference: you set SeasonalPatternMultiplier to 0//1
(or 2 or 3 depending the positionsize you have used) and you set TradeInPeriod in the old period to zero and you move to next period and start over again.
After a year you have a full year optimized. I don’t think there is a quicker way because the whole idea is to get it optimized per period with different optimizationparameters.
If you throw that overboard you just have an optimization with average parameters.
One point to keep in mind. When you have a huge drawdown per period and you have for example 24 times €2K
drawdown, it adds to an amount per year that makes the code for the whole year unusable. My idea is to keep the DD per period as low as possible and when the DD is high,
try the opposite. (short instead of long or the other way around) or set the period to zero. Just my thought of course.
kind regards,
Patrick