AnyChart
API Reference
Still have questions?
Contact support
Top

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

Methods Overview

Series
series()Indicator series instance.
Specific Indicators Settings
fastPeriod()Indicator fast period settings.
maType()Indicator smoothing type.
slowPeriod()Indicator slow period settings.

Methods Description

fastPeriod

Getter for the fast period.

Returns:

number - Indicator fast period.

Try it:

Setter for the fast period.

Params:

Name Type Default Description
value number
3
Period to set.

Returns:

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

Try it:

maType

Getter for the indicator smoothing type.

Returns:

anychart.enums.MovingAverageType string - Indicator smoothing type.

Try it:

Setter for the indicator smoothing type.

Params:

Name Type Default Description
value anychart.enums.MovingAverageType | string
"ema"
Indicator smoothing type

Returns:

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

Try it:

series

Getter for the indicator series instance.

Try it:

Setter for the indicator series type.

Params:

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

Returns:

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

Try it:

slowPeriod

Getter for the slow period.

Returns:

number - Indicator slow period.

Try it:

Setter for the slow period.

Params:

Name Type Default Description
value number
10
Period to set.

Returns:

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

Try it: