NormDensity (Function)

image\trumpet2.gif Disclaimer

The NormDensity function calculates the normal density (also called distribution) for a specific value.

Syntax

NormDensity(Price, Length)

Returns (Double)

A numeric value containing the normal density (also called distribution) for a specific value.

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 density of the current Close based on the last 20 bars.

Value1 = NormDensity(Close, 20);