• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Order Execution sequence

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

    Order Execution sequence

    if on a five or one minute chart that has a range as follow
    Low - 100
    High - 110
    Close -110

    If you have a EnterShortLimit order at 110 that upon execution via the on execution method triggers a ExitLongLimit order at 105, will backtesting show this as a filled??even though we cannot determine if in fact the subsequent order would have been filled in during that particular bar as we don't know if the market retraces during the period to the lower level.

    If this is the case, how can you get around this? I assume that the only solution would be to go down to tick data

    #2
    Hello fiddy,

    You are correct, in that you would want a lower time frame or intrabar granularity to know a more detailed price action of bar. If using a 5 Minute bar you may add a 1 Minute bar to help fill your orders, or if you are using a 1 Minute Bar, you may use a second granularity to help fill your orders.

    We have an example of how to Backtest a strategy with intrabar granularity that you may view for reference at the following link.
    http://www.ninjatrader.com/support/f...ead.php?t=6652

    Let us know if we can be of any further assistance.
    JCNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by mestril, Today, 06:00 AM
    0 responses
    3 views
    0 likes
    Last Post mestril
    by mestril
     
    Started by Goolden, Today, 05:47 AM
    0 responses
    4 views
    0 likes
    Last Post Goolden
    by Goolden
     
    Started by kujista, Today, 12:59 AM
    0 responses
    6 views
    0 likes
    Last Post kujista
    by kujista
     
    Started by Gerik, Today, 12:14 AM
    0 responses
    5 views
    0 likes
    Last Post Gerik
    by Gerik
     
    Started by Bionian, Yesterday, 11:47 PM
    0 responses
    6 views
    0 likes
    Last Post Bionian
    by Bionian
     
    Working...
    X