![]() |
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Jul 2010
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
|
I am having difficulty importing a NinjaScript onto NT 7. When I attempt to import it I get the following message:
'Import failed. The NinjaScript Archive File may contain duplicate method names that already exist on your PC or there is a required file missing on either your PC or in the import archive.' Please help! |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Jun 2009
Location: Denver, CO
Posts: 3,149
Thanks: 10
Thanked 90 times in 82 posts
|
howorb, to see which script is causing the trouble, please go to Tools -> Edit NinjaScript -> Indicator, double-click on any indicator and then once the editor appears, right-click in the editor and select compile.
At this point, there will be errors at the bottom. You can double-click on the error to try and correct it, or you can go back to Tools -> Edit NinjaScript -> Indicator (or Strategy if it is a strategy) and then delete the offending script.
Austin
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Oct 2008
Posts: 70
Thanks: 1
Thanked 2 times in 2 posts
|
Hi - I just installed NT7 for the first time (NT 6.5 is already on my machine)
I am getting the same error. The archive file contains a .dll, a .cs and a .xml file. Is there a way to unpack the .zip file manually and try to edit the .cs file? I cannot seem to move the .cs into the indicators section or the .dll to bin/custom from the .zip file just errors out |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Jun 2009
Location: Denver, CO
Posts: 3,149
Thanks: 10
Thanked 90 times in 82 posts
|
mgabriel01, where did you get the script from? You can ask the author to provide you with an updated version. You should be able to just drop the .cs file into the My Documents/NinjaTrader 7/bin/custom/indicator folder and put the .dll into the the /bin/custom folder and compile it. Once you have the script in the /indicators folder, you can open it up either via Notepad or through NinjaScript and edit it however you want.
Austin
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Member
Join Date: Oct 2008
Posts: 70
Thanks: 1
Thanked 2 times in 2 posts
|
Yeah - I have done that in the past
Perhaps my archive (.zip) file is messed up? I cannot open the .zip manually and move the files out of it Is there a manual unzipper for that file? the standard windows unzipper does not work on it |
|
|
|
|
|
#6 |
|
NinjaTrader Customer Service
Join Date: Jun 2009
Location: Denver, CO
Posts: 3,149
Thanks: 10
Thanked 90 times in 82 posts
|
mgabriel01, yes it does sound like the .zip archive could be corrupted, since you can't even open it. The .zip format is a standard and if the Windows unzipper can't open it, I doubt any other programs will be able to open it either.
Austin
NinjaTrader Customer Service |
|
|
|
|
|
#7 |
|
Member
Join Date: Oct 2008
Posts: 70
Thanks: 1
Thanked 2 times in 2 posts
|
Thanks
I'll get a fresh copy and try again |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| error when back up and seems similar error when importing ninjascript .zip file | MoreYummy | Miscellaneous Support | 6 | 06-22-2010 04:30 PM |
| Error importing Ninjascript on NT 6.5 | shadowfax | General Programming | 1 | 06-13-2010 06:53 PM |
| Importing NinjaScript File Trouble | CRCatNinja | General Programming | 14 | 06-03-2010 08:44 AM |
| Trouble importing Ninjascript from v6.5 | cassb | Version 7 Beta General Questions & Bug Reports | 3 | 10-20-2009 11:45 AM |
| importing | bohurst | Suggestions And Feedback | 1 | 04-14-2005 06:13 PM |