AnyChart
API Reference
Still have questions?
Contact support
Top

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

Coppock Curve indicator class. Learn more about the Coppock Curve indicator.

Methods Overview

Series
series()Indicator series instance.
Specific Indicators Settings
firstRocPeriod()RoC calculation period setting.
secondRocPeriod()RoC calculation period setting.
wmaPeriod()WMA calculation period setting.

Methods Description

firstRocPeriod

Getter for the first RoC calculation period.

Returns:

number - The indicator period.
Setter for the first RoC calculation period.

Params:

NameTypeDefaultDescription
periodnumber
11
Period to set.

Returns:

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

secondRocPeriod

Getter for the second RoC calculation period.

Returns:

number - The indicator period.
Setter for the second RoC calculation period.

Params:

NameTypeDefaultDescription
periodnumber
14
Period to set.

Returns:

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

series

Getter for the indicator series instance.
Setter for the indicator series type.

Params:

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

Returns:

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

wmaPeriod

Getter for the WMA calculation period.

Returns:

number - The indicator period.
Setter for the WMA calculation period.

Params:

NameTypeDefaultDescription
periodnumber
10
Period to set.

Returns:

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