Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Two indicators using two different dll reference versions

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

    Two indicators using two different dll reference versions

    Hello,

    I've got a problem with a customer.
    He has downloaded another indicator that uses the same reference dll as mine but with a different version which causes huge problem.
    What would be the fix to this problem ?

    I thought about renaming the dll but I think it will cause more harm than anything else.

    Thanks for your help !

    #2
    Is the other indicator using a more recent version of the 3rd-party DLL library?
    If so, maybe upgrade your indicator to that same version?

    Comment


      #3
      Yes but doing so causes the problem mentioned above. I am using an older version but it fits for what I need. The upgraded version has probably changed the earlier behavior that works well for me.

      Comment


        #4
        Hello blar58,

        C# does not allow the same class name multiple times in the same namespace.

        If there is another script using a class name that is in your script, you will need to either:

        1. Copy the indicator and give a new unique name for the indicator class name.

        OR

        2. Have the client remove the other script.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        71 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        152 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        162 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        100 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        288 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X