can anyone tell me how to calculate the value of momentum

 

I have some question please ....

I'am new in mql4 programming......

can anyone tell me how to calculate in mql4 what's the value of momentum in specific bars? ???

 
ardi_nunu:
I have some question please .... I'am new in mql4 programming...... can anyone tell me how to calculate in mql4 what's the value of momentum in specific bars? ???

If its just the standard momentum indicator that you want to use, then use the inbuilt iMomentum function

double iMomentum( string symbol, int timeframe, int period, int applied_price, int shift)