Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Discrepancy between Strategy Analyzer and Replay

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

    Discrepancy between Strategy Analyzer and Replay

    Good Morning,

    There are major discrepancies between backtesting and replay results with an automated strategy that I am working on. The replay most closely matches the live market.

    I can reload the replay strategy after running it for the session and the refreshed chart shows the same results as in the back test.

    Any suggestions on how to get the strategy analyzer to more closely match replay and the live market would be greatly appreciated.

    Thank You.
    Attached Files

    #2
    Hello Johnjax,

    Thank you for your post.

    This is expected to happen when comparing Real-Time results to Historical data -
    http://www.ninjatrader.com/support/h...ime_vs_bac.htm

    You would need to add intrabar granularity to your script to have it run on each tick in backtest to have a better comparison to your live results -
    http://www.ninjatrader.com/support/f...ead.php?t=6652
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Cal,

      Thank you for the info. This helps quite a bit however it is CPU intensive.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      144 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      71 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      125 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      79 views
      0 likes
      Last Post PaulMohn  
      Working...
      X