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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    152 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    89 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    131 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    127 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    107 views
    0 likes
    Last Post CarlTrading  
    Working...
    X