I guess, this should be a simple questions for most of you guys, yet find no answer to this.
I hope someone out there might help me and give me a short answer. I'd be quite thankful.
I want to create a custom Indicator. Yet, when I create my own Class under the namespace:
NinjaTrader.NinjaScript.Indicators .... why can't I use the piece of Information like the: Bars.GetHigh?
the "Using" includes the: NinjaTrader.Data ... which, I thought, gives access to the Bars information, yet why can't I enter this Bars information?
The Ninja Script Help Guide says that you can't just use, for example, "High[2]" out of the OnBarUpdate-EventHandler, you need to use the Bars.GetHigh() Method,
but it doesn't work. So How can I access the Bars Data Information when using my own class?
Comment