AnyChart
API Reference
Still have questions?
Contact support
Top

namespace anychart.math.aroon Improve this Doc

Namespace anychart.math.aroon
Learn more about indicator mathematics.

Functions Overview

calculate()Aroon calculation.
calculationFunction()Calculates Aroon.
createComputer()Creates an Aroon computer for the given table mapping.
initContext()Creates a context for Aroon indicator calculation.
startFunction()Start calculation function for Aroon indicator calculation.

Typedefs Overview

anychart.math.aroon.ContextType definition for the context.

Functions Description

calculate

Aroon calculation.

Params:

NameTypeDescription
contextanychart.math.aroon.ContextAroon context.
highnumberHigh value.
lownumberLow value.

Returns:

Array.<number> - Calculated Aroon indicator values.

calculationFunction

createComputer

Creates an Aroon computer for the given table mapping.

Params:

NameTypeDescription
mappinganychart.data.TableMappingData mapping.
periodnumberIndicator period.

Returns:

anychart.data.TableComputer - Table computer.

initContext

Creates a context for Aroon indicator calculation.

Params:

NameTypeDefaultDescription
periodnumber
25
Indicator period.

Returns:

anychart.math.aroon.Context - Context.

startFunction

Start calculation function for Aroon indicator calculation.

Params:

NameTypeDescription
contextanychart.math.aroon.ContextContext