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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    65 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    41 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    23 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    26 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    52 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X