Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

backtest results differs from live testing

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

    backtest results differs from live testing

    Why does my back testing results differs from forward live testing? Back testing shows today's trades are all profitable. However, I had trades during the day that were a loss. This happens every week when using my automated strategy trading.

    #2
    Originally posted by CactusMo View Post
    Why does my back testing results differs from forward live testing? Back testing shows today's trades are all profitable. However, I had trades during the day that were a loss. This happens every week when using my automated strategy trading.
    The age old question.

    Market Replay will mimic live very closely and should be used in final determination before going live.



    Comment


      #3
      With intra-bar granularity, results will typically vary. I suggest you consider adjusting your strategy to buy the open based on the previous closing bar.

      You can do this without setting "CalculateOnBarClose = true", by using the [1] offset on all indicators.

      Some strategy features might not lend well to this, such a as programmatic stop loss, but if you limit features with intra-bar triggered signals, the forward testing results will better match backtesting.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      81 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      46 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      29 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      32 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      66 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X