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 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
        68 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        55 views
        0 likes
        Last Post CarlTrading  
        Working...
        X