Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ComputeOnClose and FirstTickOfBar clarifications

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

    ComputeOnClose and FirstTickOfBar clarifications

    I have a couple of clarifications regarding those two "methods".

    For example, if I have a bar ending at 13:00, the ComputeOnClose will give me information from 12:57-13:00 correct?

    But if I call the FirstTickOfBar, I will only get the information of the first tick at 12:57? So when the FirstTickOfBar is being called at the beginning of 13:03, I will have to call Close[1] to be the same as the ComputeOnClose Close[0], correct?

    #2
    Your understanding is accurate.
    RayNinjaTrader Customer Service

    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
    87 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
    106 views
    0 likes
    Last Post CarlTrading  
    Working...
    X