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 > Application Technical Support > Charting

Charting Support for NinjaTrader Advanced Charting.

Reply
 
Thread Tools Display Modes
Old 06-19-2012, 01:31 AM   #1
sercava
Member
 
Join Date: Nov 2011
Posts: 55
Thanks: 18
Thanked 3 times in 3 posts
Default Missing plot in first bars

Hi!

There is something I've just noticed. I have data of the indicator in the data window but nothing is plotted in first bars.

Attached a screenshot showing two averages and below a simple indicator that counts bars. Nothing is plotted before bar 20.

I want to plot the data if there are data to display. Is there any setting I'm missing?

Thanks in advance,

Sergio
Attached Images
File Type: jpg firstbars.jpg (114.6 KB, 3 views)
sercava is offline  
Reply With Quote
Old 06-19-2012, 01:40 AM   #2
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,240
Thanks: 83
Thanked 338 times in 330 posts
Default

Hello Sergio,

Unfortunately this is as expected behavior. Indicators are not plotted on the first 20 price bars. Indicators only plot after 20 price bars. It can result in issues if indicators are plotted sooner.
NinjaTrader_Jason is offline  
Reply With Quote
The following 2 users say thank you to NinjaTrader_Jason for this post:
Old 06-19-2012, 07:19 AM   #3
koganam
Senior Member
 
Join Date: Feb 2008
Location: Durham, North Carolina, USA
Posts: 3,218
Thanks: 24
Thanked 1,231 times in 1,002 posts
Send a message via Skype™ to koganam
Default

Quote:
Originally Posted by sercava View Post
Hi!

There is something I've just noticed. I have data of the indicator in the data window but nothing is plotted in first bars.

Attached a screenshot showing two averages and below a simple indicator that counts bars. Nothing is plotted before bar 20.

I want to plot the data if there are data to display. Is there any setting I'm missing?

Thanks in advance,

Sergio
With the caveat that you should be wary of unstable periods (i.e, before there is sufficient data), you can use BarsRequired to specify when to start plotting.

http://www.ninjatrader.com/support/h...rsrequired.htm
koganam is offline  
Reply With Quote
The following user says thank you to koganam for this post:
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
Strategy: Missing Bars? nohedge General Programming 5 10-25-2011 10:16 AM
Missing the plot m. khalid General Programming 1 06-20-2010 10:08 PM
I can't get this line to plot. What am I missing? kaywai General Programming 6 06-01-2010 09:23 AM
bars missing ATI user Version 7 Beta General Questions & Bug Reports 1 02-24-2010 08:08 AM
Missing Bars Michael Larsen Miscellaneous Support 2 02-22-2009 02:01 AM


All times are GMT -6. The time now is 08:59 PM.