Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Forward looking bars

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

    Forward looking bars

    In NT7 I used to use negative number to retrieve information from future bars. Example: Close[-1] would give me the close the next bar.

    Does NT8 still support this? I'm getting out-of-range errors on all my strategies when using this.

    Thanks

    #2
    Hello siroki,

    Using negative indexes for BarsAgo values is not supported for NinjaTrader 7 and is also not supported for NinjaTrader 8.

    I also highly highly advise against using negative indexes as these are likely to cause indexing errors and cannot be used in real-time.

    This thread will remain open for any community members that may know of undocumented/unsupported methods of using negative indexes who would like to assist.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kinfxhk, 07-14-2026, 09:39 AM
    0 responses
    123 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    104 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    82 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    102 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    83 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X