Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Call one indicator from an indicator in a different package

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

    Call one indicator from an indicator in a different package

    Hello,
    I have two indicator packages. Let's call them A and B.. I recently added an indicator to package B which calls an indicator from package A. During the export of package B, I was informed that the indicator from package A was being included. The export completed successfully. However, when users try to import the new package B, they get a number of error messages with error code CS0433 saying that the called indicator exists in both packageA.dll and packageB.dll.
    Is the easiest way to resolve this just to include a copy of the called indicator in package B, or is it possible to retain the current structure of the two packages?
    Thanks

    #2
    Hello Scotty33,

    Exclude the host class from compilation. Export the symbiote class as an assembly first. Import the symbiote assembly. Then export the host class with a reference to the assembly for the symbiote class. Manually add the symbiote assembly to the export .zip file.

    Below is a link to a video that demonstrates.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    668 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    377 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    110 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    575 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    580 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X