class anychart.core.stock.indicators.VolumeMA Improve this Doc
Volume + MA indicator class.
Methods Overview
Series | |
maSeries() | Indicator moving average series instance. |
volumeSeries() | Indicator volume series instance. |
Specific Indicators Settings | |
maPeriod() | Indicator Moving Average Period settings. |
maType() | Indicator smoothing type. |
Methods Description
maPeriod
Setter for the Moving Average period.
Params:
Name | Type | Default | Description |
---|---|---|---|
period | number | 20 | Moving Average period to set. |
Returns:
anychart.core.stock.indicators.VolumeMA - Self instance for method chaining.Try it:
maSeries
Getter for the indicator moving average series instance.
Returns:
anychart.core.stock.series.Base | anychart.core.stock.scrollerSeries.Base - The indicator moving average seriesTry it:
Setter for the indicator moving average series type.
Params:
Name | Type | Description |
---|---|---|
type | anychart.enums.StockSeriesType | string | Type of the indicator moving average series. |
Returns:
anychart.core.stock.indicators.Base - Self instance for method chaining.Try it:
maType
Getter for the smoothing type.
Returns:
anychart.enums.MovingAverageType | string - Indicator smoothing type.Try it:
Setter for the smoothing type.
Params:
Name | Type | Default | Description |
---|---|---|---|
type | anychart.enums.MovingAverageType | string | 'sma' | Indicator smoothing type. |
Returns:
anychart.core.stock.indicators.VolumeMA - Self instance for method chaining.Try it:
volumeSeries
Getter for the indicator volume series instance.
Returns:
anychart.core.stock.series.Base | anychart.core.stock.scrollerSeries.Base - The indicator volume series.Try it:
Setter for the indicator volume series type.
Params:
Name | Type | Description |
---|---|---|
type | anychart.enums.StockSeriesType | string | Type of the indicator volume series. |
Returns:
anychart.core.stock.indicators.VolumeMA - Self instance for method chaining.Try it: