Bollinger Bands
Type:
bbands
• Category:indicators
Description
Calculates Bollinger Bands based on a list of closing prices
Parameters
Name | Type | Description | Required | Default |
---|---|---|---|---|
dataExp | string | List of closing prices | no | |
timeperiod | number | no | 5 | |
nbdevup | number | no | 2 | |
nbdevdn | number | no | 2 | |
matype | number | no | 0 |
Help
Bollinger Bands
Description
The Bollinger Bands worker calculates Bollinger Bands based on a list of closing prices. Bollinger Bands are a technical indicator used in financial markets to measure volatility and identify potential trading opportunities.
What does this worker do?
This worker takes a list of closing prices and calculates the Bollinger Bands, which consist of a moving average and two standard deviations plotted above and below it. The bands help to identify periods of high and low volatility, as well as potential breakouts and reversals.
How to interpret the results
The Bollinger Bands can be interpreted as follows:
- When the price touches or crosses the upper band, it may indicate overbought conditions and a potential reversal.
- When the price touches or crosses the lower band, it may indicate oversold conditions and a potential reversal.
- When the bands are narrow, it may indicate low volatility and a potential breakout.
- When the bands are wide, it may indicate high volatility and a potential trend continuation.
Parameters
The following parameters can be passed to the Bollinger Bands worker:
Parameters Schema (JSON)
{
"dataExp": {
"type": "string",
"description": "List of closing prices"
},
"timeperiod": {
"type": "number",
"default": 5
},
"nbdevup": {
"type": "number",
"default": 2
},
"nbdevdn": {
"type": "number",
"default": 2
},
"matype": {
"type": "number",
"default": 0
}
}
Parameters List
- dataExp:
- Type:
string
- Description: List of closing prices
- Type:
- timeperiod:
- Type:
number
- Default:
5
- Description: The time period for the moving average
- Type:
- nbdevup:
- Type:
number
- Default:
2
- Description: The number of standard deviations for the upper band
- Type:
- nbdevdn:
- Type:
number
- Default:
2
- Description: The number of standard deviations for the lower band
- Type:
- matype:
- Type:
number
- Default:
0
- Description: The type of moving average (0 = Simple, 1 = Exponential, 2 = TimeSeries, 3 = Variable, 4 = Wilder)
- Type: