MqlDateTime struct MqlDateTime ( int year, int mon, int day, int hour, int min, int sec, int day_of_week, int day_of_year ) MqlParam struct MqlParam ( ENUM_DATATYPE type, long integer_value, double double_value, string string_value ) MqlRates struct MqlRates ( datetime time, double open, double high, double low, double close, long tick_volume, int spread, long real_volume ) MqlBookInfo struct MqlBookInfo ( ENUM_BOOK_TYPE type, double price, long volume ) MqlTradeRequest struct MqlTradeRequest ( ENUM_TRADE_REQUEST_ACTIONS action, ulong magic, ulong order, string symbol, double volume, double price, double stoplimit, double sl, double tp, ulong deviation, ENUM_ORDER_TYPE type, ENUM_ORDER_TYPE_FILLING type_filling, ENUM_ORDER_TYPE_TIME type_time, datetime expiration string comment ) MqlTradeCheckResult struct MqlTradeCheckResult ( uint retcode, double balance, double equity, double profit, double margin, double margin_free, double margin_level, string comment ) MqlTradeResult struct MqlTradeResult ( uint retcode, ulong deal, ulong order, double volume, double price, double bid, double ask, string comment ) MqlTick struct MqlTick ( datetime time, double bid, double ask, double last, ulong volume ) OnInit int OnInit() OnDeinit void OnDeinit() OnStart void OnStart() OnCalculate int OnCalculate ( const int rates_total, const int prev_calculated, const datetime &Time[], const double &Open[], const double &High[], const double &Low[], const double &Close[], const long &TickVolume[], const long &Volume[], const int &Spread[] ) OnTick void OnTick() OnTimer void OnTimer() OnTrade void OnTrade() OnTester double OnTester() OnChartEvent void OnChartEvent() OnBookEvent void OnBookEvent() Alert void Alert() CheckPointer ENUM_POINTER_TYPE CheckPointer() Comment void Comment() DebugBreak void DebugBreak() ExpertRemove void ExpertRemove() GetPointer void* GetPointer() GetTickCount uint GetTickCount() MessageBox int MessageBox ( string text, string caption=NULL, int flags=0 ) PeriodSeconds int PeriodSeconds ( ENUM_TIMEFRAMES period=PERIOD_CURRENT ) PlaySound bool PlaySound ( string filename ) Print void Print() PrintFormat void PrintFormat ( string format_string, ... ) ResetLastError void ResetLastError() SetUserError void SetUserError ( ushort user_error, ) SendFTP bool SendFTP ( string filename, string ftp_path=NULL ) SendMail bool SendMail ( string subject, string some_text ) Sleep void Sleep ( int milliseconds ) TerminalClose bool TerminalClose ( int ret_code ) TesterWithdrawal bool TesterWithdrawal ( double money ) ZeroMemory void ZeroMemory ( void & variable ) ArrayBsearch int ArrayBsearch ( double array[], double searched_value ) ArrayCopy int ArrayCopy ( void dst_array[], void src_array[], int dst_start=0, int src_start=0, int cnt=WHOLE_ARRAY ) ArrayFree void ArrayFree ( void array[] ) ArrayGetAsSeries bool ArrayGetAsSeries ( void array ) ArrayInitialize void ArrayInitialize ( double array[], double value ) ArrayIsDynamic bool ArrayIsDynamic ( void array[] ) ArrayIsSeries bool ArrayIsSeries ( void array[] ) ArrayMaximum int ArrayMaximum ( double array[], int start=0 int count=WHOLE_ARRAY ) ArrayMinimum int ArrayMinimum ( double array[], int start=0 int count=WHOLE_ARRAY ) ArrayRange int ArrayRange ( void array[], int rank_index ) ArrayResize int ArrayResize ( void array[], int new_size, int allocated_size=0 ) ArraySetAsSeries bool ArraySetAsSeries ( void array[], bool set ) ArraySize int ArraySize ( void array[] ) ArraySort bool ArraySort ( number& array[] ) CharToString string CharToString ( int char_code ) CharArrayToString string CharArrayToString ( uchar array[], int start=0, int count=-1, uint codepage=CP_ACP ) ColorToString string ColorToString ( color color_value, bool color_name ) DoubleToString string DoubleToString ( double value, int digits=8 ) IntegerToString string IntegerToString ( long number, int str_len=0, ushort fill_symbol=' ' ) ShortToString string ShortToString ( ushort symbol_code ) ShortArrayToString string ShortArrayToString ( ushort array[], int start=0, int count=-1 ) TimeToString string TimeToString ( datetime value, int mode=TIME_DATE|TIME_MINUTES ) NormalizeDouble double NormalizeDouble ( double value, int digits ) StringToCharArray int StringToCharArray ( string text_string, uchar& array[], int start=0, int count=-1 uint codepage=CP_ACP ) StringToColor color StringToColor ( string color_string ) StringToDouble double StringToDouble ( string value ) StringToInteger long StringToInteger ( string value ) StringToShortArray int StringToShortArray ( string text_string, ushort& array[], int start=0, int count=-1 ) StringToTime datetime StringToTime ( string value ) StringFormat string StringFormat ( string format, ... ... ) MathAbs double MathAbs ( double value ) MathArccos double MathArccos ( double val // -1