Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OnBarUpdate error

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

    OnBarUpdate error

    Hello,

    I received too frequently the error:
    "Error on calling 'OnBarUpdate' method for indicator 'SUM' on bar 266: barsAgo needed to be between 0 and 255 but was 266"

    I read in your forum that this could be solved setting "MaximumBarsLookBack = MaximumBarsLookBack.Infinite;" in Initialize()

    but the problem still appears sometimes and not in all strategies. What could be the problem?

    #2
    Hello guillembm,

    Please send us a copy of the strategy you are using so that we may review the issue. Send to PlatformSupport[at]Ninjatrader[dot]com atten Paul and the title of this thread in the subject line. Also, advise the instrument and timeframe in use and any other conditions so we can replicate.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    94 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    49 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    31 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    34 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    70 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X