Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Fill to Current Bar

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

    Fill to Current Bar

    Hi,

    I'm new to NinjaTrader and I'm evaluating it.
    I setup a strategy and backtest using the daily data.

    I found that the entry (e.g. Long or Short) signal is delay one bar. For example, enterlong() signal on current bar, but the entry day is one bar afterwards.

    Anything need to adjust in order to Fill the order on signal generation bar (e.g. enterlong() at the close of signal generation bar) ?

    #2
    This is how it works. In real-time, a bar is closed, signal is generated, order is submitted and the resulting fill shows up on next bar.
    RayNinjaTrader Customer Service

    Comment


      #3
      I see. For backtest, how to set the order immediate fill at market close on current bar which the signal generate ?

      Comment


        #4
        If you mean have the fill at the close of the bar on the same bar where the signal is generated?

        Then this is not supported.
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        37 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, Yesterday, 02:41 AM
        0 responses
        17 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        25 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        40 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        34 views
        0 likes
        Last Post CarlTrading  
        Working...
        X