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 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