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
Lower bollingerband not showing in version 6-apr-2007
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Hello!
The following code:
Gives me the following image:
Is this what you get at your end?
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");
}
Is this what you get at your end?
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/