MQL4 Reference 
 Math Functions 
  MathAbs
MathAbsThe function returns the absolute value (modulus) of the specified numeric value. 
 Parameters value [in] Numeric value. Return Value Value of double type more than or equal to zero. Note Instead the MathAbs() function you can use fabs().  |