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 CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    22 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    24 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-25-2026, 09:53 PM
    0 responses
    30 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 03-25-2026, 09:51 PM
    0 responses
    18 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 03-23-2026, 11:13 AM
    0 responses
    27 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X