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 aa731, Today, 02:54 AM
    0 responses
    4 views
    0 likes
    Last Post aa731
    by aa731
     
    Started by thanajo, 05-04-2021, 02:11 AM
    3 responses
    470 views
    0 likes
    Last Post tradingnasdaqprueba  
    Started by Christopher_R, Today, 12:29 AM
    0 responses
    10 views
    0 likes
    Last Post Christopher_R  
    Started by sidlercom80, 10-28-2023, 08:49 AM
    166 responses
    2,237 views
    0 likes
    Last Post sidlercom80  
    Started by thread, Yesterday, 11:58 PM
    0 responses
    5 views
    0 likes
    Last Post thread
    by thread
     
    Working...
    X