MQL4 Reference Math Functions MathCos

MathCos

The function returns the cosine of an angle.

double  MathCos(
   double  value      // number
   );

Parameters

value

[in]  Angle in radians.

Return Value

Value of double type within the range of -1 to 1.

Note

Instead of MathCos() you can use cos().