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:	71
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 NullPointStrategies, Today, 05:17 AM
    0 responses
    53 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    130 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    70 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    44 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X