Kurtosis (Function)
The Kurtosis function calculates the Kurtosis of a data set, which is based on the size of the tails of a distribution curve.
Syntax
Kurtosis(Price, Length)
Returns (Double)
A numeric value containing the Kurtosis of the specified data set. If Length is less than 3, the function returns zero.
Parameters
Name |
Type |
Description |
Price |
Numeric |
Specifies which bar value (price, function, or formula) to use for the distribution. |
Length |
Numeric |
Sets the number of bars used to build the distribution. |
Remarks
Kurtosis characterizes the relative peakedness or flatness of a distribution compared with the normal distribution. Positive Kurtosis indicates a relatively peaked distribution. Negative Kurtosis indicates a relatively flat distribution.
Example
Assigns to Values1 the Kurtosis of the distribution of the closing prices during the last 100 periods:
Value1 = Kurtosis(Close, 100);