Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Limit executions in OHLC bars

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

    Limit executions in OHLC bars

    Hello NT

    When backtesting, if i have both stop loss and profit target limit orders active, and a bar comes along that has Highs/Lows such that both would get triggered in that bar, (if they were not OCA), how does NT decide which order is executed?

    thanks

    #2
    trapezoid, the stop would always be the order executed. If you need finer resolution in your backtests, you can add intrabar granularity - http://www.ninjatrader-support.com/v...ead.php?t=6652.
    AustinNinjaTrader Customer Service

    Comment


      #3
      So if I understand correctly, the orders are somehow attached to the bars themselves. So for an order to be executed on a 1 sec time-frame, I need to submit that order to the 1 second bar, in a multi-bar setup?

      Comment


        #4
        trapezoid, the orders are generally "submitted" to a bar series while backtesting. You are correct, if you want to execute orders on the 1 second timeframe, you would need to submit the order to that bar series, other than stops and targets, which will trigger on any series.
        AustinNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        115 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        161 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        83 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        127 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        87 views
        0 likes
        Last Post PaulMohn  
        Working...
        X