I am a total newbie to ninjascript programming, and I have a total newbie question.
I am developing an indicator, and I want to have an enumerated list as an input parameter. I want this list to show up in the interface of the indicator so users can choose a member of the list that I will then use in my indicator code.
(I don't think I can do this with the wizard since the type of my input parameter is not offered as a choice by the NT indicator setup wizard.)
I am talking about an enumerated list like the "Chart Pattern" parameter in the built-in CandleStickPattern indicator included with NinjaTrader.
I have tried to duplicate what I see in the code of the CandleStickPattern indicator just to get such an input parameter to show up in the interface of my indicator. I have been unsuccessful at even getting an enum parameter to show up in the interface of my indicator at all. I must be missing something.
Just to make it simple, could someone please post the relevant code from the CandleStickPattern indicator that I would need to place in my indicator to get the exact same enum input parameter to show up in the interface to my indicator?
If I can get this simple example working, hopefully I can build on it and get my code working the way I want it to.
Thanks in advance for any help with this question.
Comment