• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 fredrikn, 05-08-2019, 04:01 AM
    17 responses
    669 views
    1 like
    Last Post emtrader  
    Started by zacharydw00, Yesterday, 10:19 PM
    0 responses
    3 views
    0 likes
    Last Post zacharydw00  
    Started by chafan11, Yesterday, 09:28 PM
    0 responses
    7 views
    0 likes
    Last Post chafan11  
    Started by GreenspanAlec, Yesterday, 05:32 PM
    0 responses
    7 views
    0 likes
    Last Post GreenspanAlec  
    Started by mrwarkhan, Yesterday, 03:45 PM
    0 responses
    18 views
    0 likes
    Last Post mrwarkhan  
    Working...
    X