Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Close[-1] for next day pricing data

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

    Close[-1] for next day pricing data

    In NT7, I could use Close[-n] to actually get next day's closing price. For example I could enter Close[-1] and I would get the next day closing price. Pretty much same for all time-series attributes.

    NT8 doesnt' seem to support this feature which I really miss. Will NT8 support this feature again?

    #2
    Hi siroki, thanks for your note.

    If this is in real-time it would not work properly. In historical mode, NinjaTrader runs the OnBarUpdate method of a script for every bar on the chart from left to right, so addressing Close[0] will allow you to set a value for each bar. If you could provide details on anything that's not working as expected I will be happy to help.

    Kind regards,

    -ChrisL

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    80 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    46 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    29 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    32 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    66 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X