TEMA
Type:
tema
• Category:indicators
Description
Calculates the triple exponential moving average based on a list of prices
Parameters
Name | Type | Description | Required | Default |
---|---|---|---|---|
dataExp | string | List of prices | no | |
timeperiod | number | no | 30 |
Help
TEMA
Triple Exponential Moving Average Indicator
Description
The TEMA (Triple Exponential Moving Average) indicator is a technical analysis tool used in financial markets to smooth out price data and identify trends. It calculates the triple exponential moving average based on a list of prices.
What does this worker do?
This worker calculates the TEMA for a given list of prices over a specified time period. It takes a list of prices and a time period as input and returns the TEMA values.
How to interpret the results
The TEMA indicator can be used to:
- Identify trends: A rising TEMA indicates an uptrend, while a falling TEMA indicates a downtrend.
- Signal buy and sell points: When the TEMA crosses above the price, it's a buy signal. When it crosses below, it's a sell signal.
Parameters
The following parameters can be passed to the TEMA worker:
Parameters Schema (JSON)
{
"dataExp": {
"type": "string",
"description": "List of prices"
},
"timeperiod": {
"type": "number",
"default": 30
}
}
Detailed Parameters
- dataExp:
- Type:
string
- Description: A list of prices.
- Type:
- timeperiod:
- Type:
number
- Description: The time period for the TEMA calculation.
- Default:
30
- Type:
Example Usage
To use the TEMA worker, provide a list of prices and a time period. For example:
{
"dataExp": "[1.2, 3.4, 5.6, 7.8, 9.0]",
"timeperiod": 30
}
This will calculate the TEMA for the given list of prices over a 30-period time frame.