Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Determine source of error: Unhandled exception: barsAgo needed to be between 0 and -1

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

    Determine source of error: Unhandled exception: barsAgo needed to be between 0 and -1

    I have a customer that is running into a very non-descriptive error.

    I'm looking for where I can determine what the source of the error is (I don't know what indicator is causing it). What log file can I look into and find out?

    There is many, many popups (one for every bar) that say:

    Unhandled exception: 'barsAgo' needed to be between 0 and -1 but was 0.
    Parameter name: barsAgo

    This error does not occur locally, so it could be from another vendor, but I need to determine that.

    One, the error doesn't make sense, since 0 should be valid. Two, I don't understand why this is an actual Popup and not just an error in the Control Center log. Three, it doesn't reference what indicator is causing the issue.

    Is there a log file that gives more details and point me in the right direction?

    Thank you!

    #2
    Hello,

    Thank you for writing to the support team.

    I am reviewing your inquiry and will be back with a reply shortly.

    I look forward to assisting further.

    Comment


      #3
      Hello neoikon,

      Thank you for your patience.

      The trace files will provide further detail on exceptions.

      Please send me your log and trace folders to*platformsupport[at]ninjatrader[dot]com.*
      You can do this by going to the Control Center-> Help-> Mail to Platform Support.
      Please reference the following in the email body:*ATTN CHRISL <paste the forum link here>*

      I look forward to your reply.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      646 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      367 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      107 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      569 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      573 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X