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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    144 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    71 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    125 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    79 views
    0 likes
    Last Post PaulMohn  
    Working...
    X