【SummationIf】
[code]inputs: Test( truefalseseries ), PriceValue( numericseries ), Len( numericsimple ) ;variables: var0( 0 ) ;
var0 = 0 ;
for Value1 = 0 to Len - 1
begin
if Test[Value1] then
var0 = var0 + PriceValue[Value1] ;
end ;
SummationIf = var0 ;
[/code]
页:
[1]