I need some help. I am having trouble using the Optimize feature on a double that increments in 0.1 values.
I have this code:
[Description("Sig 2L Keltner val1")]
[Category("Parameters")]
public double Keltnerch1
{
get { return keltnerch1; }
set { keltnerch1 = Math.Max(0.1, value); }
}
The optimization results always show either the 0.1 value, or 1.0 value, there is never any other results.
I am missing something. It should be noted I successfully am using optimization with int values, it is only double values that are giving me pause.
Help is appreciated!
Thanks,

Comment