Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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,



        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 Aviram Y, Today, 05:29 AM
        0 responses
        2 views
        0 likes
        Last Post Aviram Y  
        Started by quantismo, 04-17-2024, 05:13 PM
        3 responses
        25 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by ScottWalsh, 04-16-2024, 04:29 PM
        7 responses
        34 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by cls71, Today, 04:45 AM
        0 responses
        6 views
        0 likes
        Last Post cls71
        by cls71
         
        Started by mjairg, 07-20-2023, 11:57 PM
        3 responses
        217 views
        1 like
        Last Post PaulMohn  
        Working...
        X