MQL4 Reference Math Functions MathSin

MathSin

Returns the sine of a specified angle.

double  MathSin(
   double  value      // argument in radians
   );

Parameters

value

[in]  Angle in radians.

Return Value

Sine of an angle measured in radians. Returns value within the range of -1 to 1.

Note

Instead of MathSin() you can use sin().