Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Last tick

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

    Last tick

    I want to collect the last tick and last tick volume from the OnBarUpdate() method.
    Obviously I have set CalculateBarOnClose to false so I get every tick.

    it doesn't work with Close[0] and Volume[0]...


    What is the exact syntax I have to use to get what I want

    Many thanks

    #2
    Hello,

    Thanks for the forum post.

    Close[0] and Volume[0] should do the trick.

    Can you please post you code your using to collect this? If you do not want to post this information please sent it to support at ninjatrader dot com and reference this forum post.

    I look forward to assisting you further.
    BrettNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    574 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    333 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    553 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    551 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X