Top

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

Creates Commodity Channel (CCI) indicator class.

Methods Overview

Series
series()Indicator series settings.
Specific Indicators Settings
period()Indicator period settings.

Methods Description

period

Getter for the indicator period.

Returns:

number - Indicator period.

Try it:

Setter for the indicator period.

Params:

Name Type Default Description
value number
20
Period to set.

Returns:

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

Try it:

series

Setter for the indicator series.

Params:

Name Type Default Description
type anychart.enums.StockSeriesType
"line"
Type of the indicator series.

Returns:

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

Try it: