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 mattbsea, Today, 05:44 PM
        0 responses
        4 views
        0 likes
        Last Post mattbsea  
        Started by RideMe, 04-07-2024, 04:54 PM
        6 responses
        31 views
        0 likes
        Last Post RideMe
        by RideMe
         
        Started by tkaboris, Today, 05:13 PM
        0 responses
        2 views
        0 likes
        Last Post tkaboris  
        Started by GussJ, 03-04-2020, 03:11 PM
        16 responses
        3,282 views
        0 likes
        Last Post Leafcutter  
        Started by WHICKED, Today, 12:45 PM
        2 responses
        20 views
        0 likes
        Last Post WHICKED
        by WHICKED
         
        Working...
        X