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 Jakub, 07-19-2024, 11:06 AM
    6 responses
    53 views
    0 likes
    Last Post Jakub
    by Jakub
     
    Started by FOMOzombie, 06-26-2024, 08:01 AM
    8 responses
    63 views
    0 likes
    Last Post DonnieTrader  
    Started by DJ888, 07-17-2024, 06:03 PM
    2 responses
    21 views
    0 likes
    Last Post AdamDJ8
    by AdamDJ8
     
    Started by Haiasi, 07-19-2024, 08:23 AM
    4 responses
    34 views
    1 like
    Last Post Jakub
    by Jakub
     
    Started by Kdevineni, 07-16-2024, 05:32 PM
    2 responses
    28 views
    0 likes
    Last Post Neilwade  
    Working...
    X