Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy execution and chart executions are very different

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

    Strategy execution and chart executions are very different

    Hi
    I have implemented a simple strategy which I have running on my funding account to test it out.
    The issue is that after the first day the actual executions (trades) and the executions on the chart are not even similar.
    I would expect that they would match otherwise how can i use the chart to backtest anything ?

    Please advise on how this discrepancy is created.

    The time zone is EST. I started the strategy around 18.00 yesterday evening.

    Best Regards,
    Sune Click image for larger version

Name:	Screenshot 2024-08-26 205352.png
Views:	81
Size:	466.5 KB
ID:	1315761

    #2
    Hello SuneSorgenfrei,

    Were the orders on the chart submitted when State is State.Realtime?

    For the orders to be the same (or as similar as possible) the data must be the same (including starting with the same bar) and 1-tick intra-bar granularity needs to be implemented and TickReplay must be enabled if using Calculate.OnEachTick or .OnPriceChange.

    The support article linked below provides direction, and provides an example script and video which demonstrate how to write the output to a text file to find exactly what is causing differences.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    90 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    137 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    120 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X