Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error in backtest

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

    Error in backtest

    Hi, I have strategy with primary timeframe 1tick (for exact backtest) and secondary one15min (for generating signals). Market replay and live data runs correctly. during backtest it some times calculated correctly too, but mostly it ends with error. I dont know where I can look for a mistake. After initialize it find first signal, but than colapsed.see atttached log and output window.
    Attached Files
    Last edited by Libri; 06-04-2015, 03:53 AM.

    #2
    Hello Libri,

    Thank you for your post.

    These errors are seen when NinjaScript attempts to access an object that doesn't exist, or when NinjaScript attempts to access an object's properties while that object is null (which means the properties don't exist).

    Would you mind sharing the strategy code so we may investigate further? If you prefer, you can send the strategy's .cs file to platformsupport[at]ninjatrader[dot]com with this thread in the subject line: "http://www.ninjatrader.com/support/forum/showthread.php?t=74748"

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    72 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    43 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    25 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    28 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    58 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X