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 kinfxhk, 07-14-2026, 09:39 AM
        0 responses
        86 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 10:18 AM
        0 responses
        92 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 09:50 AM
        0 responses
        70 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 07:21 AM
        0 responses
        87 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-11-2026, 02:11 AM
        0 responses
        64 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X