Hi,
When I used Bollinger function, only 1 serie is added in TeeChart Editor but 2 series are displayed in Chart Control
I would like to have 2 series added in my Teechart editor when I use Bollinger function (1 for upper band and 1 for lower band)...How can I do that ?
Thank you
Regards,
Guilz
Bollinger Issue - only 1 serie added in Teechart Editor ?
Re: Bollinger Issue - only 1 serie added in Teechart Editor ?
Hi Guliz,
I've added your request to the wish list to be implemented in future releases (TV52015105).
Right now, it can be done if you know the index of the internal series:
I've added your request to the wish list to be implemented in future releases (TV52015105).
Right now, it can be done if you know the index of the internal series:
Code: Select all
uses StatChar, Series;
procedure TForm1.FormCreate(Sender: TObject);
var Series1: TFastLineSeries;
Series2: TFastLineSeries;
TeeFunction1: TBollingerFunction;
begin
Chart1.View3D:=false;
Series1:=Chart1.AddSeries(TFastLineSeries) as TFastLineSeries;
Series1.Pen.Width:=2;
Series1.FillSampleValues(100);
Series2:=Chart1.AddSeries(TFastLineSeries) as TFastLineSeries;
TeeFunction1:=TBollingerFunction.Create(self);
Series2.FunctionType:=TeeFunction1;
Series2.DataSource:=Series1;
Chart1[Chart1.SeriesCount-1].ShowInEditor:=true;
Chart1[Chart1.SeriesCount-1].ShowInLegend:=true;
end;
Best Regards,
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |
Re: Bollinger Issue - only 1 serie added in Teechart Editor ?
Hi Yeray,
You're right - the ShowInEditor method solve this issue...waiting the next release
Thank you !
Regards,
Guilz
You're right - the ShowInEditor method solve this issue...waiting the next release

Thank you !
Regards,
Guilz