NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > Application Technical Support > Charting

Charting Support for NinjaTrader Advanced Charting.

Reply
 
Thread Tools Display Modes
Old 07-09-2007, 07:10 AM   #1
PepeIlegal
Junior Member
 
Join Date: Apr 2007
Location: , ,
Posts: 8
Thanks: 0
Thanked 1 time in 1 post
Default Draw line segments

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.
PepeIlegal is offline  
Reply With Quote
Old 07-09-2007, 07:25 AM   #2
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

This is not supported right now, but will be supported by fall time.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 07-09-2007, 07:27 AM   #3
PepeIlegal
Junior Member
 
Join Date: Apr 2007
Location: , ,
Posts: 8
Thanks: 0
Thanked 1 time in 1 post
Default

Ok.. thank you.
PepeIlegal is offline  
Reply With Quote
Old 01-31-2011, 07:52 PM   #4
luxurious_04
Senior Member
 
Join Date: Jul 2010
Location: Philippines
Posts: 248
Thanks: 7
Thanked 6 times in 4 posts
Send a message via Skype™ to luxurious_04
Default

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.
Attached Images
File Type: jpg draw line.JPG (6.3 KB, 21 views)
luxurious_04 is offline  
Reply With Quote
Old 02-01-2011, 06:18 AM   #5
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,411
Thanks: 252
Thanked 976 times in 959 posts
Default

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.
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 02-01-2011, 07:42 PM   #6
luxurious_04
Senior Member
 
Join Date: Jul 2010
Location: Philippines
Posts: 248
Thanks: 7
Thanked 6 times in 4 posts
Send a message via Skype™ to luxurious_04
Default

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".
luxurious_04 is offline  
Reply With Quote
Old 02-02-2011, 08:19 AM   #7
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,411
Thanks: 252
Thanked 976 times in 959 posts
Default

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);
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 02-02-2011, 11:30 PM   #8
luxurious_04
Senior Member
 
Join Date: Jul 2010
Location: Philippines
Posts: 248
Thanks: 7
Thanked 6 times in 4 posts
Send a message via Skype™ to luxurious_04
Default

Thanks Bertran, I just wanna ask if how to get the stop loss of the ATM strategy?
luxurious_04 is offline  
Reply With Quote
Old 02-03-2011, 07:05 AM   #9
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,411
Thanks: 252
Thanked 976 times in 959 posts
Default

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.
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 09-27-2011, 11:22 PM   #10
luxurious_04
Senior Member
 
Join Date: Jul 2010
Location: Philippines
Posts: 248
Thanks: 7
Thanked 6 times in 4 posts
Send a message via Skype™ to luxurious_04
Default

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.
luxurious_04 is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 02:42 PM.