NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 04-10-2012, 03:05 PM   #1
nicbizz
Senior Member
 
Join Date: Jun 2010
Posts: 129
Thanks: 17
Thanked 6 times in 4 posts
Default pop-up error "barsArray[0] == null"

Hi,

I'm getting the above pop-up error whenever I try to add or change parameters for my indicator. It works fine, however, if the indicator was already pre-loaded, and I do a refresh (F5).

I'm not quite sure what the error is trying to tell me. Any idea on which area of code I should be investigating?

Thanks!

Regards,
Nick
Attached Images
File Type: png NT Error.png (92.2 KB, 9 views)
nicbizz is offline  
Reply With Quote
Old 04-10-2012, 03:17 PM   #2
NinjaTrader_Matthew
NinjaTrader Customer Service
 
NinjaTrader_Matthew's Avatar
 
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,794
Thanks: 160
Thanked 568 times in 559 posts
Default

Hello,

If this is an indicator you have created, you can use Try-Catch blocks to try and isoalte the error and debug it.

Please see our Forum Post on this method for more information:

http://www.ninjatrader.com/support/f...ead.php?t=9825
NinjaTrader_Matthew is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Assertion failed error BarsArray[0] == null VTtrader Indicator Development 2 11-18-2010 12:31 PM
"ERROR: HISTBACKFILL "$INDU" Hdr: 400 Service FAILED " trader_rick1234 Version 7 Beta General Questions & Bug Reports 1 05-24-2010 08:01 AM
option to remove "buy ask" and "sell bid" on chart trader leontancfa Charting 1 07-01-2009 01:23 PM
why is the "strategies" menu item in pop up menu disabled? clearpicks Strategy Development 0 06-21-2009 04:39 PM
summary of "strategy realized" is not equal "account performance, total net profit"" Fragolino Miscellaneous Support 1 02-19-2009 04:12 AM


All times are GMT -6. The time now is 07:44 AM.