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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    81 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    64 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    66 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    54 views
    0 likes
    Last Post CarlTrading  
    Working...
    X