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

Dreaded Import NinjaScript Fail

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

    Dreaded Import NinjaScript Fail

    Hi Support,

    There have been a few occasions recently where due to customer feedback I have had to update and indicator file re-compile it and send it off to the customer to have it re-installed on their machine. I have requested that the customer has uninstalls the previous package and on every occasion they have received the "Duplicate method names error"

    I am compiling with CII Secure. I don't have any compile errors on my end, and I dont have any issues importing the indicator onto my machine (after removing my working file)

    Please click here to get the compiled file

    Please help.

    #2
    Hello marty087,

    Thank you for your post.

    The file returns the same error on my end when I attempt to import the file by going to File > Utilities > Import NinjaScript.

    So I took the .cs and .dll files out of the .zip and manually placed them into (My) Documents\NinjaTrader 7\bin\Custom > then opened a NinjaScript Editor in NinjaTrader and added the reference to the .dll file needed and compiled. The reason we get the import error is because in your installation you have a .dll that is referenced named 'ZigZagGS', while the users and I do not have this file or reference.

    When exporting protected assemblies from your installation you will need to ensure you have a "clean" installation to export from. This means no other third party .dll files referenced in your installation. Either remove the assembly from your installation and export the protected assembly again or create a new installation to export your assemblies from that does not contain any other assemblies.

    Please let me know if you have any questions.

    Comment


      #3
      Sorted. Thanks Patrick, much appreciated.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by arvidvanstaey, Today, 02:19 PM
      4 responses
      11 views
      0 likes
      Last Post arvidvanstaey  
      Started by samish18, 04-17-2024, 08:57 AM
      16 responses
      58 views
      0 likes
      Last Post samish18  
      Started by jordanq2, Today, 03:10 PM
      2 responses
      9 views
      0 likes
      Last Post jordanq2  
      Started by traderqz, Today, 12:06 AM
      10 responses
      18 views
      0 likes
      Last Post traderqz  
      Started by algospoke, 04-17-2024, 06:40 PM
      5 responses
      47 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X