• 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 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 Zigfried, Today, 02:30 PM
    2 responses
    8 views
    0 likes
    Last Post Zigfried  
    Started by lunardiplomacy, Today, 11:35 AM
    4 responses
    13 views
    0 likes
    Last Post lunardiplomacy  
    Started by silverm3170, Today, 11:24 AM
    3 responses
    9 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by mefTrader, 01-21-2020, 01:07 PM
    2 responses
    11 views
    0 likes
    Last Post mefTrader  
    Started by zimzam, Today, 11:41 AM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Working...
    X