I have a custom indicator class with many fields that must be initialised when instantiating (and that first custom indicator is often instantiated from other indicators).
Default field values are often good, only for, say, 1 out of 5 cases I would need to specify fields explicitly when instantiating. So I have several overloaded constructors, but Ninja's wrapper does not seem to recognize any of them them: it always generates #region Ninjascript for only two "default" constructors which require all parameters. IntelliSense does not show any of my overloads either. Of course, I would like my overloads to work. It does not make sense to have 20 parameters when an empty constructor would be just fine.
I have seen a post with a similar Q recommending to use #region Variables and [Description("YourDescription")] [GridCategory("Parameters")], which I do use/have. I also tried removing all non-properties from the variables region and it did not help.
So how can I get overloaded constructors to work? Are there some Ninja-specific requirements here?
Thanks for any thoughts on this.
Comment