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 futtrader, 04-21-2024, 01:50 AM
    6 responses
    57 views
    0 likes
    Last Post futtrader  
    Started by sgordet, Today, 11:48 AM
    0 responses
    1 view
    0 likes
    Last Post sgordet
    by sgordet
     
    Started by Trader146, Today, 11:41 AM
    0 responses
    2 views
    0 likes
    Last Post Trader146  
    Started by jpapa, 04-23-2024, 07:22 AM
    2 responses
    17 views
    0 likes
    Last Post rene69851  
    Started by funk10101, Today, 11:35 AM
    0 responses
    1 view
    0 likes
    Last Post funk10101  
    Working...
    X