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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    115 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    161 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    83 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    127 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    87 views
    0 likes
    Last Post PaulMohn  
    Working...
    X