![]() |
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
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Apr 2009
Posts: 208
Thanks: 0
Thanked 4 times in 3 posts
|
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" ? |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,384
Thanks: 252
Thanked 967 times in 950 posts
|
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.
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |