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 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.
    Chris L.NinjaTrader Customer Service

    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.
      Chris L.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by frankthearm, Yesterday, 09:08 AM
      12 responses
      43 views
      0 likes
      Last Post NinjaTrader_Clayton  
      Started by junkone, Today, 11:37 AM
      1 response
      12 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by quantismo, 04-17-2024, 05:13 PM
      5 responses
      35 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by proptrade13, Today, 11:06 AM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_Clayton  
      Started by love2code2trade, 04-17-2024, 01:45 PM
      4 responses
      35 views
      0 likes
      Last Post love2code2trade  
      Working...
      X