minus_dm
MINUS_DM
Type:
minus_dm
• Category:indicators
Description
Minus Directional Movement
Parameters
Name | Type | Description | Required | Default |
---|---|---|---|---|
high | string | List of highest prices | no | |
low | string | List of lowest prices | no | |
timeperiod | number | no | 14 |
Help
MINUS_DM
Description
The MINUS_DM worker calculates the Minus Directional Movement (MDM) indicator, which is used in financial markets to gauge the downward price movement of an asset.
What does this worker do?
This worker computes the Minus Directional Movement, which is a component of the Directional Movement System. It helps in understanding the bearish or downward movement in the price of a financial instrument.
How to interpret the results
The Minus Directional Movement (MDM) values generated by this worker indicate the extent of downward price movement. A higher MDM value suggests a stronger downward movement, indicating potential bearishness in the market. Conversely, lower MDM values suggest weaker downward movement.
Parameters
The following parameters can be passed to the MINUS_DM worker:
Parameters Schema (JSON)
{
"high": {
"type": "string",
"description": "List of highest prices"
},
"low": {
"type": "string",
"description": "List of lowest prices"
},
"timeperiod": {
"type": "number",
"default": 14
}
}
Detailed Parameters
-
high:
- Type: string
- Description: A list of highest prices. This should be a comma-separated string of numerical values representing the high prices of the asset over a specified period.
-
low:
- Type: string
- Description: A list of lowest prices. This should be a comma-separated string of numerical values representing the low prices of the asset over a specified period.
-
timeperiod:
- Type: number
- Default: 14
- Description: The time period used for calculation. By default, it is set to 14, which is commonly used in technical analysis for many indicators. Adjusting this parameter changes the sensitivity of the MDM calculation.
Usage
To use the MINUS_DM worker, provide the required parameters (high, low, and optionally timeperiod) in the specified format. Ensure that the lists of high and low prices are of the same length and correspond to the same time intervals. The worker will then compute and return the Minus Directional Movement values based on the provided inputs.