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