MQL4 iMFI Indicator
Overview
Calculates the Money Flow Index indicator and returns its value.Function Signature
double iMFI(
string symbol, // symbol
int timeframe, // timeframe
int period, // averaging period
int shift // shift
);
Parameters
symbol** [in]: Symbol name for calculation. NULL uses the current symbol.timeframe** [in]: Timeframe. Use ENUM_TIMEFRAMES values. 0 uses the current chart timeframe.period** [in]: Number of bars for indicator calculation.shift** [in]: Index of the indicator buffer value (shift relative to the current bar).Returned Value
Numerical value of the Money Flow Index indicator (double).Example
if(iMFI(NULL,0,14,0) > iMFI(NULL,0,14,1)) return(0);
Related Indicators
Previous
arrow_back
Imomentumonarray
Next
Ima
arrow_forward