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

Calling external Link Libraries

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

    Calling external Link Libraries

    Quick Technical Question

    In NT7 or NT8 is it possible to Call external dynamic link libraries / arrays and pass by references?

    #2
    Hello,

    Thank you for the question.

    NinjaTrader does have the capacity to reference external dll files for use in your custom NinjaScript files.

    To access the References menu, you would need to open a NinjaScript file by going to Tools -> Edit NinjaScript -> Indicator and select any indicator and press open.
    Next right click in the script and click References.

    After adding any references you will need to click OK, and the right click in the script and click Compile.

    Please note that NinjaTrader 7 is .net 3.5 so any dll would need to be 3.5 or less to work. Also keep in mind that NinjaTrader is 64 or 32 bit, if you add a reference that is only for 64 bit or only for 32 bit, you will need to use the NinjaTrader.exe that is the same architecture. any DLL marked as AnyCPU should work in either version.

    Finally not all DLL files can be referenced, to test, simply reference and use a simple command from the referenced file to see if you get errors.

    If there are errors they will be listed after compiling or in the Log if the compile was fine but an error occurred later.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by aussugardefender, Today, 01:07 AM
    0 responses
    3 views
    0 likes
    Last Post aussugardefender  
    Started by pvincent, 06-23-2022, 12:53 PM
    14 responses
    238 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Started by TraderG23, 12-08-2023, 07:56 AM
    9 responses
    384 views
    1 like
    Last Post Gavini
    by Gavini
     
    Started by oviejo, Today, 12:28 AM
    0 responses
    4 views
    0 likes
    Last Post oviejo
    by oviejo
     
    Started by pechtri, 06-22-2023, 02:31 AM
    10 responses
    125 views
    0 likes
    Last Post Leeroy_Jenkins  
    Working...
    X