In NT7 or NT8 is it possible to Call external dynamic link libraries / arrays and pass by references?
Announcement
Collapse
No announcement yet.
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.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
161 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
309 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
245 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
349 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
179 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|

Comment