【NormCumDensity】
[code]inputs: PriceValue( numericseries ), Len( numericsimple ) ;variables: var0( 0 ), var1( 0 ) ;
var0 = Average( PriceValue, Len ) ;
var1 = StandardDev( PriceValue, Len, 2 ) ;
if var1 > 0 then
NormCumDensity = NormSCDensity( ( PriceValue - var0 ) / var1 )
else
NormCumDensity = -1 ;
[/code]
页:
[1]