class anychart.core.stock.indicators.ATR Improve this Doc
Average True Range (ATR) indicator class. Learn more about the Average True Range indicator.
Methods Overview
| Series | |
| series() | Indicator series settings. |
| Specific Indicators Settings | |
| period() | Indicator period settings. |
Methods Description
period
Setter for the period.
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| value | number | 14 | Period. |
Returns:
anychart.core.stock.indicators.ATR - Self instance for method chaining.Try it:
series
Getter for the indicator series.
Returns:
anychart.core.stock.series.Base | anychart.core.stock.scrollerSeries.Base - Indicator series.Try it:
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.ATR - Self instance for method chaining.Try it:
