AnyChart
API Reference
Still have questions?
Contact support
Top
You are looking at an outdated v7 version of this document. Switch to the v8 version to see the up to date information.

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

Getter for the period.

Returns:

number - The period.
Setter for the period.

Params:

NameTypeDefaultDescription
valuenumber
14
Period.

Returns:

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

series

Setter for the indicator series.

Params:

NameTypeDefaultDescription
typeanychart.enums.StockSeriesType
"line"
Type of the indicator series.

Returns:

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