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 Mindset, 04-21-2026, 06:46 AM
        0 responses
        102 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        144 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        71 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        125 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        79 views
        0 likes
        Last Post PaulMohn  
        Working...
        X