Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT 7 Language Compliance

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    NT 7 Language Compliance

    Hi,

    Does anyone know if the latest version of NT is C# 4 compliant? It does not appear to be but I could be missing something. Please let me know. Thank you.

    #2
    Hello Zeos6,
    NinjaTrader 7 is not built on .Net Framework 3.5 and you cannot refer any assembly to .Net Framework 4 or above.

    Please change the target of the assembly to .Net Framework 3.5 and see if you can make it work.
    Attached Files
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      Thanks Joydeep. I was trying to use tuples but those are c#4. Any idea if and when NT will be Framework 4 compliant? Thanks.

      Comment


        #4
        Hello Zeos6,
        Unfortunately I do not have any information regarding that. However our next major version is built on .Net Framework 4.5
        JoydeepNinjaTrader Customer Service

        Comment


          #5
          I am also needing to know which version of the C# language has been implemented by NT7? I really need to know for the strategy I'm building.

          I understand NT8 will be using C# language version 4.5.

          I'm not asking which version of the .NET framework. Specifically, I need to know which version of the C# language is being used for NT7. Thank you.

          Comment


            #6
            Hello BuckStar,

            Thank you for your post and welcome to the NinjaTrader Support Forum!

            NinjaTrader uses .NET 3.5 which includes the compiler 3.0 for C#.

            Comment


              #7
              Originally posted by NinjaTrader_PatrickH View Post
              Hello BuckStar,

              Thank you for your post and welcome to the NinjaTrader Support Forum!

              NinjaTrader uses .NET 3.5 which includes the compiler 3.0 for C#.
              Thanks for confirming! Does it apply for all import export documents?
              Last edited by NinjaTrader_Jim; 04-26-2021, 06:42 AM. Reason: Advertisement Link Removed

              Comment


                #8
                Hello Marius Titulescu,

                I had removed the advertisement link from your post. The forum is meant to be support focused, so we ask that any advertisement links are excluded from your posts. Thanks for your understanding.

                All scripts exported from NinjaTrader 7 would be built for .NET 3.5 and this version of C#.

                Assemblies can be built in Visual Studio that allow for newer versions of C#, but these assemblies could not be built from NinjaTrader 7.

                We look forward to assisting.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                566 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                330 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                101 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                547 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                548 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X