Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Upgrading an Indicator

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

    Upgrading an Indicator

    Can I verify the process of upgrading an indicator? If we ship out an exported indicator as a zip (through NinjaTrader's export process), when we need to release an update, can the end-user simply import the new indicator? Or does he or she need to remove the other one first? Or can the DLL simply be replaced?

    Thanks!
    Michael

    #2
    Hi Michael,

    If the name is exactly the same, then you are prompted to overwrite existing files with the same name. If the name is different, then you should instruct the user to delete first so there are not any namespace conflicts.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Hi! I finally got around to trying this. If I export the indicator out using the exact same name (but changing the version number), when I send this to a friend, when he imports the zip, it fails. You get the normal warning message at first, but then the indicator gets this 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 file.
      This fails from a cold start where no connection has been made yet.

      Shouldn't this simply upgrade and replace the files? As you can imagine, if the indicator is used in a number of charts, it is a pain to remove or rem out all references before upgrading.

      Thanks for your help!
      Michael

      Comment


        #4
        Hi Michael,

        If it's an assembly you're exporting, then you should make sure the importing PC does not also have the source files. If you want to see the exact cause of the programming conflict, manually place the dll in My Documents\NinjaTrader 7\bin\custom and add the reference through the NS editor Right Click > References screen.

        When you attempt to compile, it will list the specific errors raised.
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          I will try this. However, the only code that I am shipping is what is created in the ZIP file. No source code is distributed.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          592 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          343 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          103 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          556 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          554 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X