Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy and indicator not backtesting

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

    Strategy and indicator not backtesting

    I’ve created a custom indicator and a strategy that uses that indicator. During real trading everything works fine. Also, when the strategy is first loaded to a chart, all of the historical data on the chart is processed and marked up properly. However, nothing is working right when using the strategy analyzer. It runs, but no data comes back at all. The Chart tab displays the correct information, but nothing shows up in the Summary – not a single trade. I’ve double checked all the setting in the Analyzer but can’t figure this one out.
    I put a Print statement in the OnBarUpdate() of both the strategy and indicator. The strategy prints to the output window, but the indicator does not.
    Any ideas what could be causing this?
    Thanks
    -Scott

    #2
    I'd like to add that after the backtest runs and I get no data in the Summary screen or my Output windown, as soon as I click the Chart Tab, the strategy process all the historical data and fills the output window with what should have happend in the backtest.

    Why would that be?

    -Scott

    Comment


      #3
      Sorry I don't know what's going on. I suggest debugging your strategy as per here: http://www.ninjatrader-support.com/v...ead.php?t=3418

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by jaybedreamin, Today, 05:56 PM
      0 responses
      2 views
      0 likes
      Last Post jaybedreamin  
      Started by DJ888, 04-16-2024, 06:09 PM
      6 responses
      18 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by Jon17, Today, 04:33 PM
      0 responses
      1 view
      0 likes
      Last Post Jon17
      by Jon17
       
      Started by Javierw.ok, Today, 04:12 PM
      0 responses
      6 views
      0 likes
      Last Post Javierw.ok  
      Started by timmbbo, Today, 08:59 AM
      2 responses
      10 views
      0 likes
      Last Post bltdavid  
      Working...
      X