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 Hwop38, 05-04-2026, 07:02 PM
      0 responses
      173 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      328 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      252 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      354 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      181 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X