MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  Math & Trig  MathArcsin

 
double MathArcsin( double x)
The MathArcsin function returns the arcsine of x in the range -π/2 to π/2 radians. If x is less than -1 or exceeds 1, the arcsine returns NaN (indeterminate value).
Parameters:
x   -   Value the arcsine of which to be calculated
Sample:
  double x=0.32696, y;
  y=MathArcsin(x);
  Print("Arcsine of ",x," = ",y);
  y=acos(x);
  Print("Arccosine of ",x," = ",y);
  //Output: Arcsine   of 0.326960=0.333085
  //Output: Arccosine of 0.326960=1.237711