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
Complete Accord.net dll net4.5
Collapse
X
-
Hello Nyman,
Thank you for your post.
NinjaTrader uses the C# 5.0 programming language targeting .NET 4.8 for developing custom NinjaScript AddOns. Using external programming languages is not documented nor supported and we would not be able to provide assistance.
Documents\NinjaTrader 8\bin\Custom is the proper place for a 3rd party referenced assembly dll.
Support for 3rd party assemblies is limited. Our team is able to assist with adding the dll and a reference to the dll, however we cannot assist with its use, or with any errors or unexpected behavior that may occur.
With that said, we are happy to forward any insightful information we happen to be aware of.
Below is a link to the help guide on referencing a 3rd party assembly dll.
https://ninjatrader.com/support/help...indicators.htm
Any referenced managed assembly will need to target .NET Framework 4.8 or lower. Other versions of .NET will not work, such as .NET Core or .NET 5.
Alternatively, unmanaged assemblies can be P/Invoked:
https://docs.microsoft.com/en-us/dot...nterop/pinvoke
https://ninjatrader.com/support/foru...300#post777300
It's possible to use Nuget with Visual Studio to compile dlls for use in NinjaTrader:
https://ninjatrader.com/support/foru...72#post1042872
Determining the targeted .NET version for an assembly dll:
https://ninjatrader.com/support/foru...858#post798858
Another option to consider is using the NinjaTrader API NTDirect.dll to interface an external application written in another language with NinjaTrader.
https://ninjatrader.com/support/foru...626#post793626
If this is a script you have written yourself, due to an internal change with 8.0.26.0, calls to Newtonsoft must be made to an external .NET 4.8 equivalent or to the netstandard.dll. As a heads up, NinjaTrader does not guarantee the version of Newtonsoft.Json.dll that NinjaTrader is using internally.
Here are some other forum posts about Accord.Net:
https://ninjatrader.com/support/foru...earning-in-nt8
https://ninjatrader.com/support/foru...-on#post798884
https://ninjatrader.com/support/foru...262#post805262
Thank you for using NinjaTrader.Emily C.NinjaTrader Customer Service
- Likes 1
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Mikey_, 03-23-2024, 05:59 PM
|
3 responses
49 views
0 likes
|
Last Post
by Sam2515
Today, 01:47 PM
|
||
Started by f.saeidi, Today, 12:14 PM
|
7 responses
16 views
0 likes
|
Last Post
by f.saeidi
Today, 01:32 PM
|
||
Started by Russ Moreland, Today, 12:54 PM
|
1 response
6 views
0 likes
|
Last Post Today, 01:01 PM | ||
Started by philmg, Today, 12:55 PM
|
1 response
7 views
0 likes
|
Last Post Today, 01:00 PM | ||
Started by TradeForge, 04-19-2024, 02:09 AM
|
2 responses
32 views
0 likes
|
Last Post
by TradeForge
Today, 12:32 PM
|
Comment