I created a NinjaScript Strategy to attempt to get some of the code for an indicator I'm wanting to put together.
I am still learning NinjaScript and C#.
The Strategy code screenshot that is attached should show what I'm trying to do, in regards to the indicator I want to create.
I am assuming that I will need to use the Strategy 'if Statements' code in the OnBarUpdate() section for my indicator. Is that correct?
And to add the indicators to be analyzed to my new indicator, I am assuming that I would need to add the State == State.State.DataLoaded 'else if' code on my Strategy, to my indicator, is that correct?
Would I also need to add the 'private' code in the 'public class' that is shown in my Strategy screenshot, to my indicator?
Anything else I would need to add to my new indicator to get it to work?
Thanks,
Comment