Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to publish an update for a compiled indicator

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

    How to publish an update for a compiled indicator

    I have distributed an indicator in compiled format. Today I made a small change and I went to update it and ran into some problems. Let's say I make my original indicator named X version 1.0. there'll be a zip file named X1.0 (I put the version number in the exported name) and it'll contain DLL & CS files X1.0.cs and X1.0.dll.

    Now let's say I make a change. I would like to make the version 1.0.0.1. I tried to do that and generated a zip file with dll & cs X1.0.0.1.cs & X1.0.0.1.dll. When I import it I get an error about duplicate names. I see in the bin directory that it has the old one and the new one. I couldn't just delete the old one without removing the reference to it by opening up a random indicator. All that is a bit complicated for end users to do.

    So I repackaged my indicator using X1.0 and then just renamed the zip file. this way it gets imported and ovewrites the original version. I did put 1.0.0.1 for the DLL version.

    Is this the best way to do it?

    Thanks

    #2
    cunparis, that is probably the best way to do it. Without seeing the exact error, I'm guessing it came from having a duplicated class name (The namespace NinjaTrader.Indicator already contains a definition for ______). Overwriting the old version would do the trick.
    AustinNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    598 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
    555 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X