Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

OnBarUpdate not sent for last historical bar in chart

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

    OnBarUpdate not sent for last historical bar in chart

    Hello,
    I have a chart with session start and session end set. The session end is set to 4:30 PM. For the last bar in the chart with the time 4:30 PM I do not see my OnBarUpdate invoked. However, the bar is visible on the chart. Is this the way it is supposed to be? Is there a setting I can change?

    PK

    #2
    PK, this is unfortunately expected as the OnBarUpdate() would be fired again as the open tick of next bar would be received.

    Improvements to this behavior would be made available with NinjaTrader 7 -

    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by AlgoDreamer, Today, 12:39 PM
    2 responses
    8 views
    0 likes
    Last Post AlgoDreamer  
    Started by ninza33, Today, 12:31 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Started by nleitman, Yesterday, 11:46 AM
    17 responses
    45 views
    0 likes
    Last Post nleitman  
    Started by tradingnasdaqprueba, Today, 03:42 AM
    7 responses
    32 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by kaywai, Today, 11:59 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Erick  
    Working...
    X