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 07-14-2007, 10:51 AM   #1
Momentum
Junior Member
 
Join Date: Dec 2004
Location: , ,
Posts: 15
Thanks: 0
Thanked 0 times in 0 posts
Default Error - Can't Import Script

I am trying to import a script written by someone elsebut I get an error.

I go to UTILITIES/ IMPORT NINJASCRIPT and get a warning about a trusted source, click OK and then I get a second warning: "You have custom Ninjascript files on your PC that have programming errors. These errors must be resolved before you can import a Ninjascript Archive File"

I click OK and am back to the Control centre and cannot do anything more.

I cannot see what is causing the error. When I delete the script from the PC, I still get the error. I have tried it on a second pc with the same results.
Momentum is offline  
Reply With Quote
Old 07-14-2007, 12:03 PM   #2
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

- Start NinjaTrader
- Tools > Edit > NinjaScript (open any file)
- The NinjaScript Editor will open, press F5 to compile
- This will generate a list of errors at the bottom of the NinjaScript Editor
- Each error will be listed with the file name the error is in, you now need to fix these programming errors
- Double clicking on each error will open the file with the error in the NinjaScript Editor
NinjaTrader_Ray is offline  
Reply With Quote
Old 07-14-2007, 12:06 PM   #3
whitmark
Certified NinjaScript Consultant
 
Join Date: Nov 2005
Location: Virginia, USA
Posts: 441
Thanks: 0
Thanked 12 times in 7 posts
Send a message via Skype™ to whitmark
Default

Thanks Ray . . . I was able to assist Momentum using the same process you describe to find the errant indicator that was preventing the import. All fixed!

Regards,

Whitmark
whitmark 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
Import/Export ninjaScript MrBaffalo Miscellaneous Support 7 10-18-2010 07:19 AM
Historical Import EOD mydet Miscellaneous Support 3 04-01-2008 05:33 AM
Is there a way to bulk import a list of instruments? zoltran Miscellaneous Support 8 01-10-2008 10:15 PM
Bug in either Help or HistoricData import Moog Suggestions And Feedback 5 02-04-2007 12:00 AM
help with data import max1ci6 Miscellaneous Support 8 01-17-2007 01:00 AM


All times are GMT -6. The time now is 06:56 AM.