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 condorhero, Today, 09:28 PM
    0 responses
    5 views
    0 likes
    Last Post condorhero  
    Started by MaraAnkh, Today, 08:44 PM
    0 responses
    6 views
    0 likes
    Last Post MaraAnkh  
    Started by wooofad, Today, 05:38 PM
    0 responses
    7 views
    0 likes
    Last Post wooofad
    by wooofad
     
    Started by caacapital, Today, 10:10 AM
    2 responses
    18 views
    0 likes
    Last Post caacapital  
    Started by DiverG20, Today, 10:23 AM
    0 responses
    23 views
    0 likes
    Last Post DiverG20  
    Working...
    X