ADX
#
ADX
#
ADX(
di_period: int,
adx_period: int,
input_values: List[OHLCV] = None,
input_indicator: Indicator = None,
input_modifier: InputModifierType = None,
input_sampling: SamplingPeriodType = None,
)
Bases: Indicator
Average Directional Index.
Input type: OHLCV
Output type: ADXVal
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
di_period |
int
|
Directional Index period. |
required |
adx_period |
int
|
Average Directional Index period. |
required |
input_values |
List[OHLCV]
|
List of input values. |
None
|
input_indicator |
Indicator
|
Input indicator. |
None
|
input_modifier |
InputModifierType
|
Input modifier. |
None
|
input_sampling |
SamplingPeriodType
|
Input sampling type. |
None
|