TPVOFunction.Period2

TPVOFunction.Period2
TPVOFunction

property Period2: Integer;

Unit
StatChar

Description
Default : 26

Defines the period of the second exponential moving average.

Use the Period property to set the first average period.

TeeFunction1.Period := 12 ;
TeeFunction1.Period2 := 28 ;

After changing Period or Period2, the function automatically recalculates unless you call the BeginUpdate and EndUpdate methods.

with TeeFunction1 do
begin
BeginUpdate;
Period := 12 ;
Period2 := 28 ;
EndUpdate;
end;