AnyChart
API Reference
Still have questions?
Contact support
Top

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

Price Channels indicator class.

Methods Overview

Series
middleSeries()Middle series instance.
rangeSeries()Range series instance.
Specific Indicators Settings
period()Indicator period settings.

Methods Description

middleSeries

Getter for the indicator middle series instance.

Try it:

Setter for the indicator middle series type.

Params:

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

Returns:

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

Try it:

period

Getter for the period.

Returns:

number - Indicator period.

Try it:

Setter for the period.

Params:

Name Type Default Description
period number
20
Period to set.

Returns:

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

Try it:

rangeSeries

Getter for the indicator range series instance.

Try it:

Setter for the indicator range series type.

Params:

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

Returns:

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

Try it: