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!
See more
See less

Partner 728x90

Collapse

Simple request for NT8

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

    Simple request for NT8

    Something that just occurred to me when I was writing some regular test code in SharpDevelop. I use Print() statements quite heavily for my output and monitoring. Normally I have to do this for example:

    Print("Error at " + Time[0]);

    But things can get quite unruly in long output messages referring to multiple variables. So this would be awesome - just like we do it with Console.WriteLine:

    Print("Error at {0}", Time[0]);

    Anyone else want this? Admins feel free to rename this thread so that others can voice their opinion.

    Thanks.

    #2
    Hi molecool,

    Thank you for the suggestion.

    I will pass this on to our development for consideration.

    Please do not hesitate to let us know of any other suggestions you may have.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by molecool View Post
      Something that just occurred to me when I was writing some regular test code in SharpDevelop. I use Print() statements quite heavily for my output and monitoring. Normally I have to do this for example:

      Print("Error at " + Time[0]);

      But things can get quite unruly in long output messages referring to multiple variables. So this would be awesome - just like we do it with Console.WriteLine:

      Print("Error at {0}", Time[0]);

      Anyone else want this? Admins feel free to rename this thread so that others can voice their opinion.

      Thanks.
      That can be done right now by using a String.Format() for your Print() statement.

      Here is an example: https://www.ninjatrader.com/support/...ad.php?t=53603

      Comment


        #4
        Yes, that would be an option - but it would be nice to have it built in. I do a lot of logging...

        Comment


          #5
          Originally posted by NinjaTrader_ChelseaB View Post
          ....

          Please do not hesitate to let us know of any other suggestions you may have.

          LLLLoooooLLL....Scratching asses is not prohibited as well

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by DJ888, Yesterday, 06:09 PM
          2 responses
          9 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by jeronymite, 04-12-2024, 04:26 PM
          3 responses
          40 views
          0 likes
          Last Post jeronymite  
          Started by bill2023, Today, 08:51 AM
          2 responses
          16 views
          0 likes
          Last Post bill2023  
          Started by sidlercom80, 10-28-2023, 08:49 AM
          167 responses
          2,260 views
          0 likes
          Last Post jeronymite  
          Started by warreng86, 11-10-2020, 02:04 PM
          7 responses
          1,362 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Working...
          X