That Solution file in your last post gives consistent results between the backtest and optimization, which is great.
However it consumes a gigantic amount of memory when I broaden the optimization parameters. For instance, as a test in the Optimization.cs file I changed the 12 to a 60 and the 16 to an 80 (as shown below), which caused the my computer to use 28 gigs of Ram then freeze about 50% through the optimization.
Code:
// for (int length1 = 10; length1 < 12; length1++)
// for (int length2 = length1 + 1; length2 < 16; length2++)
for (int length1 = 10; length1 < 60; length1++)
for (int length2 = length1 + 1; length2 < 80; length2++)
Also, I tried using similar logic from your last post's Optimization.cs file on the SMAcrossover that came with OQ2014 Version 1.0.6065.25132 (see my new version attached) and the same issue with memory came up.
Is OQ2014 Version 1.0.6065.25132 the main release of your new Optimizer?
If not, I'll wait for a more official/permanent release of the new Optimizer before I continue trying to get this to work.