AnyChart
API Reference
Still have questions?
Contact support
Top

class anychart.core.stock.indicators.KDJ Improve this Doc

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.
Setter for the %D smoothing type.

Params:

NameTypeDefaultDescription
typeanychart.enums.MovingAverageType | string
'ema'
%D smoothing type

Returns:

anychart.core.stock.indicators.KDJ - Self instance for method chaining.

dMultiplier

Getter for the %D multiplier.

Returns:

number - %D multiplier.
Setter for the %D multiplier.

Params:

NameTypeDefaultDescription
multipliernumber
-3
%D multiplier value.

Returns:

anychart.core.stock.indicators.KDJ - Self instance for method chaining.

dPeriod

Getter for the %D Period.

Returns:

number - The %D Period.
Setter for the %D Period.

Params:

NameTypeDefaultDescription
periodnumber
3
%D Period to set.

Returns:

anychart.core.stock.indicators.KDJ - Self instance for method chaining.

dSeries

Getter for the indicator %D Series instance.
Setter for the indicator %D Series type.

Params:

NameTypeDescription
typeanychart.enums.StockSeriesType | stringType of the indicator %D Series.

Returns:

anychart.core.stock.indicators.KDJ - Self instance for method chaining.

jSeries

Getter for the indicator %J Series instance.
Setter for the indicator %J Series type.

Params:

NameTypeDescription
typeanychart.enums.StockSeriesType | stringType of the indicator %J Series.

Returns:

anychart.core.stock.indicators.KDJ - Self instance for method chaining.

kMAPeriod

Getter for the %K smoothing period.

Returns:

number - %K smoothing period.
Getter and setter for the %K smoothing period.

Params:

NameTypeDefaultDescription
periodnumber
5
%K smoothing period.

Returns:

anychart.core.stock.indicators.KDJ - Self instance for method chaining.

kMAType

Getter for the %K smoothing type.

Returns:

anychart.enums.MovingAverageType | string - %K smoothing type.
Setter for the %K smoothing type.

Params:

NameTypeDefaultDescription
periodanychart.enums.MovingAverageType | string
'ema'
%K smoothing type.

Returns:

anychart.core.stock.indicators.KDJ - Self instance for method chaining.

kMultiplier

Getter for the %K multiplier.

Returns:

number - %K multiplier.
Setter for the %K multiplier.

Params:

NameTypeDefaultDescription
multipliernumber
-2
%K multiplier value.

Returns:

anychart.core.stock.indicators.KDJ - Self instance for method chaining.

kPeriod

Getter for the %K Period.

Returns:

number - The %K Period
Setter for the %K Period.

Params:

NameTypeDefaultDescription
periodnumber
14
%K Period to set.

Returns:

anychart.core.stock.indicators.KDJ - Self instance for method chaining.

kSeries

Getter for the indicator %K Series instance.
Setter for the indicator %K Series type.

Params:

NameTypeDescription
typeanychart.enums.StockSeriesType | stringType of the indicator %K Series.

Returns:

anychart.core.stock.indicators.KDJ - Self instance for method chaining.