In NT7 or NT8 is it possible to Call external dynamic link libraries / arrays and pass by references?
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!
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
NinjaTrader
Calling external Link Libraries
Collapse
X
-
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?Tags: None
-
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
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by andrewtrades, Today, 04:57 PM
|
1 response
8 views
0 likes
|
Last Post Today, 05:02 PM | ||
Started by chbruno, Today, 04:10 PM
|
0 responses
6 views
0 likes
|
Last Post
by chbruno
Today, 04:10 PM
|
||
Started by josh18955, 03-25-2023, 11:16 AM
|
6 responses
436 views
0 likes
|
Last Post
by Delerium
Today, 03:42 PM
|
||
Started by FAQtrader, Today, 03:35 PM
|
0 responses
7 views
0 likes
|
Last Post
by FAQtrader
Today, 03:35 PM
|
||
Started by rocketman7, Today, 09:41 AM
|
5 responses
19 views
0 likes
|
Last Post Today, 03:33 PM |
Comment