stddev
STDDEV
Type:
stddev
• Category:indicators
Description
Standard Deviation
Parameters
Name | Type | Description | Required | Default |
---|---|---|---|---|
dataExp | string | List of prices | no | |
timeperiod | number | no | 5 | |
nbdev | number | no | 1 |
Help
STDDEV
Overview
The STDDEV worker calculates the Standard Deviation, a widely used indicator in financial markets to measure the volatility of a security's price.
Description
The Standard Deviation is a statistical measure that represents the dispersion of a set of data points from their mean value. In the context of financial markets, it is used to gauge the volatility of a security's price over a given period.
What does this worker do?
The STDDEV worker takes a list of prices and calculates the standard deviation over a specified period, providing a measure of volatility. This can be useful for:
- Identifying potential trading opportunities
- Setting stop-loss levels
- Evaluating the risk associated with a security
How to interpret the results
The standard deviation value returned by the worker represents the volatility of the security's price over the specified period. A higher value indicates greater volatility, while a lower value indicates lower volatility.
Parameters
The STDDEV worker accepts the following parameters:
JSON Schema
{
"dataExp": {
"type": "string",
"description": "List of prices"
},
"timeperiod": {
"type": "number",
"default": 5
},
"nbdev": {
"type": "number",
"default": 1
}
}
Parameters List
- dataExp:
- Type:
string
- Description: List of prices
- Type:
- timeperiod:
- Type:
number
- Description: The period over which to calculate the standard deviation
- Default:
5
- Type:
- nbdev:
- Type:
number
- Description: The number of standard deviations to use for the calculation
- Default:
1
- Type:
By adjusting these parameters, you can customize the STDDEV worker to suit your specific needs and analyze the volatility of security prices in different contexts.