Announcement

Collapse
No announcement yet.

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 sjsj2732, 03-23-2026, 04:31 AM
      0 responses
      71 views
      0 likes
      Last Post sjsj2732  
      Started by NullPointStrategies, 03-13-2026, 05:17 AM
      0 responses
      313 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      310 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      147 views
      1 like
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      111 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Working...
      X