AnyChart
API Reference
Still have questions?
Contact support
Top

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

Envelope (ENV) indicator class. Learn more about the ENV indicator.

Methods Overview

Series
lowerSeries()Indicator lower series instance.
upperSeries()Indicator upper series instance.
Specific Indicators Settings
deviation()Indicator deviation setting.
maType()Indicator smoothing type.
period()Indicator period setting.

Methods Description

deviation

Getter for the deviation.

Returns:

number - The deviation.
Setter for the indicator deviation.

Params:

NameTypeDefaultDescription
deviationnumber
10
Deviation.

Returns:

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

lowerSeries

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

Params:

NameTypeDefaultDescription
typeanychart.enums.StockSeriesType | string
"line"
Type of the indicator lower series (type as "line", "column", "spline").

Returns:

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

maType

Getter for the indicator smoothing type.

Returns:

anychart.enums.MovingAverageType | string - Indicator smoothing type.
Setter for the indicator smoothing type.

Params:

NameTypeDefaultDescription
maTypeanychart.enums.MovingAverageType | string
"ema"
Indicator smoothing type

Returns:

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

period

Getter for the period.

Returns:

number - The period.
Setter for the period.

Params:

NameTypeDefaultDescription
periodnumber
20
Period.

Returns:

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

upperSeries

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

Params:

NameTypeDefaultDescription
typeanychart.enums.StockSeriesType | string
"line"
Type of the indicator upper series (type as "line", "column", "spline").

Returns:

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