Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

different backtests results

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

    different backtests results

    Hello,
    I have problems with results of the backtests.
    The same strategy with the same parameters gives me absolute different backtests.
    yesterday I tested a strategy and gave me +1500$ profit , and 5 minutes later, with abolutely the same parameters (the same chart, the same period of time, the same parameters without any change ...) gave me negative result!!!!.
    Where can be the problem?

    #2
    Hello Parmenides48,

    You would need to debug the strategy in that situation to see what is changing. Adding Prints is one way to do that. The following forum post goes over debugging strategies in the various trading modes, that would also apply in this situation if you are seeing different results between backtests. The post has a sample strategy that shows some prints and how to compare outputs between tests.
    Citizens of the NinjaTrader Community, A common question we hear from clients is 'why are results from backtest different from real-time or from market replay?'. Live orders are filled on an exchange with a trading partner on an agreed upon price based on market dynamics. Backtest orders are not using these market dynamics.

    Comment


      #3
      ok I will work on it.
      thanks.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      93 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      138 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
      123 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      73 views
      0 likes
      Last Post PaulMohn  
      Working...
      X