Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Importing Assembly

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

    Importing Assembly

    I just purchased RemotSoft's Protector to protect my custom strategy. However, after the export which seems to work just fine, I can't figure out how to "install" it on another computer.

    I am trying to Import the strategy from File>Utilities>Import. I select the zip file that was created, but the import says there are no files in the archive.

    What am I doing wrong here? Do I need to create a generic strategy that uses the reference to my assembly?

    Thanks,

    -Scott

    By the way, thanks for working out special pricing for the Protector. That's a huge savings...

    #2
    Let's make sure we are on the same page:
    - you created an export archive which definitely held at least 1 custom (!) indicator and/or strategy
    - you then transfered this archive to a different machine
    - as you there tried to import the archive it gave error below?

    Note: import on the same machine does nothing since indicators/strategy already is there

    Comment


      #3
      Ahh, maybe that's my problem. I exported the custom strategy using a different name than the original. Then I tried to import it on *the same* machine - then got the error that there were no files in the archive.

      I can see my custom DLL in the archive file, but it is the only file in it. Does it know that it's already there even though I exported the strategy as a different name?

      -Scott

      Comment


        #4
        Not sure I follow: You can not export the strategy at a different name. The name you provide on export is the name of the hosting assembly but not of the startegy (strategy name is maintained).

        Comment


          #5
          That's probably it then. If the steps I am taking to import the strategy are correct, then I will try on a different machine.

          Thanks for the quick help...

          -Scott

          Comment


            #6
            You're welcome.

            Comment


              #7
              Dierk,

              I tried installing my strategy on a new machine. I got the exact same error - "The NinjaScript Archive File does not contain any NinjaScript files"

              Why is this not working? Please walk me through the steps to import a compiled Strategy assembly onto another machine.

              Thanks,

              -Scott

              Comment


                #8
                Please mail your export archive to "christian AT ninjatrader DOT com" and reference this post.

                Comment


                  #9
                  Hi CashCache !

                  Unfortunately there was an bug introduced, which doesn't allow the import of "strategy-only" export assemblies, exported with NT6.5B5 or later.

                  The bug is fixed and the fix will be available in the next beta of NT6.5.

                  In the meantime we recommend as workaround, to create and empty indicator (e.g. 'VoidInd') and include this to your export archive on export. This works on import.

                  Sorry for the inconvenience,
                  Christian
                  ChristianSenior Software Developer

                  Comment


                    #10
                    Christian,

                    That did the trick. Thanks for the workaround!!

                    -Scott

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                    0 responses
                    558 views
                    0 likes
                    Last Post Geovanny Suaza  
                    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                    0 responses
                    324 views
                    1 like
                    Last Post Geovanny Suaza  
                    Started by Mindset, 02-09-2026, 11:44 AM
                    0 responses
                    101 views
                    0 likes
                    Last Post Mindset
                    by Mindset
                     
                    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                    0 responses
                    545 views
                    1 like
                    Last Post Geovanny Suaza  
                    Started by RFrosty, 01-28-2026, 06:49 PM
                    0 responses
                    547 views
                    1 like
                    Last Post RFrosty
                    by RFrosty
                     
                    Working...
                    X