Can you help me with me the proper script to add a list in the Indicator properties section that I can then populate via the indicator property settings.
I have tried with no success;
[NinjaScriptProperty]
[Display(ResourceType = typeof(Custom.Resource), Name = "list", GroupName = "6. list", Order =1)]
public List<double> Levels { get; set; }
I see the option in properties when i open up the UI but it will not take any inputs.
I guess I have to initiate it this somewhere else in the code, possibly onstatechange but i'm not sure?
Thanks
Comment