DEMA
Type:
dema• Category:indicators
Description
Calculates Double Exponential Moving Average based on price list
Parameters
| Name | Type | Description | Required | Default |
|---|---|---|---|---|
dataExp | string | prices data | no | |
price | string | Price field to use to calculate DEMA | no | |
timeperiod | number | Number of periods to use for DEMA calculation | no | 30 |
indicator | string | no | "DEMA" |
Help
DEMA (Double Exponential Moving Average)
Description
The DEMA (Double Exponential Moving Average) worker is a financial analysis tool used to calculate the Double Exponential Moving Average of a given price list. This indicator helps in smoothing out price data and providing a clearer view of market trends.
What does this worker do?
The DEMA worker takes in a dataset of prices and calculates the Double Exponential Moving Average based on a specified price field and time period. It returns the DEMA values, which can be used to analyze market trends and make informed decisions.
How to interpret the results
The DEMA indicator can be used to:
- Identify trends: When the DEMA is above the price, it indicates an uptrend, and when it's below, it indicates a downtrend.
- Generate signals: Crossovers between the DEMA and the price or other moving averages can be used as buy or sell signals.
Implementation
To use the DEMA worker, simply provide the required parameters:
dataExp: prices dataprice: Price field to use to calculate DEMAtimeperiod: Number of periods to use for DEMA calculationindicator: No description
Example Usage
A step-by-step example of using the DEMA worker can be seen in the following GIFs:
Full Usage Example
[](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_full.gif)
Short Usage Example
[](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_short.gif)
Additional Information
The Double Exponential Moving Average (DEMA) is a type of moving average that uses two exponential moving averages to provide a more accurate and responsive indicator of market trends. It was developed by David Stokely in the 1990s and is used in technical analysis to reduce the noise and whipsaws associated with traditional moving averages.
By using the DEMA worker, users can gain a better understanding of market trends and make more informed decisions.