Plotted DataSeries has fewer bars than the Symbol being charted Error
Author: FishFlip_MVP
Creation Date: 5/10/2011 12:26 AM
profile picture

FishFlip_MVP

#1
Hi


I am trying to plot a Bollinger Band and keep getting the following error

QUOTE:
Plotted DataSeries has fewer bars than the Symbol being charted


I did try searching in the wiki for a solution but i could not resolve my problem.

Here http://www2.wealth-lab.com/wl5wiki/kbErrorsStrategy.ashx it talks about RestoreContext() but i dont think it applies in this case.

My Code:
CODE:
Please log in to see this code.

profile picture

Eugene

#2
The code attempts plotting Bollinger Bands w/o having synchronized them first. This works for me:
CODE:
Please log in to see this code.

If that doesn't help, we need to find out more about your data in order to reproduce.
profile picture

FishFlip_MVP

#3
Thankyou, that resolves it for me
profile picture

Eugene

#4
You're welcome.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).