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.
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Vitamite, Yesterday, 12:48 PM
    3 responses
    17 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by aligator, Today, 02:17 PM
    0 responses
    10 views
    0 likes
    Last Post aligator  
    Started by lorem, 04-25-2024, 09:18 AM
    22 responses
    95 views
    0 likes
    Last Post lorem
    by lorem
     
    Started by sofortune, Today, 10:05 AM
    3 responses
    16 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by ETFVoyageur, 05-07-2024, 07:05 PM
    23 responses
    185 views
    0 likes
    Last Post ETFVoyageur  
    Working...
    X