Calculates the Money Flow Index indicator and returns its value
await Indicators.MFI(symbol:string, timeframe:string, period: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 |
Period (amount of bars) for calculation of the indicator. |
— |
priceType |
int |
Price type |
— |
Return value
Numerical values of the Money Flow Index indicator.
Example
let list = await Indicator.MFI(null, 0, 14, PriceType.Bid);