Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Exception: Resource Not Defined

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

    Strategy Exception: Resource Not Defined

    My strategy is throwing exceptions during Backtests due to resources not being defined.

    I don't require any resources, and the exceptions are massively slowing down the backtest. How can I stop this?

    Here are all the exceptions from the Ninjatrader log that occured in 200 milliseconds (pretty ridiculous). No wonder my strategy takes a 4 hours to do a 1 week backtest.

    2017-06-07 05:26:22:001 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:004 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:006 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:008 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:010 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:012 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:014 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:016 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:025 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:027 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:029 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:032 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:034 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:036 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:038 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:040 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:042 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:044 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:046 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:048 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:051 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:053 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:055 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:057 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:059 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:061 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:064 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:076 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:078 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:081 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:083 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:085 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:089 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:091 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:093 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:096 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:098 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:105 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:108 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:110 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:113 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:115 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:117 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:119 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:122 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:124 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:126 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:129 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:149 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:151 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:153 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:155 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:158 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:160 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:162 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:164 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:166 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:168 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:170 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:172 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:175 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:177 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:179 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:181 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:184 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:186 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'
    2017-06-07 05:26:22:207 ERROR: Panic: Resource 'NinjaTrader.Strategy314.Strategy314X' not defined in 'NinjaTrader.Strategy314.Strategy314X'

    #2
    Hello,

    I wanted to check, does this occur with the SampleMACrossOver strategy using a similar setup?

    If not, could you provide a sample of the syntax that generates this error for further review?

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by wjadevries, Today, 03:35 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by Mykro, Today, 03:59 PM
    0 responses
    4 views
    0 likes
    Last Post Mykro
    by Mykro
     
    Started by venkateshdvk, Today, 01:34 PM
    1 response
    21 views
    0 likes
    Last Post NinjaTrader_Kate  
    Started by westofpluto, Today, 01:54 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by zacharydw00, Today, 02:11 PM
    4 responses
    15 views
    0 likes
    Last Post zacharydw00  
    Working...
    X