【SmoothedAverage】
[code]inputs:PriceValue( numericseries ),
Len( numericsimple ) ;
if CurrentBar = 1 then
SmoothedAverage = Average( PriceValue, Len )
else
SmoothedAverage = ( Summation( PriceValue, Len + 1 ) - SmoothedAverage[1] ) / Len ;
[/code]
页:
[1]