Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Timing sequence for "OnBarUpdate=True"

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

    Timing sequence for "OnBarUpdate=True"

    Hi,

    I am trying to understand the detailed timing sequence for Ninjatrader (6.5) order placement in “live” trading.

    Say,
    - I have a NinjaScript strategy running on a 5-min chart, with OnBarUpdate = True.
    - At 11h59:58, the last tick occurs within the 12h00:00 5-min candle/bar; this is the tick that will define the candle/bar closing price.
    - Assume the next tick does not occur until 12h00:10 (i.e. 10 seconds after prior candle/bar close), so that the next candle/bar (i.e. the 12h05:00 5-min candle/bar) does not begin to be drawn on the chart until 12h00:10.
    -
    If the closing price of the 12h00:00 candle/bar was sufficient to trigger an entry signal under my strategy, when does NinjaTrader (6.5) begin the process of submitting the “live” order?

    Is it at 12h00:00 (i.e. immediately after the time at which the candle/bar closed)?

    Or is it at 12h00:10 (i.e. immediately after the new candle/bar begins to be drawn)?

    Thanks.

    #2
    AnotherTrader, it would be submitted on the open tick of the new bar, as this is the tick that closes your prior 12:00 bar, as NinjaTrader's 'body' is event not solely time based.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thanks, Bertrand.

      Is there anything that can be set to force NT to submit the order at 12h00:00, rather than wait for the next tick?

      And is it the same for NT7?

      Comment


        #4
        This behavior is the same on NT7 - unfortunately you would not have your trade signal until you receive the closing tick of the 12:00 bar, even if this is coming in at 12:00:10
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by StockTrader88, 03-06-2021, 08:58 AM
        45 responses
        3,991 views
        3 likes
        Last Post johntraderuser2  
        Started by TAJTrades, Today, 09:46 AM
        0 responses
        7 views
        0 likes
        Last Post TAJTrades  
        Started by rhyminkevin, Yesterday, 04:58 PM
        5 responses
        62 views
        0 likes
        Last Post dp8282
        by dp8282
         
        Started by realblubb, Today, 09:28 AM
        0 responses
        8 views
        0 likes
        Last Post realblubb  
        Started by AaronKoRn, Yesterday, 09:49 PM
        1 response
        19 views
        0 likes
        Last Post Rikazkhan007  
        Working...
        X