【NormalCumDensity_a】
[code]Inputs: NDArray[size](NumericArrayRef), VArraySize(Numeric), PriceValue(Numeric);Variable: var0(3.141593), var1(0), var2(0);
var1 = Average_a(NDArray, VArraySize);
var2 = StdDevS_a(NDArray, VArraySize);
If var2 <> 0 Then Begin
value1 = (PriceValue - var1) / var2;
NormalCumDensity_a = NormalSCDensity(value1);
End
Else
NormalCumDensity_a = -1;
[/code]
页:
[1]