Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Value outside of valid range error in beta22

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

    Value outside of valid range error in beta22

    I'm getting this indicator (see attached) to crash in v22...and it is an untrappable error.

    I attach it to a 1-minute ES chart, approximately 5-days of data loaded, on my live Kinetick datafeed. Plots fine when I'm viewing the most recent bar.

    However, when I scroll backward (hitting the PageUp key)...the indicator eventually crashes and gives the error:
    "Error on setting indicator plot for indicator 'Test_ValueOutsideOfValidRange'. Value outside of valid range."
    Indicator and my trace file is attached.
    Attached Files

    #2
    Issue is with your code in line 95 and 96. Comment those lines out and you will not get the message. Unfortunately I will not be able to dig into the code and fully analyze what it is you are trying to do here, but it looks to me as if you will want to strip down your code to bare essentials and slowly add back the layers of complexity here to see where exactly in the if-statements the logic breaks.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Thanks Josh...appreciate the input. I had missed that one!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      591 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      343 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      103 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      556 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      553 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X