Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Print with Multiple overloads

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

    Print with Multiple overloads

    I have to say, that I dont like that NinjaTrader has only 1 overload for Print(). In other platforms it has multiple overloads.

    in NT, we have to do such:

    Code:
    Print("Hello:"+ myPrice.ToString() + "," + MyBool.ToString() );
    (Note, converting everything with extra `.ToString()` and using the manual commas.
    other platform, we can simply:

    Code:
    Print("Hello", myPrice,  MyBool);
    so, it will print them, so we dont need to use` .ToString()` manually, making the debugging process/coding quicker.
    also, no negative effects, just add `Print` overloads (let's say, max 10 arguments overloads ) in NinjaScriptBase please.

    #2
    Hello TazoTodua,

    Thank you for your post.

    NinjaScript is built in C# and emulates several of the concepts. If you want to pass items in such a manner consider the use of string.Format() which is detailed at the following link: https://ninjatrader.com/support/help...n-us/print.htm

    I will forward your suggestion to our development team.
    Patrick H.NinjaTrader Customer Service

    Comment


      #3
      Hello TazoTodua,

      Thank you for your patience.

      This request has been assigned the internal tracking id SFT-1309. Please let me know if you have any questions.
      Patrick H.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NeverDownMoney, Today, 02:42 PM
      3 responses
      10 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Started by localappleseed, Today, 02:20 PM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_Jim  
      Started by asmmbillah, Today, 02:48 PM
      1 response
      17 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by KacemRhaz, Today, 01:31 PM
      3 responses
      15 views
      0 likes
      Last Post NinjaTrader_ChristopherD  
      Started by ronaldgreene828, Today, 12:08 PM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_Kate  
      Working...
      X