Announcement

Collapse
No announcement yet.

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.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    571 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    330 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    548 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    549 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X