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 > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 10-16-2011, 10:05 AM   #1
monpere
Senior Member
 
Join Date: Dec 2007
Posts: 310
Thanks: 0
Thanked 5 times in 3 posts
Default Manually removed draw objects still accessible programmatically

When I draw objects manually, then delete all objects manually using the Pencil Drawing Tool-> Remove Drawing Objects, the objects are still accessible programmatically using IDrawObject. Is this the intended design?
monpere is offline  
Reply With Quote
Old 10-16-2011, 12:59 PM   #2
NinjaTrader_AdamP
NinjaTrader Customer Service
 
NinjaTrader_AdamP's Avatar
 
Join Date: Aug 2011
Location: Denver, CO, USA
Posts: 2,895
Thanks: 241
Thanked 375 times in 365 posts
Default

Monpere,

Thanks for your note.

I am unable to replicate this behavior. What version of NinjaTrader are you using? You can check in the Control Center by going to Help > About.

Please let me know if I can assist further.
NinjaTrader_AdamP is offline  
Reply With Quote
Old 10-16-2011, 03:43 PM   #3
koganam
Senior Member
 
Join Date: Feb 2008
Location: Durham, North Carolina, USA
Posts: 3,219
Thanks: 24
Thanked 1,231 times in 1,002 posts
Send a message via Skype™ to koganam
Default

Quote:
Originally Posted by monpere View Post
When I draw objects manually, then delete all objects manually using the Pencil Drawing Tool-> Remove Drawing Objects, the objects are still accessible programmatically using IDrawObject. Is this the intended design?
Did you reload the indicator after you deleted the DrawObjects? You need to refresh the application space before we can be sure of what is happening.
koganam is offline  
Reply With Quote
Old 12-03-2012, 01:12 PM   #4
FHTrader
Junior Member
 
Join Date: Mar 2010
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
Default Are my text saved somewhere in my computer then?

Hi to all,

I have done some annotation texts on my charts. Then I tried to delete the text permanently by clicking/selecting the "Select All" in the "Remove Drawing Objects". Hoping all the drawings and texts are gone forever.
Are those deleted text still stored somewhere in my computer that can be restored later on? I hope not.

Thank you!
David
FHTrader is offline  
Reply With Quote
Old 12-03-2012, 01:20 PM   #5
NinjaTrader_Matthew
NinjaTrader Customer Service
 
NinjaTrader_Matthew's Avatar
 
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,794
Thanks: 160
Thanked 568 times in 559 posts
Default

David,

Thy could be saved in your workspace. If you've saved your workspace after doing so, they should not come back after restarting.
NinjaTrader_Matthew is offline  
Reply With Quote
Old 12-03-2012, 01:28 PM   #6
FHTrader
Junior Member
 
Join Date: Mar 2010
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
Default

Hi Matthew,

Thank you for your kind reply.

So if my charts are NOT saved to the Workspaces, can I still restore the deleting drawing and texts? My intention is to permenently delete the drawing and texts on my charts; so no one can see them later on.

Thank you for your kind reply and help.

David
FHTrader is offline  
Reply With Quote
Old 12-03-2012, 01:32 PM   #7
NinjaTrader_Matthew
NinjaTrader Customer Service
 
NinjaTrader_Matthew's Avatar
 
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,794
Thanks: 160
Thanked 568 times in 559 posts
Default

If you did not save them, they will not be recoverable.
NinjaTrader_Matthew 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
Programmatically draw a global draw object pkinoc Charting 7 01-24-2012 06:42 AM
Programmatically Save and Re apply Drawing Objects Taddypole General Programming 13 08-25-2011 09:13 AM
Draw Objects in a strategy do not go away when strategy is removed snaphook Suggestions And Feedback 3 03-07-2011 08:22 AM
Draw object not being removed.. gg80108 Indicator Development 1 08-12-2010 07:21 AM
Draw Objects SteveB Suggestions And Feedback 1 03-12-2008 07:48 AM


All times are GMT -6. The time now is 11:45 PM.