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

Where is the output window file stored? "reached maximum threshold"

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

    Where is the output window file stored? "reached maximum threshold"

    I'm getting a message in the output window that I've reached the maximum threshold of the Output window but I only have 100 or so records in the log; whereas I had >30k records yesterday.

    I'm guessing that this file is stored somewhere and perhaps needs to be deleted or emptied. Is that correct? If so, where is the file located? If not, what are the next steps.

    #2
    Hello bluelou,

    Were the number of records at 100 before the message appeared or after?

    I ask because once that message appears the results in the output window are truncated. This means you may be seeing what is left over after you get the message.

    May I see what is in your output window?

    To save this:
    • Right-click the Output window -> select Save As.. -> click Save
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      The message appears at the top, or beginning, of the Output window. So, what do I do to get more records as I was able to do yesterday?

      --See attached Output txt file. It has 360 lines. I was able to get closer to 30,000 lines yesterday.
      Attached Files
      Last edited by bluelou; 12-12-2013, 10:56 AM.

      Comment


        #4
        ChelseaB, I haven't heard back. Any ideas?

        Comment


          #5
          Hello bluelou,

          Well this does confirm that you are getting more than 100 lines in the output window.

          Also, I am seeing the message at the top of the window. This tells me that the limit was reached and everything before that message was truncated.

          You can keep printing to the output window until the limit is reached. Once the limit is reached the output window will truncate the lines in the window up to that message.

          To prevent yourself from reaching the limit you can clear the output window by using the ClearOutputWindow() call.
          http://www.ninjatrader.com/support/h...tputwindow.htm

          Or you can always reduce your prints to not hit this limit as often.

          After the message appears you should be able to accumulate another 60,000 lines before the message appears again.

          An alternative would be to print to a file instead of the output window if you are making a lot of prints. Below is a link to a sample that can assist with this.
          SampleStreamWriter - http://www.ninjatrader.com/support/f...ead.php?t=3475
          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            ClearOutputWindow() is what I was looking for I think. I might print to a file but I was looking for the real--time feedback of the output window. thx

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by habeebft, Today, 07:27 AM
            1 response
            13 views
            0 likes
            Last Post NinjaTrader_ChristopherS  
            Started by AveryFlynn, Today, 04:57 AM
            1 response
            12 views
            0 likes
            Last Post NinjaTrader_Erick  
            Started by Max238, Today, 01:28 AM
            4 responses
            37 views
            0 likes
            Last Post Max238
            by Max238
             
            Started by r68cervera, Today, 05:29 AM
            1 response
            10 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by geddyisodin, Today, 05:20 AM
            1 response
            14 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Working...
            X