Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Importing NinjaScript

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Importing NinjaScript

    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
    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.
    AustinNinjaTrader Customer Service

    Comment


      #3
      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

      Comment


        #4
        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.
        AustinNinjaTrader Customer Service

        Comment


          #5
          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

          Comment


            #6
            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.
            AustinNinjaTrader Customer Service

            Comment


              #7
              Thanks
              I'll get a fresh copy and try again

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by alifarahani, Today, 09:40 AM
              6 responses
              29 views
              0 likes
              Last Post alifarahani  
              Started by Waxavi, Today, 02:10 AM
              1 response
              17 views
              0 likes
              Last Post NinjaTrader_LuisH  
              Started by Kaledus, Today, 01:29 PM
              5 responses
              13 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Started by Waxavi, Today, 02:00 AM
              1 response
              12 views
              0 likes
              Last Post NinjaTrader_LuisH  
              Started by gentlebenthebear, Today, 01:30 AM
              3 responses
              17 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Working...
              X