View Full Version : Trendline Angle
rtj4201
04-11-2010, 03:18 PM
Is there currently an Indicator that will plot a trendline with a specified angle? I believe TradeStation does this?
Either free or by one of the script consultants?
NinjaTrader_Ben
04-11-2010, 09:08 PM
Hello,
You can calculate a desired angle and use DrawLine() with the x and y positions:
http://www.ninjatrader-support.com/HelpGuideV6/DrawLine.html
rtj4201
04-11-2010, 09:32 PM
I was thinking in terms of using the graphing tools and dragging and dropping a trendline with the ability to rotate it until I got a specific angle based on some input from the chart.
NinjaTrader_Bertrand
04-12-2010, 06:41 AM
This is unfortunately not directly possible, however you could work with the Gann Fan tool and use the predefined angles.