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 sidlercom80, 10-28-2023, 08:49 AM
        167 responses
        2,260 views
        0 likes
        Last Post jeronymite  
        Started by warreng86, 11-10-2020, 02:04 PM
        7 responses
        1,361 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by Perr0Grande, Today, 08:16 PM
        0 responses
        5 views
        0 likes
        Last Post Perr0Grande  
        Started by elderan, Today, 08:03 PM
        0 responses
        9 views
        0 likes
        Last Post elderan
        by elderan
         
        Started by algospoke, Today, 06:40 PM
        0 responses
        10 views
        0 likes
        Last Post algospoke  
        Working...
        X