MQL4 iMomentum Indicator
Overview
Calculates the Momentum indicator and returns its value.
Function Signature
double iMomentum(
string symbol, // symbol
int timeframe, // timeframe
int period, // averaging period
int applied_price, // applied price
int shift // shift
);
Parameters
NULL for current symbol.ENUM_TIMEFRAMES value. 0 for current chart timeframe.ENUM_APPLIED_PRICE value.Return Value
Numerical value of the Momentum indicator.
Example
if(iMomentum(NULL,0,12,PRICE_CLOSE,0)>iMomentum(NULL,0,20,PRICE_CLOSE,0)) return(0);
Related Functions
iBWMFIiMomentumOnArray
Previous
arrow_back
Ibwmfi