Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Assembly file

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

    Assembly file

    I have an indicator I wanted to share with someone, but didn't want him to be able so see my source code, so I went to File->Utilities->Export, selected, "Export compiled assemble of selected source files", moved the selected file to the right hand box, and clicked on export.

    Before sending it to him, I wanted to test the file by importing it back into my own NT. When I did this, I got the two following error messages,

    "OneLDom2.1, Manco.Licensing.34.Full, NinjaTrader.OFA have to be added to use the products in the imported assembly."

    and

    " 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."

    The assembly file I created has a unique name, not already in my PC, and the code contained within it makes no references to any other files, DLLs, or scripts at all.

    This is the first time I have tried to do this, can you tell me what I'm doing wrong, or why this won't work?

    Thanks,

    Safetrading

    #2
    Originally posted by safetrading View Post
    " 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.

    Safetrading
    The message means what it says. You have the source of the indicator in your NT file tree, and you are trying to import the compiled indicator into the same tree, so you would have method name duplication.

    Either use a Virtual Machine or another physical machine for your development, separate from the machine on which you test, or else backup and delete your source files, before testing the import, then remove the assembly and restore your source if you wish later.

    Whatever you choose to do, you cannot import your compiled indicator to a system that contains the source of said indicator.

    Personally I run NT on 3 separate VM's: one for development; one for testing; one for trading. The trading VM runs NOTHING other than NinjaTrader, not even a browser, or antimalware, because it never accesses anything other than NinjaTrader's or brokers' servers. It has the further benefit of being behind 2 separate firewalls: one generated by the VM itself's NAT router, and the other the physical router that is in front of my modem.
    Last edited by koganam; 01-19-2014, 01:03 PM. Reason: Corrected punctuation.

    Comment


      #3
      koganam...which flavor of VM are you using for trading with NT?

      Thanks!

      Comment


        #4
        wasn't using an VM. This was the first time I had converted an indicator into an assembly and I overlooked the fact that while I gave the assembly a new name, the name embedded in the indicator was identical to one already on my machine. So I removed the original one and it worked just fine.

        Safetrading

        Comment


          #5
          Originally posted by Prov1322 View Post
          koganam...which flavor of VM are you using for trading with NT?

          Thanks!
          VirtualBox, 3MB memory, Windows XP SP3, 2 virtual screens, 128MB video memory.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          69 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          42 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          24 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          27 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          54 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X