Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 bmartz, Today, 09:30 AM
        2 responses
        11 views
        0 likes
        Last Post bltdavid  
        Started by f.saeidi, Today, 11:02 AM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by geotrades1, Today, 10:02 AM
        4 responses
        12 views
        0 likes
        Last Post geotrades1  
        Started by rajendrasubedi2023, Today, 09:50 AM
        3 responses
        16 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by lorem, Today, 09:18 AM
        2 responses
        11 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X