I'm trying to optimize a date in my strategy:
[NinjaScriptProperty]
[PropertyEditor("NinjaTrader.Gui.Tools.TimeEditorKe y")]
[Display(Name="Box Start", Order=1, GroupName="Box")]
public DateTime BoxStart
{ get; set; }
In the same way as I optimize the Take Profit parameter with the "Range" property:
[NinjaScriptProperty]
[Range(0, double.MaxValue)]
[Display(ResourceType = typeof(Custom.Resource), Name="Tp", Order=1, GroupName="Bet Size")]
public double Tp
{ get; set; }
But I can't find how to do it. I can't choose the date rage, nor the delta in the strategy analyser.
How can I achieve that?
Thanks

Comment