Page 1 of 1

Lower bollingerband not showing in version 6-apr-2007

Posted: Tue Jul 17, 2007 3:40 pm
by 9644971
Hello,

Bollinger band is not showing lowerband In version 2.0.2652 (6-apr-2007) teechart .net 2.0. The previous version (2.0.2586) is showing the lowerband correctly. The supplied demoproject also does not show the lowerband (the previous version does).

What is needed to get the lowerband showing in version 2.0.2552?

Best regards,

Marc

Posted: Wed Jul 18, 2007 8:39 am
by 9348258
Hello Marc

Thank you for letting us know, we're investigating it (TF02012348).

Posted: Wed Jul 18, 2007 1:03 pm
by Chris
Hello!

The following code:

Code: Select all

		private Steema.TeeChart.Styles.Candle candle;
		private Steema.TeeChart.Functions.Bollinger bollinger;
		private Steema.TeeChart.Styles.Line line;
		private void InitializeChart()
		{
			tChart1.Series.Add(candle = new Steema.TeeChart.Styles.Candle());
			tChart1.Series.Add(line = new Steema.TeeChart.Styles.Line());
			candle.FillSampleValues();

			bollinger = newSteema.TeeChart.Functions.Bollinger(tChart1.Chart);
			line.Function = bollinger;
			line.DataSource = candle;

			Assembly assem = Assembly.GetAssembly(typeof(Steema.TeeChart.Functions.Bollinger));
			Version vers = assem.GetName().Version;
			string version = vers.Major.ToString() + "." + vers.Minor.ToString() + "." + vers.Build.ToString() + "." + vers.Revision.ToString();
			tChart1.Header.Text = version;

			tChart1.Export.Image.PNG.Width = tChart1.Width;
			tChart1.Export.Image.PNG.Height = tChart1.Height;
			tChart1.Export.Image.PNG.Save(@"C:\tmp\bollinger.png");
		}
Gives me the following image:

Image

Is this what you get at your end?