Calculates the Bears Power indicator and returns its value.
await Indicators.BearsPower(symbol:string, timeframe:string, period: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. |
— |
period |
int |
Averaging period for calculation. |
— |
appliedPrice |
int |
Applied price. It can be any of AppliedPrice enumeration values. |
— |
priceType |
int |
Price type |
— |
Return value
Numerical values of the Bears Power indicator.
Example
let listBearsPower = await Indicator.BearsPower(null, 0, 13, AppliedPrice.Close, PriceType.Bid);