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 Aviram Y, Today, 05:29 AM
      0 responses
      3 views
      0 likes
      Last Post Aviram Y  
      Started by quantismo, 04-17-2024, 05:13 PM
      3 responses
      27 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by ScottWalsh, 04-16-2024, 04:29 PM
      7 responses
      35 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
      218 views
      1 like
      Last Post PaulMohn  
      Working...
      X