I'm interested in trying to program/translate an indicator into NinjaTrader. In the past I have done some programming in TradeStation, but Ninja's language is a different animal than what I'm used to (Pascal/Delphi). Anyway, I don't expect you to make the indicator for me, but I do need to ask you how one certain thing is done in Ninja language... or if it can even be done at all.
This indicator I wish to write is a Gann Fan/SpeedLines type of thing. I have the TradeStation code and just wish to translate it - shouldn't be terribly hard. It requires the user to label (using the "Text Tool") 3 pivots on a chart - a high, a low, and a high (like a "V" pattern).... or a low, a high, and a low (like an "inverted V"). In TS, the user can label these points, say A, B, and C... and then applies the indicator and the indicator
detects the A,B, and C and proceeds to make its calculations based on these pivots and draws the lines. Basically, what I just need to know is, can I do the same thing in NinjaTrader... and if so, do you think you could give me a basic "skeleton" of Ninja code on how this "detection of text labels" would be done within an indicator?
Thanks!
Shawn
Comment