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

Location of 3rd Party DLLs

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

    Location of 3rd Party DLLs

    I am creating a DLL to interface between NT (7.0) and a strategy development application I am developing in c#. I have added a reference to the DLL which is located in my development environment. Do I need to copy the interface DLL into NT7 environment e.g. \Users\Pauluk\Documents\NinjaTrader 7\bin\Custom for it to work or should it work when referenced in my development environment?
    Thanks for your help and a really good application too . . .

    #2
    Hi Paul, thanks for the kind words - best would be in the custom folder with a NinjaScript editor reference, then restart NT fresh so it loads them and you should be able to work with them.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thanks Bertrand.
      Clearly I am doing something wrong here because NT does not "recognise" my DLL (eg. I cannot access the class in it) so I must be constructing or compiling the DLL incorrectly. Are there any examples or template DLL code that I can use to get me started please?

      Comment


        #4
        pauluk,

        Unfortunately we do not have any templates or samples of custom DLLs.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          I found the reason for the DLL not being recognised - I was compiling it for .NET v4.0, when I compiled it for 3.5 it worked.

          Comment


            #6
            Thanks for sharing and glad to hear it works now for you.
            BertrandNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by judysamnt7, 03-13-2023, 09:11 AM
            4 responses
            59 views
            0 likes
            Last Post DynamicTest  
            Started by ScottWalsh, Today, 06:52 PM
            4 responses
            36 views
            0 likes
            Last Post ScottWalsh  
            Started by olisav57, Today, 07:39 PM
            0 responses
            7 views
            0 likes
            Last Post olisav57  
            Started by trilliantrader, Today, 03:01 PM
            2 responses
            21 views
            0 likes
            Last Post helpwanted  
            Started by cre8able, Today, 07:24 PM
            0 responses
            10 views
            0 likes
            Last Post cre8able  
            Working...
            X