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 cre8able, Yesterday, 07:24 PM
        1 response
        13 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by cocoescala, 10-12-2018, 11:02 PM
        6 responses
        939 views
        0 likes
        Last Post Jquiroz1975  
        Started by gbourque, Today, 06:39 AM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by cmtjoancolmenero, Yesterday, 03:58 PM
        1 response
        17 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by benmarkal, Yesterday, 12:52 PM
        3 responses
        23 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Working...
        X