Indicators.AC()

Calculates the Bill Williams' Accelerator/Decelerator oscillator and returns its value.
await Indicators.AC(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 Bill Williams' Accelerator/Decelerator oscillator.

Example

let listAC = await Indicator.AC(Current.Symbol, Current.TimeFrame, PriceType.Bid);