Indicators.AO()

Calculates the Awesome oscillator and returns its value.
await Indicators.AO(symbol:string, timeframe:string, priceType:int)

Parameters

Name Type Действие Значение по умолчанию
symbol string Symbol name on the data of which the indicator will be calculated. null means the current symbol.
timeframe string TimeFrame. It can be any of TimeFrame enumeration values. 0 means the current chart timeframe.
priceType int Price type

Return value

Numerical values of the Awesome oscillator indicator.

Example

let listAO = await Indicator.AO(Current.Symbol, Current.TimeFrame, PriceType.Bid);