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

Try it:

Setter for the Average True Range period.

Params:

Name Type Default Description
period number
10
ATR period to set.

Returns:

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

Try it:

maPeriod

Getter for the Moving Average period.

Returns:

number - The Moving Average Period.

Try it:

Setter for the Moving Average period.

Params:

Name Type Default Description
period number
20
Moving Average period to set.

Returns:

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

Try it:

maSeries

Getter for the Moving Average series instance.

Returns:

anychart.core.stock.series.Base anychart.core.stock.scrollerSeries.Base - Indicator Moving Average series.

Try it:

Setter for the Moving Average series type.

Params:

Name Type Description
type anychart.enums.StockSeriesType | string Type of the indicator Moving Average series.

Returns:

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

Try it:

multiplier

Getter for the multiplier.

Returns:

number - Multiplier.

Try it:

Setter for the multiplier.

Params:

Name Type Default Description
multiplier number
2
Multiplier value.

Returns:

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

Try it:

rangeSeries

Getter for the indicator Range Series instance.

Try it:

Setter for the indicator Range Series type.

Params:

Name Type Description
type anychart.enums.StockSeriesType | string Type of the indicator Range Series.

Returns:

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

Try it: