NinjaTrader Support Forum  

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 09-15-2008, 11:40 AM   #1
Mike Winfrey
Senior Member
 
Join Date: Aug 2007
Posts: 310
Thanks: 3
Thanked 2 times in 2 posts
Default Custom Assemblies

Do custom assemblies continue running even though a chart is not displayed that is using the assemblies. I'm wondering because I have a situation where computer perfermance was seriously degraded after installation of a custom assembly. I'm wondering because the problem only started after installation of the custom assemblies and we have not been able to resolve the problem. We removed the custom assemlies this morning and are running without them at the moment to see what effect that has but wanted to check you guys as well.

Thanks,
Mike
Mike Winfrey is offline  
Reply With Quote
Old 09-15-2008, 11:43 AM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

Potentially could be a problem. Especially if resources are not released.
NinjaTrader_Josh is offline  
Reply With Quote
Old 09-15-2008, 11:54 AM   #3
Mike Winfrey
Senior Member
 
Join Date: Aug 2007
Posts: 310
Thanks: 3
Thanked 2 times in 2 posts
Default

Josh,
I understand your answer but you really didn't answer my question. I'll attempt to rephrase...

Let's assume that the assembly is programmed properly so it releases resources as it should.

1. Do assemblies stay active in some way even though there is no active chart with those assemblies loaded?
2. Do assemblies get loaded when NT starts even though you don't load a chart that uses them?

I think the answer to those 2 questions will do the trick. I hope so.

Mike
Mike Winfrey is offline  
Reply With Quote
Old 09-15-2008, 12:16 PM   #4
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

Assemblies are loaded as NT starts. If an assembly holds one indicator and this indicator is never used during an NT session, then its dormant. If it is used and then the indicator removed (no longer in use) then you are at the mercy of the developer of this indicator. Meaning, Josh's repsonse applies.
NinjaTrader_Ray is offline  
Reply With Quote
Old 09-15-2008, 12:21 PM   #5
Mike Winfrey
Senior Member
 
Join Date: Aug 2007
Posts: 310
Thanks: 3
Thanked 2 times in 2 posts
Default

Outstanding...that answers my question completely.

Thank you,
Mike
Mike Winfrey 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
Custom Alert ssg10 Market Analyzer 5 03-16-2009 08:21 AM
Removing Assemblies Mike Winfrey Miscellaneous Support 3 12-18-2008 08:52 PM
Remove Imported NinjaScript Assemblies ooppie Installation and Licensing 1 02-12-2008 10:48 PM
Add Custom Sounds MJT General Programming 4 12-03-2007 06:34 AM
Vendor Assemblies Loaded... randyjb Miscellaneous Support 2 10-22-2007 03:06 PM


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