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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      47 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      23 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      33 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      51 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      42 views
      0 likes
      Last Post CarlTrading  
      Working...
      X