![]() |
|
|||||||
| Miscellaneous Support Miscellaneous support issues. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | |
|
Senior Member
Join Date: Mar 2006
Location: Bellingham, WA , USA
Posts: 331
Thanks: 0
Thanked 11 times in 8 posts
|
I downloaded an indicator from a forum which appears to work just fine. the code is open and I can look at it. However, I keep getting the following message in the log file:
"Failed to call method 'Initialize' for indicator BTAutoPivots.' Object reference not set to an instance of an object." What kind of thing should I be looking for in the code that might cause this kind of message? It doesn't seem to be affecting the performance of the indicator itself but how would I know. other than it doesn't work at all? I'm adding the first part of the code and it clearly does have an initialization section. Thanks DaveN Quote:
|
|
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,555
Thanks: 261
Thanked 1,013 times in 994 posts
|
Dave, the Initialize() you posted looks ok to me - is this part of any chart template / workspace? Can you please try if you see the same error in the log if you load the indicator in a fresh workspace and on a fresh chart?
Thanks
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Mar 2006
Location: Bellingham, WA , USA
Posts: 331
Thanks: 0
Thanked 11 times in 8 posts
|
I will try that later today and see what happens.
Thanks |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Failed to call method 'Initialize' for strategy ' | richa61416 | Version 7 Beta General Questions & Bug Reports | 10 | 04-23-2010 04:20 AM |
| failed to call method 'initialize' for indicator | tinkerz | General Programming | 4 | 02-22-2010 09:46 AM |
| ERROR: Failed to call method 'Initialize' for indicator | NinjaCustomer | Indicator Development | 11 | 12-09-2009 05:41 AM |
| ERROR: Failed to call 'Add' method for period type 'Tick' | RK_trader | Miscellaneous Support | 24 | 06-04-2009 05:49 AM |
| Failed to call method "Initialize" for indicator 'Test': Object reference not set to | clearpicks | Indicator Development | 3 | 04-23-2008 12:53 PM |