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 DannyP96, 05-18-2026, 02:38 PM
    1 response
    27 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    117 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    69 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    226 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    415 views
    0 likes
    Last Post CaptainJack  
    Working...
    X