![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Charting Support for NinjaTrader Advanced Charting. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Apr 2007
Location: , ,
Posts: 8
Thanks: 0
Thanked 1 time in 1 post
|
Hi,
Is it possible to allow the draw of line segments (not only rays) in the right free space of the chart (outside price bars) ? For what I could understand, this is only possible with rays, but line segments are also very important. This is a very important feature for me. How possible is to allow this in the software ? Best Regards, Pepe. |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
This is not supported right now, but will be supported by fall time.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Apr 2007
Location: , ,
Posts: 8
Thanks: 0
Thanked 1 time in 1 post
|
Ok.. thank you.
|
|
|
|
|
|
#4 |
|
Senior Member
|
Hello, anyone could help on this. I have attached an image of the output what I want. I want to draw a line that will start at the current bar as illustrated in the arrow of the attached image then it will continue to draw until 8 bars next. Or anyone can tell me what font is being used in plotting the line in the attached image that is next to the label "target"? Thanks.
![]()
|
|
|
|
|
|
#5 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,411
Thanks: 252
Thanked 976 times in 959 posts
|
luxurious_04, unfortunately we would not know which font type is being used here, I suggest you try a few widespread ones and compare - for the line you could drawn into the future by supplying a future DateTime and anchor, or you keep count where you started the line and then redraw one bar longer each bar to make it extend as time progresses.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#6 |
|
Senior Member
|
Give a sample code of what you said Bertran please. Just a tip or guide for me to do "or the line you could drawn into the future by supplying a future DateTime and anchor, or you keep count where you started the line and then redraw one bar longer each bar to make it extend as time progresses".
![]()
|
|
|
|
|
|
#7 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,411
Thanks: 252
Thanked 976 times in 959 posts
|
You can try for example this simple snippet - drawing to an endpoint 10 mins into the future.
Code:
DrawLine("line1", true, Time[0], High[0] + 10 * TickSize, Time[0].AddMinutes(10), Close[0], Color.Blue, DashStyle.Solid, 3);
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#8 |
|
Senior Member
|
Thanks Bertran, I just wanna ask if how to get the stop loss of the ATM strategy?
|
|
|
|
|
|
#9 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,411
Thanks: 252
Thanked 976 times in 959 posts
|
Unfortunately you could only access the status of the stop and target orders - http://www.ninjatrader.com/support/h...gy_methods.htm
You can keep track of the current value though, as you know the entry, know the stop / target parameters of the template applied and you know also when you moved the stop / target programmatically.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#10 |
|
Senior Member
|
Anyone could help me on how to draw a tangent line? I have a slope value and I want to draw a tangent line out from it.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Getting draw object information | SuzyG | Strategy Development | 3 | 05-22-2008 01:37 PM |
| Line "names" in Indicator Box change to "Line" after modification | higler | Charting | 3 | 05-02-2007 06:05 AM |
| Indicator disappears after Remove All Draw Objects | rtrader | General Programming | 3 | 04-13-2007 06:23 AM |
| Draw to the right of the current bar on a chart | ThePatientOne | Indicator Development | 4 | 03-29-2007 07:46 AM |
| No Luck With Draw Methods | lewdfinger | Indicator Development | 8 | 02-12-2007 01:12 AM |