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 cmoran13, 04-16-2026, 01:02 PM
    0 responses
    43 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    25 views
    0 likes
    Last Post PaulMohn  
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    163 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    98 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    158 views
    2 likes
    Last Post CaptainJack  
    Working...
    X