Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Print to Output Tab 2

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

    Print to Output Tab 2

    Easy one, is there another way to print to output tab # 2 other than

    PrintTo = PrintTo.OutputTab2;

    Thanks!!

    #2
    Hello mrmistermike2016, and thank you for your question. In addition to setting your PrintTo property, you can call the output window using the method that supports add-ons from any NinjaScript file. This looks like this,

    Code:
     NinjaTrader.Code.Output.Process(message, PrintTo.OutputTab2);
    The 2nd output tab can also be cleared like this

    Code:
     NinjaTrader.Code.Output.Reset(PrintTo.OutputTab1);
    Please let us know if there are any other ways we can help.
    Jessica P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by s.kinra, Today, 12:52 AM
    0 responses
    2 views
    0 likes
    Last Post s.kinra
    by s.kinra
     
    Started by vivek.n, Yesterday, 03:19 AM
    2 responses
    33 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Started by Angus7, Yesterday, 02:03 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Started by powerlobster, Yesterday, 01:39 PM
    0 responses
    17 views
    0 likes
    Last Post powerlobster  
    Started by butt_toast, Yesterday, 01:16 PM
    0 responses
    12 views
    0 likes
    Last Post butt_toast  
    Working...
    X