AnyChart
API Reference
Still have questions?
Contact support
Top

{typedef} anychart.math.trix.Context Improve this Doc

Type definition for the context.
Name Type Description
dispose function The function to dispose the context.
firstMaContext anychart.math.ema.Context | anychart.math.sma.Context Context for the first pass of the Moving Average function.
maCalculate function Calculation function for the Moving Average.
maSignalCalculate function Calculation function for the Moving Average signal value.
maType anychart.enums.MovingAverageType | string Indicator smoothing type.
period number Indicator period.
prevResult number Previous calculation result.
secondMaContext anychart.math.ema.Context | anychart.math.sma.Context Context for the second pass of the Moving Average function.
signalMaContext anychart.math.ema.Context | anychart.math.sma.Context Context for the signal pass of the Moving Average function.
signalMaType anychart.enums.MovingAverageType | string Signal smoothing type.
signalPeriod number Signal indicator period.
thirdMaContext anychart.math.ema.Context | anychart.math.sma.Context Context for the third pass of the Moving Average function.