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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    63 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    91 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    48 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    105 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    63 views
    0 likes
    Last Post PaulMohn  
    Working...
    X