I create one chart with two lines , one the TCandleSeries , the other is TLineSeries and it's functin is TCCIFunction and the parents series is TCandleSeries . Set the period of TCCIFunction to 14,others is default. and I do Series1.FillSampleValues(100);I find that the last 14 points of TCCIFunction is almost same,Something wrong on it ?Please help me!
TForm1 = class(TForm)
Chart1: TChart;
BitBtn1: TBitBtn;
Series1: TCandleSeries;
Series2: TLineSeries;
TeeFunction1: TCCIFunction;
procedure BitBtn1Click(Sender: TObject);
......
procedure TForm1.BitBtn1Click(Sender: TObject);
begin
Series1.Clear;
Series1.FillSampleValues(100);
end;
One bug in TCCIFunction
-
- Newbie
- Posts: 12
- Joined: Sun Oct 31, 2004 4:00 am
- Location: china
Hi Steven,
it works fine here (using the latest v7.01). Using your code I can edit the Chart and see that the latest 14 points are not the same. To notice the changes in the function line you should change the left axis scales..
it works fine here (using the latest v7.01). Using your code I can edit the Chart and see that the latest 14 points are not the same. To notice the changes in the function line you should change the left axis scales..
Pep Jorge
http://support.steema.com
http://support.steema.com
-
- Newbie
- Posts: 12
- Joined: Sun Oct 31, 2004 4:00 am
- Location: china