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 r68cervera, Today, 05:29 AM
      0 responses
      3 views
      0 likes
      Last Post r68cervera  
      Started by geddyisodin, Today, 05:20 AM
      0 responses
      6 views
      0 likes
      Last Post geddyisodin  
      Started by JonesJoker, 04-22-2024, 12:23 PM
      6 responses
      35 views
      0 likes
      Last Post JonesJoker  
      Started by GussJ, 03-04-2020, 03:11 PM
      12 responses
      3,241 views
      0 likes
      Last Post Leafcutter  
      Started by AveryFlynn, Today, 04:57 AM
      0 responses
      7 views
      0 likes
      Last Post AveryFlynn  
      Working...
      X