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

External DLL

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

    External DLL

    Hello,

    I have two DLL's with my trading system created in .NET 3.5 C#.

    I have another one compatible with .NET created in Matlab.

    Can I use this external DLL's in Ninja Trading?

    Can I create a Ninja script that call my DLL's and uses its methods?
    By the way, my class libraries also use Jurik DLL's ...

    Thanks,
    Miguel

    #2
    - you can call .NET assemblies in NT. However, please make sure they are .NET 2.0 assemblies
    - you can call native code DLLs in NT

    Unfortunately, details on these issues are beyond what we could provide support. I believe there are some forum threads dealing with that issue. As last resort you could contact a certified NinjaScript consultant: http://www.ninjatrader.com/webnew/pa...injaScript.htm

    Comment


      #3
      Hello,

      In Ninja Trader 7 will I be able to use Net 3.5 libraries?

      Net 2.0 is starting to be a little bit obsolete.

      Thanks,
      Miguel

      Comment


        #4
        Originally posted by NinjaTrader_Dierk View Post
        Unfortunately, details on these issues are beyond what we could provide support.
        But do you have any documentation about it?

        I have no problems with C# as I use it daily but having some docs about ninja trader would be useful.

        Comment


          #5
          - unfortunately we do not provide support in that particular subject
          - there is wealth of documentation on NinjaTrader available e.g. on this forum, in the product itself (just press F1) or on our web site
          - NT7 will be .NET 3.5 based

          Comment


            #6
            Originally posted by NinjaTrader_Dierk View Post
            - unfortunately we do not provide support in that particular subject
            - there is wealth of documentation on NinjaTrader available e.g. on this forum, in the product itself (just press F1) or on our web site
            - NT7 will be .NET 3.5 based
            Hi,

            Any sample code availabile - Ninja script that call DLL's and uses its methods.

            Antony

            Comment


              #7
              Unfortunately there's no sample for this use available, it's doable and users have used it already but we could not offer support for it.
              BertrandNinjaTrader Customer Service

              Comment


                #8
                So, did you manage to find a solution to this? I myself am starting with NJ7 and want to integrate my own .net assemblies in a similar way. Found no documentation or usable examples, although it's pretty clear it can be done.

                If you have a solution, can you give the rest of us some pointers?

                Thanks

                Comment


                  #9
                  It's NT7 as in WIN NT

                  check this out here?..

                  Hi, I'm afraid i don't understand what you are writing. On your page i see info about DDE and no scripts . I'm using chrome. But i'm not looking for DDE or DDE libraries. Simply the code on how to call an external dll from NinjaTrader 7. Lets say i have an dll that does one thing adding two numbers. MyCalc.dll The function is AdUp(nbrfirst as double, nbrSecond as double) as double How can i use the function from the dll in ninjatrader. It could be you answered my question perfectly but …





                  Originally posted by arnonmoscona View Post
                  So, did you manage to find a solution to this? I myself am starting with NJ7 and want to integrate my own .net assemblies in a similar way. Found no documentation or usable examples, although it's pretty clear it can be done.

                  If you have a solution, can you give the rest of us some pointers?

                  Thanks

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Rapine Heihei, 04-23-2024, 07:51 PM
                  2 responses
                  30 views
                  0 likes
                  Last Post Max238
                  by Max238
                   
                  Started by Shansen, 08-30-2019, 10:18 PM
                  24 responses
                  943 views
                  0 likes
                  Last Post spwizard  
                  Started by Max238, Today, 01:28 AM
                  0 responses
                  9 views
                  0 likes
                  Last Post Max238
                  by Max238
                   
                  Started by rocketman7, Today, 01:00 AM
                  0 responses
                  7 views
                  0 likes
                  Last Post rocketman7  
                  Started by wzgy0920, 04-20-2024, 06:09 PM
                  2 responses
                  28 views
                  0 likes
                  Last Post wzgy0920  
                  Working...
                  X