Indicators.Momentum()

يحسب مؤشر الزخم ويعيد قيمته.
await Indicators.Momentum(symbol:string, timeframe:string, period:int, appliedPrice:int, priceType:int)

Parameters

Name Type Действие Значение по умолчанию
symbol string اسم الرمز على البيانات التي سيتم حساب المؤشر منها. فارغ يعني الرمز
الحالي.
timeframe string إطار زمني. يمكن أن يكون أيًا من قيم تعداد {link TimeFrame}. 0 يعني الإطار الزمني الحالي
للرسم البياني.
period int الفترة (مقدار الأعمدة) لحساب المؤشر.
appliedPrice int السعر المطبق. يمكن أن يكون أيًا من قيم تعداد {link AppliedPrice}.
priceType int Price type

Return value

القيم العددية لمؤشر الزخم.

Example

let list = await Indicator.Momentum(null, 0, 12, AppliedPrice.Close, PriceType.Bid);