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 dward123, 01-02-2024, 09:59 PM
    4 responses
    174 views
    0 likes
    Last Post Lancer
    by Lancer
     
    Started by ETFVoyageur, Today, 04:00 PM
    2 responses
    19 views
    0 likes
    Last Post ETFVoyageur  
    Started by AaronKTradingForum, Today, 03:44 PM
    1 response
    9 views
    0 likes
    Last Post AaronKTradingForum  
    Started by Felix Reichert, 04-26-2024, 02:12 PM
    11 responses
    80 views
    0 likes
    Last Post Felix Reichert  
    Started by junkone, 04-28-2024, 02:19 PM
    7 responses
    84 views
    1 like
    Last Post junkone
    by junkone
     
    Working...
    X