![]() |
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jan 2009
Posts: 333
Thanks: 0
Thanked 0 times in 0 posts
|
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? |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
|
Hello,
You can calculate a desired angle and use DrawLine() with the x and y positions: http://www.ninjatrader-support.com/H.../DrawLine.html
Ben
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jan 2009
Posts: 333
Thanks: 0
Thanked 0 times in 0 posts
|
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.
|
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
|
This is unfortunately not directly possible, however you could work with the Gann Fan tool and use the predefined angles.
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SMA angle degree ? | Duval | NinjaScript File Sharing Discussion | 3 | 10-16-2009 04:22 PM |
| Angle, 1/2 angle, 1/4 angle | latkinso | Indicator Development | 2 | 07-16-2009 02:46 PM |
| angle of indicaor | stephenszpak | Indicator Development | 8 | 06-08-2008 02:56 PM |
| Calc an angle? | Burga1 | Indicator Development | 1 | 01-29-2008 09:52 AM |
| Slppe/Angle of indicator | AO76 | Indicator Development | 6 | 07-09-2007 10:22 PM |