I have 2 variables in a strategy and for some reason i can optimize/increment the 1st variable but for the second i can't optimize it. it's really strange because i have declared the variables exactly the same way like this:
[Range(1, int.MaxValue)]
[NinjaScriptProperty]
[Display(Name="Period", Order=0, GroupName="Parameters")]
public int Period
{ get; set; }
[Range(1, double.MaxValue)]
[NinjaScriptProperty]
[Display(Name="target multi", Order=1, GroupName="Parameters")]
public double TgMulti
{ get; set; }

Comment