I try to get date and time in the proprieties indicator of my indicator.
If i use
MyDateTime = new DateTime(2020, 2, 10, 16, 00, 0);
MyDateTime = new DateTime(16, 00, 0);
TimeSpan timeSpan = new TimeSpan(2, 14, 18);
How do i only get the time or both, does it have to do with the proprieties scipt?
[NinjaScriptProperty] [PropertyEditor("NinjaTrader.Gui.Tools.ChartAnchorT imeEditor")] [Display(Name="MyDateTime")] public DateTime MyDateTime { get; set; }
Comment