MQL4参考 数学函数 MathArctan

MathArctan

The function returns the arc tangent of x. If x is equal to 0, the function returns 0.

double  MathArctan(
   double  value      // tangent
   );

Parameters

value

[in]  A number representing a tangent.

Return Value

MathArctan returns a value within the range of -π/2 to π/2 radians.

Note

Instead of the MathArctan() function you can use atan().