the optimiser only shows one line in the Optimizer tab of the SA when you optimise a parameter that is a double and an Enum is defined as a property in the NinjaScript.
In order to make this clear I have created a couple of versions of the SampleMacCrossOver strategy to illustrate the problem. The first one is called "SampleMACrossOverWithDoubleAndWithoutEnum.cs" and it contans a dummyDouble as parameter and an internal Enum (that is not shown in the properties). None of these two variables are used in the strategy logic since they were created to reproduce the problem. If you try an optimisation on this strategy it works fine. You can do it for all parameters, the dummyDouble or the previously existing Slow and Fast parameters.
The second file attached is called "SampleMACrossOverWithDoubleAndEnum.cs". It is exactly the same strategy as the first file but the Enum is visible now as a property. If you try to optimise on slow or fast it will work fine since they both are Integers. However, if you try to optimise on the dumyDouble you will see that NT7B8 will run the optimisation as usual but in the Optimizer tab it will only show one row as optimisation result instead of the 10 rows it should show if it is asked to keep the 10 best results. You will probably need to run 2 times the optimisation on dummyDouble since the first time usually works ok, however the second time you try to optimise on dummyDouble it will systematically show only one row in the Optimizer tab of the Strategy Analyzer. I attach a screen capture to show the optimisation parameters I used and the results I obtained.
Can you please have a look and let me know if you are able to reproduce? By the way, this was working worrently in NT7B2 and stoped working since then.
Thanks for your help.

Comment