Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Order Fills in Backtesting

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

    Order Fills in Backtesting

    Looking at the attached image - I am trialing a strategy involving a +10/-10 TP/SL on a 30 minute chart.

    I have issues with false wins and losses on other software as they often just make some sort of broad assumption that the price goes from open to high to low to close to something along those lines.

    How does Ninja Trader 8 back tester tackle if a candle contains the entry, stop loss and take profit all within the open and close of the candle? Does it make over arching assumptions or does it look into lower time frames or?

    Thanks for the help.

    #2
    Hello TraderFoes, thanks for your post.

    NinjaTrader uses a historical backfill algorithm to decide if an order should be filled historically. To get better order fill estimations, you can add a 1 tick series to your code and fill your orders upon that series, and turn on tick replay. There is an example on how to do this here. Implement this in your script and you should see better fill estimations.

    Best regards.
    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CortexZenUSA, Today, 12:53 AM
    0 responses
    2 views
    0 likes
    Last Post CortexZenUSA  
    Started by CortexZenUSA, Today, 12:46 AM
    0 responses
    1 view
    0 likes
    Last Post CortexZenUSA  
    Started by usazencortex, Today, 12:43 AM
    0 responses
    5 views
    0 likes
    Last Post usazencortex  
    Started by sidlercom80, 10-28-2023, 08:49 AM
    168 responses
    2,266 views
    0 likes
    Last Post sidlercom80  
    Started by Barry Milan, Yesterday, 10:35 PM
    3 responses
    13 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Working...
    X