I was wondering if anybody had any idea on how to program specifically ascending triangles, descending triangles and symmetrical triangles in NinjaTrader?
Basically I know it is just 2 trendlines. However, it is more complex because the trendlines have to hit very close to certain points like swing lows or swing highs.
An example of what I would like to do is this ascending triangle example. Actually it is not even a big deal right now to call them symmetrical vs ascending triangles. I just want to know how to draw the lines.
I guess the place to start is looking at the source code of a trendline indicator and go from there.