Skew (Function)
The Skew function calculates the skewness of a distribution for a set of values.
Syntax
Skew(Price, Length)
Returns (Double)
A numeric value containing the skewness of a distribution.
Parameters
Name |
Type |
Description |
Price |
Numeric |
Specifies which bar value (price, function, or formula) on which the skew will be based. |
Length |
Numeric |
Sets the number of bars to use to build the distribution. |
Remarks
Skewness characterizes the degree of asymmetry of a distribution around its mean. Positive skewness indicates a distribution with an asymmetric tail extending toward more positive values. Negative skewness indicates a distribution with an asymmetric tail extending toward more negative values.
Example
Assigns to Value1 the skew of the distribution of the closes of the last 100 bars you can write:
Value1 = Skew(Close, 100);