PreSessionStart = DateTime.Parse("9:00 AM"); [NinjaScriptProperty] [Display(ResourceType = typeof(Custom.Resource), Name="PreSessionStart", Description="Opening time of pre-session", Order=1, GroupName="NinjaScriptStrategyParameters")] public DateTime PreSessionStart { get; set; }
PreSessionStart 09/03/2016
...with a calendar widget to pick a date. How do I change this parameter definition so it will only accept a valid time value? I tried messing with the get/set code, but really screwed up NT8 to where it would not even open up the Strategies window! :-)
Thanks!
Bryan
Comment