macdext
MACDEXT
Type:
macdext
• Category:indicators
Description
MACD with controllable MA types
Parameters
Name | Type | Description | Required | Default |
---|---|---|---|---|
dataExp | string | Price list | no | |
fastperiod | number | no | 12 | |
fastmatype | number | no | 0 | |
slowperiod | number | no | 26 | |
slowmatype | number | no | 0 | |
signalperiod | number | no | 9 | |
signalmatype | number | no | 0 |
Help
MACDEXT
Description
The MACDEXT worker is an indicator used in financial markets, specifically designed to provide insights through a Moving Average Convergence Divergence (MACD) calculation with controllable Moving Average (MA) types.
What does this worker do?
This worker calculates the MACD, a trend-following momentum indicator that shows the relationship between two moving averages (MA) of a security’s price. The MACDEXT allows for the customization of the MA types used for the fast, slow, and signal lines, providing flexibility in how the MACD is calculated.
How to interpret the results
The MACDEXT worker outputs the MACD line, the signal line, and often a histogram representing the difference between the MACD and signal lines.
- When the MACD line crosses above the signal line, it can be considered a bullish signal.
- Conversely, when the MACD line crosses below the signal line, it can be considered a bearish signal.
Parameters
The following parameters can be configured for the MACDEXT worker:
Parameters Schema (JSON)
{
"dataExp": {
"type": "string",
"description": "Price list"
},
"fastperiod": {
"type": "number",
"default": 12
},
"fastmatype": {
"type": "number",
"default": 0
},
"slowperiod": {
"type": "number",
"default": 26
},
"slowmatype": {
"type": "number",
"default": 0
},
"signalperiod": {
"type": "number",
"default": 9
},
"signalmatype": {
"type": "number",
"default": 0
}
}
Detailed Parameters List
-
dataExp:
- Type: string
- Description: Refers to the price list or data expression used for calculations.
-
fastperiod:
- Type: number
- Default: 12
- Description: The period used for the fast MA.
-
fastmatype:
- Type: number
- Default: 0
- Description: The type of MA used for the fast line.
-
slowperiod:
- Type: number
- Default: 26
- Description: The period used for the slow MA.
-
slowmatype:
- Type: number
- Default: 0
- Description: The type of MA used for the slow line.
-
signalperiod:
- Type: number
- Default: 9
- Description: The period used for the signal line.
-
signalmatype:
- Type: number
- Default: 0
- Description: The type of MA used for the signal line.
By adjusting these parameters, users can customize the MACDEXT worker to suit their specific analysis needs in financial markets.