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 andrewtrades, Today, 04:57 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by chbruno, Today, 04:10 PM
    0 responses
    6 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by josh18955, 03-25-2023, 11:16 AM
    6 responses
    436 views
    0 likes
    Last Post Delerium  
    Started by FAQtrader, Today, 03:35 PM
    0 responses
    9 views
    0 likes
    Last Post FAQtrader  
    Started by rocketman7, Today, 09:41 AM
    5 responses
    20 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X