![]() |
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: Jun 2007
Posts: 112
Thanks: 0
Thanked 0 times in 0 posts
|
If I created a bunch of draw objects with the same name, does ninja trader automatically remove the previous objects from memory or do you have to call the RemoveDrawObject to free up the memory?
|
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
When you add a draw object with the same name I believe it just modifies the previous instance instead of creating a new one so there should be no memory issue.
|
|
|
|
|
|
#3 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
This is correct understanding.
Ray
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Memory Leak? | NinjaTrader_Josh | Suggestions And Feedback | 10 | 08-06-2007 12:36 PM |
| Drawing Objects Disappear with Reload NinjaScript | Bruce_Medford_OR | Charting | 5 | 05-31-2007 09:07 AM |
| Indicator disappears after Remove All Draw Objects | rtrader | General Programming | 3 | 04-13-2007 06:23 AM |
| Positioning of Manually Drawn Objects | whitmark | Charting | 1 | 03-27-2007 05:59 AM |
| Memory Buildup | Alfred | Miscellaneous Support | 1 | 08-08-2006 06:14 AM |