AnyChart
API Reference
Still have questions?
Contact support
Top

namespace anychart.math.aroonOscillator Improve this Doc

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

Functions Overview

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

Typedefs Overview

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

Functions Description

calculate

Calculates Aroon Oscillator.

Params:

NameTypeDescription
contextanychart.math.aroonOscillator.ContextContext.
highnumberCurrent high value.
lownumberCurrent low value.

Returns:

number - Calculated aroon oscillator value.

calculationFunction

createComputer

Creates an Aroon Oscillator 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 Oscillator indicator calculation.

Params:

NameTypeDefaultDescription
periodnumber
25
Indicator period.

startFunction

Start calculation function for Aroon Oscillator indicator calculation.

Params:

NameTypeDescription
contextanychart.math.aroonOscillator.ContextContext