【DevSqrd】
[code]inputs: PriceValue( numericseries ), Len( numericsimple ) ;variables: var0( 0 ), var1( 0 ) ;
var0 = 0 ;
var1 = Average( PriceValue, Len ) ;
for Value1 = 0 to Len - 1
begin
var0 = var0 + Square( PriceValue[Value1] - var1 ) ;
end ;
DevSqrd = var0 ;
[/code]
页:
[1]