Aroon - FXB.ta.Aroon

The FXB.ta.Aroon class calculates the Aroon indicator: a measure of the number of bars since the high and low of a period (expressed on a scale of 0 to 100). It is a bar-based calculation, and requires candle data as an input. Parameters are as follows:

Parameter

Description

period

Rolling period for the calculation

Note: the FXB.ta.Aroon is exceptional because the standard GetValue() function returns the value of the Aroon oscillator, not of the Aroon itself. To get the high and low values of the Aroon, use the following functions:

Parameter

Description

GetAroonUpArray()

Returns an array of all the high values

GetAroonDownArray()

Returns an array of all the low values

GetAroonUpValue(idx)

Returns the high value at bar index #idx

GetAroonDownValue(idx)

Returns the low value at bar index #idx