I've always disliked how properties are set up in NT8, the properties are set right at the bottom of the file, and the defaults are set inside State == State.SetDefaults at the top of the file, so much scrolling or navigation if a program gets too big, even worse I see it's common for some to use the property with a backing field, that's like 10 - 14 lines for a single property as I've seen in some cases.
Now with .NET 8 we can do the following, but I'm not sure if this can bring some unintended consequences with the UI or the bots/indicators, so far, I haven't seen a problem, would like to get some feedback if this is allowed now:
[NinjaScriptProperty, Display(Name = "Set Profit Target", Order = 14, GroupName = "Target")] public bool PropProfitTarget { get; set; } = true;
Comment