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.Try it:
Setter for the first RoC calculation period.
Params:
Name | Type | Default | Description |
---|---|---|---|
period | number | 11 | Period to set. |
Returns:
anychart.core.stock.indicators.CoppockCurve - Self instance for method chaining.Try it:
secondRocPeriod
Getter for the second RoC calculation period.
Returns:
number - The indicator period.Try it:
Setter for the second RoC calculation period.
Params:
Name | Type | Default | Description |
---|---|---|---|
period | number | 14 | Period to set. |
Returns:
anychart.core.stock.indicators.CoppockCurve - Self instance for method chaining.Try it:
series
Getter for the indicator series instance.
Returns:
anychart.core.stock.series.Base | anychart.core.stock.scrollerSeries.Base - Indicator series.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.CoppockCurve - Self instance for method chaining.Try it:
wmaPeriod
Setter for the WMA calculation period.
Params:
Name | Type | Default | Description |
---|---|---|---|
period | number | 10 | Period to set. |
Returns:
anychart.core.stock.indicators.CoppockCurve - Self instance for method chaining.Try it: