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

DLL support

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

    DLL support

    This question may have been asked before; but I cannot find an example. So, if you know one, please, send me the link. Basically I need to upload a DLL with a library of classes/functions and have access to these objects. How do I do that in NinjaTrader?
    I had not used NinjaTrader in a long time; but I think at some point I saw an example of that somewhere in the documentation. If that is correct, again, please, send me the link.
    Thanks

    #2
    Hello,

    Thank you for the question.

    Are you asking how to install a third party DLL file or are you asking how to create one?



    If you are asking how to install a DLL into NinjaTrader please see the importing section from the link above.

    If you are trying to create an assembly of your custom NinjaScript items, please see the distrubution options from the above link.

    The only documentation we have related to import / export.


    If you are looking for information regarding doing this outside of NinjaTrader as in creating your own assemblies from files outside of NinjaTrader, there is no documentation for this as it is unsupported.

    Please let me know if I may be of additional assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      thanks for your reply. I need to use a third party DLL in my strategy and indicators.
      Thanks again!

      Comment


        #4
        Thank you for the reply.

        As long as the item is installed in NinjaTrader you should be able to use / reference the assembly depending on what you are trying to do.

        If you are looking to use an assembly .net DLL, you will need to reference the assembly also by right clicking in a NinjaScript window and selecting references and then adding the DLL. This would apply to just about any dll that you manually copy into your Documents\NinjaTrader 7\bin\Custom directory,

        Once you compile the methods in the added assembly would be able to be used in NinjaScript.

        Please let me know if I may be of additional assistance.
        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Christopher_R, Today, 12:29 AM
        0 responses
        8 views
        0 likes
        Last Post Christopher_R  
        Started by sidlercom80, 10-28-2023, 08:49 AM
        166 responses
        2,235 views
        0 likes
        Last Post sidlercom80  
        Started by thread, Yesterday, 11:58 PM
        0 responses
        3 views
        0 likes
        Last Post thread
        by thread
         
        Started by jclose, Yesterday, 09:37 PM
        0 responses
        7 views
        0 likes
        Last Post jclose
        by jclose
         
        Started by WeyldFalcon, 08-07-2020, 06:13 AM
        10 responses
        1,415 views
        0 likes
        Last Post Traderontheroad  
        Working...
        X