• 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, 08:19 AM.
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by sohailashraf, Yesterday, 10:18 PM
            0 responses
            4 views
            0 likes
            Last Post sohailashraf  
            Started by jjnc2006, Yesterday, 07:36 PM
            0 responses
            11 views
            0 likes
            Last Post jjnc2006  
            Started by futurenick, Yesterday, 06:26 AM
            1 response
            12 views
            0 likes
            Last Post nkhoi
            by nkhoi
             
            Started by NinjaCustomer, Yesterday, 12:29 PM
            2 responses
            10 views
            0 likes
            Last Post NinjaCustomer  
            Started by Steve L, Yesterday, 11:32 AM
            0 responses
            9 views
            0 likes
            Last Post Steve L
            by Steve L
             
            Working...
            X