• 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

Print with Multiple overloads

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

  • NinjaTrader_PatrickH
    replied
    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.

    Leave a comment:


  • NinjaTrader_PatrickH
    replied
    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.

    Leave a comment:


  • ttodua
    started a topic Print with Multiple overloads

    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.

Latest Posts

Collapse

Topics Statistics Last Post
Started by Aporshnev, Today, 01:47 AM
0 responses
5 views
0 likes
Last Post Aporshnev  
Started by caveat_lector, Today, 12:12 AM
1 response
5 views
0 likes
Last Post Atm Card  
Started by ksarin, Yesterday, 04:31 PM
2 responses
9 views
0 likes
Last Post Atm Card  
Started by pharofx, Yesterday, 09:30 PM
1 response
19 views
0 likes
Last Post Atm Card  
Started by swcooke, Yesterday, 08:39 PM
1 response
9 views
0 likes
Last Post Atm Card  
Working...
X