MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  Math & Trig  MathArctan

 
Use the opportunities of
MQL5 in MetaTrader 5
Study the new MQL5 language
Study the new MQL5 language.
Reference is already available
double MathArctan( double x)
The MathArctan returns the arctangent of x. If x is 0, MathArctan returns 0. MathArctan returns a value within the range of -π/2 to π/2 radians.
Parameters:
x   -   A number representing a tangent.
Sample:
  double x=-862.42, y;
  y=MathArctan(x);
  Print("Arctangent of ",x," is ",y);
  //Output: Arctangent of -862.42 is -1.5696