NormCumDensity (Function)
The NormCumDensity function calculates the normal density (also called distribution) for the specified mean and standard deviation.
Syntax
NormalCumDensity(Price, Length)
Returns (Double)
A numeric value containing the normal cumulative density for the specified mean and standard deviation.
Parameters
Name |
Type |
Description |
Price |
Numeric |
Specifies which bar value (price, function, or formula) to be considered. |
Length |
Numeric |
Sets the number of bars to be considered. |
Remarks
This function has a very wide range of applications in statistics, including hypothesis testing.
Example
Assigns to Value1 the Normal Cumulative Density of the current Close based on the last 20 bars.
Value1 = NormalCumDensity(Close, 20);