Skip to main content

ADX

Type: adx • Category: indicators

Description

Average Directional Movement Index

Parameters

NameTypeDescriptionRequiredDefault
highstringList of highest pricesno
lowstringList of lowest pricesno
closestringList of closing pricesno
timeperiodnumberno14

Help

ADX (Average Directional Movement Index)

Overview

The ADX (Average Directional Movement Index) worker is an indicator used in financial markets to measure the strength of a trend. It is a popular technical analysis tool that helps traders determine whether a market is trending or not.

Description

The Average Directional Movement Index (ADX) is a technical indicator that measures the strength of a trend by plotting the average directional movement index. The ADX is a non-directional indicator that ranges from 0 to 100. A high ADX value indicates a strong trend, while a low ADX value indicates a weak or absent trend.

What does this worker do?

This worker calculates the Average Directional Movement Index (ADX) for a given set of high, low, and close prices over a specified time period. The ADX value is then returned as output.

How to interpret the results

The ADX value can be interpreted as follows:

  • A high ADX value (> 25) indicates a strong trend.
  • A low ADX value (< 20) indicates a weak or absent trend.
  • A ADX value between 20 and 25 indicates a neutral trend.

Parameters

The following parameters are required to calculate the ADX:

Parameters Schema (JSON)

{
"high": {
"type": "string",
"description": "List of highest prices"
},
"low": {
"type": "string",
"description": "List of lowest prices"
},
"close": {
"type": "string",
"description": "List of closing prices"
},
"timeperiod": {
"type": "number",
"default": 14
}
}

Parameters List

  • high: string - List of highest prices.
  • low: string - List of lowest prices.
  • close: string - List of closing prices.
  • timeperiod: number (default: 14) - The time period used to calculate the ADX.

Example Usage

To use this worker, simply provide the required parameters in the format specified above. For example:

{
"high": "10, 12, 15, 18, 20",
"low": "8, 10, 12, 15, 18",
"close": "9, 11, 14, 17, 19",
"timeperiod": 14
}

This will return the calculated ADX value for the given set of prices and time period.