【NormalDensity_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
NormalDensity_a = (1 / (SquareRoot(2 * var0)* var2))* ExpValue(-Square(PriceValue - var1)/(2 * Square(var2)));
[/code]
页:
[1]