NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 02-06-2011, 07:30 AM   #1
freewind
Senior Member
 
Join Date: Jan 2010
Posts: 273
Thanks: 15
Thanked 4 times in 3 posts
Default Error Using Add()

Hi,

I'm trying to load automatically a list of instruments to my correlation indicator and I get the following error message for each unrecognized instrument:
Quote:
The indicator 'zCorrelationScanner' has called the Add() method with an invalid instrument. Either 'EXTR' does not exist in the Instrument Manager or the specified exchange has not been configured.
When I load EXTR ticker to the chart it load with no problem and then when I want to load it again automatically to the indicator the error doesn't repeat itself.

Is there a way to configure many ticker at once, for example all NASDQ stocks?

Thank in advance,
P.s. attached the error log
Attached Images
File Type: jpg NTAddError.JPG (233.0 KB, 7 views)
freewind is offline  
Reply With Quote
Old 02-06-2011, 12:55 PM   #2
NinjaTrader_Austin
NinjaTrader Customer Service
 
NinjaTrader_Austin's Avatar
 
Join Date: Jun 2009
Location: Denver, CO
Posts: 3,149
Thanks: 10
Thanked 89 times in 81 posts
Default

freewind, have you added EXTR to the instrument manager?
NinjaTrader_Austin is offline  
Reply With Quote
Old 02-06-2011, 12:56 PM   #3
NinjaTrader_Austin
NinjaTrader Customer Service
 
NinjaTrader_Austin's Avatar
 
Join Date: Jun 2009
Location: Denver, CO
Posts: 3,149
Thanks: 10
Thanked 89 times in 81 posts
Default

There is an unsupported method for adding many instruments to the instrument manager at once. Please search the forum for "instruments.txt" to see how.
NinjaTrader_Austin is offline  
Reply With Quote
Old 02-06-2011, 01:23 PM   #4
freewind
Senior Member
 
Join Date: Jan 2010
Posts: 273
Thanks: 15
Thanked 4 times in 3 posts
Default

Thanks Austin for yet again amazing support!
freewind 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
NT7B6 add new stock exception error nailz420 Version 7 Beta General Questions & Bug Reports 3 01-04-2010 10:26 PM
Error received when trying to add an additional plot suprsnipes Indicator Development 2 11-08-2009 06:32 PM
ERROR: Failed to call 'Add' method for period type 'Tick' RK_trader Miscellaneous Support 24 06-04-2009 05:49 AM
Compiling Error CS1501 -> Add Method TheChingachgook General Programming 3 08-06-2008 04:37 AM
Add a PlaySound() compilation error Jim W. Suggestions And Feedback 3 01-24-2008 08:35 PM


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