AnyChart
API Reference
Still have questions?
Contact support
Top

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

Keltner Channels indicator class.

Methods Overview

Series
maSeries()Indicator Moving Average series instance.
rangeSeries()Indicator series instance.
Specific Indicators Settings
atrPeriod()Indicator Average True Range Period settings.
maPeriod()Indicator Moving Average Period settings.
multiplier()Multiplier settings.

Methods Description

atrPeriod

Getter for the Average True Range period.

Returns:

number - The Average True Range period
Setter for the Average True Range period.

Params:

NameTypeDefaultDescription
periodnumber
10
ATR period to set.

Returns:

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

maPeriod

Getter for the Moving Average period.

Returns:

number - The Moving Average Period.
Setter for the Moving Average period.

Params:

NameTypeDefaultDescription
periodnumber
20
Moving Average period to set.

Returns:

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

maSeries

Getter for the Moving Average series instance.
Setter for the Moving Average series type.

Params:

NameTypeDescription
typeanychart.enums.StockSeriesType | stringType of the indicator Moving Average series.

Returns:

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

multiplier

Getter for the multiplier.

Returns:

number - Multiplier.
Setter for the multiplier.

Params:

NameTypeDefaultDescription
multipliernumber
2
Multiplier value.

Returns:

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

rangeSeries

Getter for the indicator Range Series instance.
Setter for the indicator Range Series type.

Params:

NameTypeDescription
typeanychart.enums.StockSeriesType | stringType of the indicator Range Series.

Returns:

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