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 > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 09-09-2009, 08:54 AM   #1
xTrader1
Senior Member
 
Join Date: Apr 2009
Posts: 208
Thanks: 0
Thanked 4 times in 3 posts
Default Remove programatically objects drawn from menu.

Hi,

How to remove from my program a drawing object created by "drawing tools" menu , not by the code ? I suppose this question is equivalent to the question : "what is a tag of a given object, drawn from drawing tools" ?
xTrader1 is offline  
Reply With Quote
Old 09-09-2009, 09:00 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,384
Thanks: 252
Thanked 967 times in 950 posts
Default

XTrader, unfortunately not supported in 6.5 - but we plan to offer access to those in NinjaTrader 7 - http://www.ninjatrader.com/webnew/NT7/NinjaTrader7.html

Draw Objects Enhancements
Draw objects are now associated to an indicator which means that if a user removes a draw object from the chart, it will also remove the indicator. In addition, all draw objects spawned from an indicator share the indicator's z-order.

IDrawObject - IDrawObjects are now returned to the caller on all Draw() methods. IDrawObjects expose draw objects properties.

Work in progress - We will implement programmatic access to draw objects added to a chart manually. For example, you can have a user draw a line on a chart and add a "tag" to this object and you can retrieve this object, read it's value and do something with it.
NinjaTrader_Bertrand 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
Making Drawn Objects Unselectable? darckeen Indicator Development 1 03-13-2009 01:27 PM
Grouping drawn objects together Shansen General Programming 1 03-10-2009 07:13 AM
Making Drawn Objects Persist timefreedom General Programming 3 01-14-2009 12:22 PM
Depth for drawn objects cls71 Suggestions And Feedback 1 04-03-2008 01:38 AM
Remove Drawn Objects MAX Indicator Development 11 09-24-2007 05:13 PM


All times are GMT -6. The time now is 12:18 AM.