• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8 C# version

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

    NT8 C# version

    Hi,

    Can you please tell me which version of C# does NT8 implement? I tried to use some C# 6 features (nameof) and the script did not compile. Thank you.

    #2
    Hello Zeos6,

    From my understanding NinjaTrader 8 uses .NET 4.5 and C# 5.0.

    If I find this has been updated to any other version I will update this thread.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thanks Chelsea. I appreciate it.
      C# is now up to version 7 with some nice features. It would be nice if we could take advantage of the new features in NT.

      Comment


        #4
        Hello Zeos6,

        I've received a tracking ID for your request.

        Your request for NinjaTrader to target .NET 4.7 with C# 7 is being tracked with ID #SFT-3124.

        Please note it is up to the NinjaTrader Development to decide if and when any request will be implemented.

        Thank you for your feedback on this.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hello,

          As of today, which version of .Net and C# should we use when developing a strategy in Visual Studio?. Do you have a template just to start correctly? Thanks!

          Comment


            #6
            Hello roblogic,

            Use NinjaTrader to generate a new strategy or indicator from the NinjaScript Editor window. Then click the VisualStudio icon on the NinjaScript Editor to load the NinjaTrader project in VisualStudio. Then open the file to begin editing it.

            NinjaTrader 8 uses .NET 4.5 and C# 5.0.

            See post #2 in this thread.
            Last edited by NinjaTrader_ChelseaB; 12-11-2018, 07:19 AM.
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by TazoTodua, Today, 01:26 AM
            0 responses
            1 view
            0 likes
            Last Post TazoTodua  
            Started by TazoTodua, Today, 01:21 AM
            0 responses
            1 view
            0 likes
            Last Post TazoTodua  
            Started by TikDaddy, Yesterday, 02:08 PM
            3 responses
            11 views
            0 likes
            Last Post TikDaddy  
            Started by Brillo, Yesterday, 01:52 PM
            1 response
            16 views
            0 likes
            Last Post NinjaTrader_Jim  
            Started by TazoTodua, 02-09-2018, 08:40 AM
            10 responses
            884 views
            0 likes
            Last Post NinjaTrader_JoshG  
            Working...
            X