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 Philippe56140, Today, 02:35 PM
    0 responses
    1 view
    0 likes
    Last Post Philippe56140  
    Started by 00nevest, Today, 02:27 PM
    0 responses
    1 view
    0 likes
    Last Post 00nevest  
    Started by Jonafare, 12-06-2012, 03:48 PM
    5 responses
    3,986 views
    0 likes
    Last Post rene69851  
    Started by Fitspressorest, Today, 01:38 PM
    0 responses
    2 views
    0 likes
    Last Post Fitspressorest  
    Started by Jonker, Today, 01:19 PM
    0 responses
    2 views
    0 likes
    Last Post Jonker
    by Jonker
     
    Working...
    X