Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

No Results during Backtest / Strategy Analyzer

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

    No Results during Backtest / Strategy Analyzer

    Hi,

    I can run the sample MA crossover in the strategy analyzer perfectly fine. It works, I like it. The sample is nice and I have created a strategy that's similar in the strategy builder that includes profit targets and a stop loss. This created strategy isn't providing any back test results in the strategy analyzer.

    Can you point me the right direction as to common issues why a strategy may not back-test? I'm running NT8.

    #2
    Hello Beachwalker,

    There was a bug in NT8 Beta 12 that causes scripts to not process when an indicator is called. This is tracked with ID# NTEIGHT-10100 and is corrected for NT8 Beta 13.

    The issue is the code added to the beginning of OnBarUpdate where there is an incorrect check for Indicator.CurrentBar.

    You can unlock your script and correct this manually in the time being.

    Change that condition to:

    if (CurrentBar < BarsRequiredToTrade)
    return;
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    117 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    166 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    85 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    130 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    88 views
    0 likes
    Last Post PaulMohn  
    Working...
    X