class anychart.core.stock.indicators.KDJ Improve this Doc
KDJ indicator class. Learn more about the KDJ indicator.
Methods Overview
| Series | |
| dSeries() | Indicator %D Series instance. |
| jSeries() | Indicator %J Series instance. |
| kSeries() | Indicator %K Series instance. |
| Specific Indicators Settings | |
| dMAType() | %D smoothing type. |
| dMultiplier() | %D multiplier settings. |
| dPeriod() | Indicator %D Period settings. |
| kMAPeriod() | Indicator %K smoothing period. |
| kMAType() | %K smoothing type. |
| kMultiplier() | %K multiplier settings. |
| kPeriod() | Indicator %K Period settings. |
Methods Description
dMAType
Getter for the %D smoothing type.
Returns:
anychart.enums.MovingAverageType | string - %D smoothing type.Try it:
Setter for the %D smoothing type.
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| type | anychart.enums.MovingAverageType | string | 'ema' | %D smoothing type |
Returns:
anychart.core.stock.indicators.KDJ - Self instance for method chaining.Try it:
dMultiplier
Setter for the %D multiplier.
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| multiplier | number | -3 | %D multiplier value. |
Returns:
anychart.core.stock.indicators.KDJ - Self instance for method chaining.Try it:
dPeriod
Setter for the %D Period.
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| period | number | 3 | %D Period to set. |
Returns:
anychart.core.stock.indicators.KDJ - Self instance for method chaining.Try it:
dSeries
Getter for the indicator %D Series instance.
Returns:
anychart.core.stock.series.Base | anychart.core.stock.scrollerSeries.Base - Indicator %D Series.Try it:
Setter for the indicator %D Series type.
Params:
| Name | Type | Description |
|---|---|---|
| type | anychart.enums.StockSeriesType | string | Type of the indicator %D Series. |
Returns:
anychart.core.stock.indicators.KDJ - Self instance for method chaining.Try it:
jSeries
Getter for the indicator %J Series instance.
Returns:
anychart.core.stock.series.Base | anychart.core.stock.scrollerSeries.Base - Indicator %J Series.Try it:
Setter for the indicator %J Series type.
Params:
| Name | Type | Description |
|---|---|---|
| type | anychart.enums.StockSeriesType | string | Type of the indicator %J Series. |
Returns:
anychart.core.stock.indicators.KDJ - Self instance for method chaining.Try it:
kMAPeriod
Getter and setter for the %K smoothing period.
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| period | number | 5 | %K smoothing period. |
Returns:
anychart.core.stock.indicators.KDJ - Self instance for method chaining.Try it:
kMAType
Getter for the %K smoothing type.
Returns:
anychart.enums.MovingAverageType | string - %K smoothing type.Try it:
Setter for the %K smoothing type.
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| period | anychart.enums.MovingAverageType | string | 'ema' | %K smoothing type. |
Returns:
anychart.core.stock.indicators.KDJ - Self instance for method chaining.Try it:
kMultiplier
Setter for the %K multiplier.
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| multiplier | number | -2 | %K multiplier value. |
Returns:
anychart.core.stock.indicators.KDJ - Self instance for method chaining.Try it:
kPeriod
Setter for the %K Period.
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| period | number | 14 | %K Period to set. |
Returns:
anychart.core.stock.indicators.KDJ - Self instance for method chaining.Try it:
kSeries
Getter for the indicator %K Series instance.
Returns:
anychart.core.stock.series.Base | anychart.core.stock.scrollerSeries.Base - Indicator %K Series.Try it:
Setter for the indicator %K Series type.
Params:
| Name | Type | Description |
|---|---|---|
| type | anychart.enums.StockSeriesType | string | Type of the indicator %K Series. |
Returns:
anychart.core.stock.indicators.KDJ - Self instance for method chaining.Try it:
