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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    35 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    12 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    18 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    20 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X