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 chbruno, Today, 04:10 PM
      0 responses
      1 view
      0 likes
      Last Post chbruno
      by chbruno
       
      Started by josh18955, 03-25-2023, 11:16 AM
      6 responses
      436 views
      0 likes
      Last Post Delerium  
      Started by FAQtrader, Today, 03:35 PM
      0 responses
      6 views
      0 likes
      Last Post FAQtrader  
      Started by rocketman7, Today, 09:41 AM
      5 responses
      19 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by frslvr, 04-11-2024, 07:26 AM
      9 responses
      127 views
      1 like
      Last Post caryc123  
      Working...
      X