MQL4参考 数学函数 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().