class anychart.core.stock.indicators.TRIX Improve this Doc
TRIX indicator class.
Methods Overview
| Series | |
| signalSeries() | Indicator signal series instance. |
| trixSeries() | Indicator TRIX series instance. |
| Specific Indicators Settings | |
| maType() | Indicator smoothing type. |
| period() | Indicator period settings. |
| signalMaType() | Indicator signal smoothing type. |
| signalPeriod() | Indicator signal period settings. |
Methods Description
maType
Getter for the smoothing type.
Returns:
string | anychart.enums.MovingAverageType - Indicator smoothing type.Try it:
Setter for the smoothing type.
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| type | anychart.enums.MovingAverageType | string | 'ema' | Indicator smoothing type. |
Returns:
anychart.core.stock.indicators.TRIX - Self instance for method chaining.Try it:
period
Setter for the period.
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| period | number | 15 | Indicator period to set. |
Returns:
anychart.core.stock.indicators.TRIX - Self instance for method chaining.Try it:
signalMaType
Getter for the signal smoothing type.
Returns:
string | anychart.enums.MovingAverageType - Indicator signal smoothing type.Try it:
Setter for the signal smoothing type.
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| type | string | anychart.enums.MovingAverageType | 'ema' | Indicator signal smoothing type. |
Returns:
anychart.core.stock.indicators.TRIX - Self instance for method chaining.Try it:
signalPeriod
Setter for the signal period.
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| period | number | 9 | Indicator signal period to set. |
Returns:
anychart.core.stock.indicators.TRIX - Self instance for method chaining.Try it:
signalSeries
Getter for the indicator signal series instance.
Returns:
anychart.core.stock.series.Base | anychart.core.stock.scrollerSeries.Base - The indicator signal series.Try it:
Setter for the indicator signal series type.
Params:
| Name | Type | Description |
|---|---|---|
| type | anychart.enums.StockSeriesType | string | Type of the indicator signal series. |
Returns:
anychart.core.stock.indicators.TRIX - Self instance for method chaining.Try it:
trixSeries
Getter for the indicator TRIX series instance.
Returns:
anychart.core.stock.series.Base | anychart.core.stock.scrollerSeries.Base - The indicator TRIX series.Try it:
Setter for the indicator TRIX series type.
Params:
| Name | Type | Description |
|---|---|---|
| type | anychart.enums.StockSeriesType | string | Type of the indicator TRIX series. |
Returns:
anychart.core.stock.indicators.TRIX - Self instance for method chaining.Try it:
