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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    90 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    49 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    23 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    31 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    31 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X