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 DayTradingDEMON, Today, 09:28 AM
    3 responses
    19 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Stanfillirenfro, Today, 07:23 AM
    9 responses
    23 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by George21, Today, 10:07 AM
    0 responses
    8 views
    0 likes
    Last Post George21  
    Started by navyguy06, Today, 09:28 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by cmtjoancolmenero, Yesterday, 03:58 PM
    8 responses
    32 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X