Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
NinjaTrader 8.0.23, .Net Framework 4.8 and C# Version
Collapse
X
-
+1 from me as well. Though, instead of C# 6 which is almost a decade old, if there's a ticket in place to target at least version 8 so we can use .NET Core that would get all my votes.
Leave a comment:
-
Hello reticent67,
Thank you for your vote.
I've submitted your vote for SFT-3124 as well.
Leave a comment:
-
It's insane that 3 years later, this is still an open issue, and votes are being counted. C# 5 came out in 2012! You would think that NinjaTrader is run by a government agency with how stuck in the past the technology is.
In any case, please add my vote to SFT-3124.
I think it would be great for someone to publish a tutorial or fork-able template repo to create an add-on. For the cause...
- Likes 1
Leave a comment:
-
I do not have a public sample. I will consider making one once current code projects are stable enough. I have a full time job and am working ninja 20-40 hours per week.Originally posted by t00ts View Post
Would it be possible for you to give a quick outline on how I could go about this? Could you share some insights/resources/guidelines on project setup and workflow?
Much appreciated.
--
P.S. Please add my vote for SFT-3124!
- Likes 1
Leave a comment:
-
Yes. In fact, it does not even have to be in C# if you use extern declarations and stdcall just like any other unmanaged DLL.
Leave a comment:
-
Is it possible to have a DLL that uses version C# 7.0 and .NET Core and reference this as an external DLL?Originally posted by QuantKey_Bruce View PostThat is true - you also could make an external DLL and code it however you want - it doesn't even have to be in C#.NET - and then just write wrapper code in the supported framework. That has some overhead but opens up a whole world for how you do the rest of the project.
Leave a comment:
-
Hello t00ts,
I've added your vote to SFT-3124. Thank you for your vote.
- Likes 1
Leave a comment:
-
Would it be possible for you to give a quick outline on how I could go about this? Could you share some insights/resources/guidelines on project setup and workflow?Originally posted by BartMan View PostMy team is placing most code in an add-on. The addon can use the latest C# version/features. It is more advanced but it is possible to
Much appreciated.
--
P.S. Please add my vote for SFT-3124!
Leave a comment:
-
Hello thehammer,
I've added your vote to SFT-3124.
Thank you for your vote!
Leave a comment:
-
Hello JGRtrader,
If you are opening the VS project using the button that will open the NinjaTrader custom project which uses 4.8 code, if you are trying to use C# code from a newer version of C# you would need to find an alternate way to do that task instead of using that code. If you try to use features from a newer C# version then visual studio will let you know you need to use a newer version because it knows about those type of items as part of its design. NinjaScript code needs to be 4.8 or less compliant code to compile. That applies to both the NinjaScript editor or when you edit in visual studio by using the VS toolbar button.
If the code you are trying to use is something you found online you may need to search for other samples of that concept and try those instead. You can include ".net framework" as part of your search to get more relevant samples for C# 4.8 code.
Leave a comment:
-
That is true - you also could make an external DLL and code it however you want - it doesn't even have to be in C#.NET - and then just write wrapper code in the supported framework. That has some overhead but opens up a whole world for how you do the rest of the project.
Leave a comment:
-
I am just using VS as an editor for NinjaTrader. I think the compiles are done in the NT application. I am running NT 8.1.1.7 right now. I do not run a project in VS. The VS I have is just plain vanilla and I call it with the icon in the NT Editor.
Leave a comment:
-
My team is placing most code in an add-on. The addon can use the latest C# version/features. It is more advanced but it is possible to
Leave a comment:
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
92 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
138 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
68 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
121 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
72 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Leave a comment: