I'm learning staff with the pass of the time...
And I would like to customize my parameters.
I can't find in any code like, "optional" values. Example, i want to put a GroupName for "Lines", and that's just visual. I don't want it to ask me everytime about "Lines", which i won't use if it's pure code and nothing visual.
For example:
ind = Indicator(5);
[NinjaScriptProperty] [Display(Name = "Period", Order = 1, GroupName = "01. Parameters")] public int Period { get; set; }
[NinjaScriptProperty] [Display(Name = "Period", Order = 1, GroupName = "01. Parameters")] public int Period { get; set; } [NinjaScriptProperty] [Display(Name = "UpperLine", Order = 2, GroupName = "02. Lines")] public int Upper { get; set; } [NinjaScriptProperty] [Display(Name = "LowerLine", Order = 3, GroupName = "02. Lines")] public int Lower { get; set; }
I hope you can help me.
Thanks for your time.
Comment