User Guide
Object Math
                    NetTradeX PC
                        NetTradeX Android
                        NetTradeX iOS
                        NetTradeX Mobile
                        NetTradeX Advisors
                    - 
                                                                                                            
                                                                                                        User Guide for NTTX Advisors
                                                    - NetTradeX Advisors Terminal
- 
                                                                                                                                Articles
                                                                
- 
                                                                                                                                NetTradeX Language: Introduction
                                                                
- Language Basics
- Language Functions
- 
                                                                                                                                Language System Objects
                                                                
- Deal Management
- Order Management
- Indicators
- Object-Oriented Programming
- 
                                                                                                                                DLL files
                                                                
- 
                                                                                                                                Object Account
                                                                
- 
                                                                                                                                Object Bars
                                                                
- 
                                                                                                                                Object Chart
                                                                
- 
                                                                                                                                Object datetime
                                                                
- 
                                                                                                                                Object History
                                                                
- 
                                                                                                                                Object file
                                                                
- 
                                                                                                                                Object Globals
                                                                
- 
                                                                                                                                Object Math
                                                                
- 
                                                                                                                                Object Symbols
                                                                
- 
                                                                                                                                Object System
                                                                
 
Object Math
                                Math object allows calculating values of common mathematic and trigonometric functions.
Object methods:
| Method name | Return value | 
|---|---|
| double Math.Abs(double val) | Modulus of a valnumber, sent to the method as an argument. | 
| double Math.Arccos(double val) | The arccosine value of a number valwherevalmust be within the range [-1;1]. 
The return value lies in the range from 0 to π radians. | 
| double Math.Arcsin(double val) | The arcsine value of a number valwherevalmust be within the range [-1;1].
The return value lies in the range from -π/2 to π/2 radians. | 
| double Math.Arctan(double val) | The arctangent value of a number val. The return value lies in the range from -π/2 to π/2
radians. | 
| double Math.Ceil(double val) | The value that is the lowest integer which is more or equal to val. | 
| double Math.Cos(double val) | Cosine of an angle valthat is specified in radians. | 
| double Math.Exp(double val) | The value of the number e raised to the power of val. | 
| double Math.Floor(double val) | The value that is the highest integer number which is less or equal to val. | 
| double Math.Log(double val) | The natural logarithm of the valnumber wherevalmust be more than zero. | 
| double Math.Max(double val1, double val2) | The maximum value of val1orval2. | 
| double Math.Min(double val1, double val2) | The minimum value of val1orval2. | 
| double Math.Mod(double val1, double val2) | Remainder of the division val1byval2. | 
| double Math.Pow(double base, double exp) | The basevalue raised to the power	ofexp. | 
| double Math.Rand() | A pseudorandom value within the range from 0 to 32767. | 
| double Math.Sin(double val) | The sine of an angle val, specified in radians. | 
| double Math.Sqrt(double val) | The square root of valnumber wherevalmust be more or equal to zero. | 
| double Math.Srand(int seed) | Sets the starting state for generating pseudorandom integer values. | 
| double Math.Tan(double val) | The tangent of an angle valspecified in radians. |