Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

"... needed to be between 0 and 255 but was ..."

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

    "... needed to be between 0 and 255 but was ..."

    I am getting this error, and want to code my indicator so that it uses "INFINITE rather than 256.

    What do I need?

    many thanks.

    #2
    Hello AnotherTrader,

    Thanks for your post.

    Try the following in Initialize():
    MaximumBarsLookBack = MaximumBarsLookBack.Infinite;

    Below is a link to the help guide on this.
    http://www.ninjatrader.com/support/h...rslookback.htm

    If that does not correct the issue, let me know and we can look at your script.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by bortz, 11-06-2023, 08:04 AM
    47 responses
    1,604 views
    0 likes
    Last Post aligator  
    Started by jaybedreamin, Today, 05:56 PM
    0 responses
    8 views
    0 likes
    Last Post jaybedreamin  
    Started by DJ888, 04-16-2024, 06:09 PM
    6 responses
    18 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by Jon17, Today, 04:33 PM
    0 responses
    4 views
    0 likes
    Last Post Jon17
    by Jon17
     
    Started by Javierw.ok, Today, 04:12 PM
    0 responses
    13 views
    0 likes
    Last Post Javierw.ok  
    Working...
    X