• 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

Determine if an Output window is opened

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

    Determine if an Output window is opened

    Hello:

    In code, is there a way of determining if an Output window is opened such that it can be tested and Printing to it can be bypassed if it is not?

    If so does it work such that:

    1. it can be tested in Startup and detect that an Output window is opened (or not), and then set a switch that can be tested before each Print statement. This would work on initial installation of the indicator or upon a refresh. Note I realize that this can be a setting in the properties section but would not be dynamic as in #2 below, and/or,

    2. it can be tested in the Update section thereby making Printing to the Output window dynamic according to when it is opened?

    Regards,

    Frank

    #2
    Hello Frank,

    Thank you for your note.

    This is not supported in NinjaTrader 7 however this would be possible in NinjaTrader 8 from an Add-On. If you'd like a sample add which does this please let us know.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      Hi Alan:

      Okay, thanks for the info.

      Yes I would like the sample NT 8 Add-on. BTW what exactly is an add-on? Is this something new in NT8?

      F

      Comment


        #4
        Hello Cheech,

        Add-ons are new in NT8 and I have provided a link to our helpguide which introduces Add-ons,

        https://ninjatrader.com/support/help...t_overview.htm

        I have attached a sample Addon which will print to the output window if an output window is open.

        Please let us know if you need further assistance.
        Attached Files
        Alan P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by brian meade, Today, 01:39 PM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Started by Johnny Santiago, Today, 12:20 PM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_ChrisL  
        Started by NinjaTrader_Brandon, Today, 10:24 AM
        0 responses
        48 views
        0 likes
        Last Post NinjaTrader_Brandon  
        Started by ptertich, Today, 07:56 AM
        2 responses
        15 views
        0 likes
        Last Post Johnny Santiago  
        Started by aslane, Today, 08:24 AM
        1 response
        15 views
        0 likes
        Last Post NinjaTrader_ChrisL  
        Working...
        X