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 Hwop38, 05-04-2026, 07:02 PM
    0 responses
    162 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    313 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    245 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    350 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    179 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X