Indicators.OsMA()

Calculates the Moving Average of Oscillator indicator and returns its value.
await Indicators.OsMA(symbol:string, timeframe:string, fastEmaPeriod:int, slowEmaPeriod:int, signalPeriod:int, appliedPrice:int, 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.
fastEmaPeriod int Fast EMA averaging period.
slowEmaPeriod int Slow EMA averaging period.
signalPeriod int Signal line averaging period.
appliedPrice int Applied price. It can be any of AppliedPrice enumeration values.
priceType int Price type

Return value

Numerical values of the Moving Average of Oscillator.

Example

let list = await Indicator.OsMA(null, 0, 12, 26, 9, AppliedPrice.Open, PriceType.Bid);