Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Output window losses scroll bars

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

    #16
    Graham,

    Issue is because you have this in your Initialize().

    ClearOutputWindow();

    I suggest you put that into the OnStartUp() method instead.
    Josh P.NinjaTrader Customer Service

    Comment


      #17
      Hi Josh,

      I moved the 'ClearOutputWindow();' to a new function OnStartUp() and it made no difference.

      Does it matter where the OnStartUp() is within the code?

      Do you get the same error as I reported earlier, can you change the code you have to see it is just a problem on my side?

      Graham.

      Comment


        #18
        I do not get any errors on my end. Please try completely removing the ClearOutputWindow() line completely then. I suspect you may be initiating another run through your strategy (which can be the case as you click on different Strategy Analyzer results) and then it ends up clearing your output window.
        Josh P.NinjaTrader Customer Service

        Comment


          #19
          Josh,

          The problem was that the call ClearOutputWindow(); was called twice, in two functions

          Once I removed the second reference all works fine.

          Thanks for your help in this matter.

          Graham.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          591 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          343 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          103 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          556 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          553 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X