|
Description |
Measures the dispersion of a frequency distribution. A frequency distribution is the square root of the arithmetic mean of the squares of the deviation of each class frequency from the arithmetic mean of the frequency distribution. |
|
|
Syntax |
|
|
|
Parameters |
SERIES Use the SERIES parameter when you are referencing a study value. In chart windows, values are displayed in decimals. In quote windows, values are displayed in the units of the underlying instrument.
INPUT Use the INPUT parameter when you are referencing an overlay value.
periods The periods parameter defines the range in terms of the number of bars from the current bar.
[shift] Optional. A number, positive or negative, enclosed in brackets defining the number of bars (periods) to shift the formula line. Typically used only in formulas that will be displayed in chart windows. Note that the brackets are literal. |
|
|
Return Value |
The standard deviation. |
|
|
Examples |
Dev1(SERIES,periods=10)=begin retval = Dev(SERIES,period) end
Dev2(INPUT,periods=100)=begin retval = Dev(INPUT,period[1]) end |
|
|
Comments |
Standard deviation identifies the way in which a probability is centered around its mean. It describes market data in terms of how far prices vary from the arithmetic mean. |