1 October 2021

MQL5 language file for GeSHi (Generic Syntax Highlighter). I used C++ langague file to base this on, since MQL is based on C++. I don't think it's the best possible highlight and ideally would use the same highlight as MetaEditor has, well whenever I get time.

Source code viewer
  1. <?php
  2. /*************************************************************************************
  3.  * mql5.php
  4.  * -------
  5.  *
  6.  * MQL5 language file for GeSHi.
  7.  *
  8.  *************************************************************************************
  9.  *
  10.  * This file is part of GeSHi.
  11.  *
  12.  * GeSHi is free software; you can redistribute it and/or modify
  13.  * it under the terms of the GNU General Public License as published by
  14.  * the Free Software Foundation; either version 2 of the License, or
  15.  * (at your option) any later version.
  16.  *
  17.  * GeSHi is distributed in the hope that it will be useful,
  18.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  19.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  20.  * GNU General Public License for more details.
  21.  *
  22.  * You should have received a copy of the GNU General Public License
  23.  * along with GeSHi; if not, write to the Free Software
  24.  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  25.  *
  26.  ************************************************************************************/
  27.  
  28. $language_data = array (
  29. 'LANG_NAME' => 'MQL5',
  30. 'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
  31. 'COMMENT_MULTI' => array(),
  32. 'COMMENT_REGEXP' => array(
  33. //Multiline-continued single-line comments
  34. 1 => '/\/\/(?:\\\\\\\\|\\\\\\n|.)*$/m',
  35. //Multiline-continued preprocessor define
  36. 2 => '/#(?:\\\\\\\\|\\\\\\n|.)*$/m',
  37. //C++ 11 string literal extensions
  38. 3 => '/(?:L|u8?|U)(?=")/',
  39. //C++ 11 string literal extensions (raw)
  40. 4 => '/R"([^()\s\\\\]*)\((?:(?!\)\\1").)*\)\\1"/ms'
  41. ),
  42. 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  43. 'QUOTEMARKS' => array("'", '"'),
  44. 'ESCAPE_CHAR' => '',
  45. 'ESCAPE_REGEXP' => array(
  46. //Simple Single Char Escapes
  47. 1 => "#\\\\[abfnrtv\\\'\"?\n]#",
  48. //Hexadecimal Char Specs
  49. 2 => "#\\\\x[\da-fA-F]{2}#",
  50. //Hexadecimal Char Specs
  51. 3 => "#\\\\u[\da-fA-F]{4}#",
  52. //Hexadecimal Char Specs
  53. 4 => "#\\\\U[\da-fA-F]{8}#",
  54. //Octal Char Specs
  55. 5 => "#\\\\[0-7]{1,3}#"
  56. ),
  57. 'NUMBERS' =>
  58. GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_INT_CSTYLE | GESHI_NUMBER_BIN_PREFIX_0B |
  59. GESHI_NUMBER_OCT_PREFIX | GESHI_NUMBER_HEX_PREFIX | GESHI_NUMBER_FLT_NONSCI |
  60. GESHI_NUMBER_FLT_NONSCI_F | GESHI_NUMBER_FLT_SCI_SHORT | GESHI_NUMBER_FLT_SCI_ZERO,
  61. 'KEYWORDS' => array(
  62. 1 => array(
  63. // control operators
  64. 'if', 'else', 'switch', 'case', 'default', 'break', 'continue', 'for', 'do', 'while',
  65. 'new', 'delete', 'return'
  66. ),
  67. 2 => array(
  68. 'ERR_FILE_INVALID_HANDLE', 'ERR_FILE_IS_DIRECTORY', 'ERR_FILE_ISNOT_DIRECTORY',
  69. 'ERR_FILE_NOT_BIN', 'ERR_FILE_NOT_CSV', 'ERR_FILE_NOT_DIRECTORY', 'ERR_FILE_NOT_EXIST',
  70. 'ERR_FILE_NOT_TOREAD', 'ERR_FILE_NOT_TOWRITE', 'ERR_FILE_NOT_TXT', 'ERR_FILE_NOT_TXTORCSV',
  71. 'ERR_FILE_NOTBIN', 'ERR_FILE_NOTCSV', 'ERR_FILE_NOTTOREAD', 'ERR_FILE_NOTTOWRITE',
  72. 'ERR_FILE_NOTTXT', 'ERR_FILE_NOTTXTORCSV', 'ERR_FILE_READ_ERROR', 'ERR_FILE_READERROR',
  73. 'ERR_FILE_STRINGRESIZE_ERROR', 'ERR_FILE_STRUCT_WITH_OBJECTS',
  74. 'ERR_FILE_TOO_LONG_FILENAME', 'ERR_FILE_TOO_MANY_OPENED', 'ERR_FILE_WRITE_ERROR',
  75. 'ERR_FILE_WRITEERROR', 'ERR_FILE_WRONG_DIRECTORYNAME', 'ERR_FILE_WRONG_FILENAME',
  76. 'ERR_FILE_WRONG_HANDLE', 'ERR_FLOAT_ARRAY_ONLY', 'ERR_FORMAT_TOO_MANY_FORMATTERS',
  77. 'ERR_FORMAT_TOO_MANY_PARAMETERS', 'ERR_FTP_CHANGEDIR', 'ERR_FTP_CLOSED',
  78. 'ERR_FTP_CONNECT_FAILED', 'ERR_FTP_ERROR', 'ERR_FTP_FILE_ERROR', 'ERR_FTP_NOLOGIN',
  79. 'ERR_FTP_NOSERVER', 'ERR_FTP_SEND_FAILED', 'ERR_FUNC_NOT_ALLOWED_IN_TESTING',
  80. 'ERR_FUNCTION_NOT_ALLOWED', 'ERR_FUNCTION_NOT_CONFIRMED', 'ERR_GLOBAL_VARIABLE_NOT_FOUND',
  81. 'ERR_GLOBAL_VARIABLES_PROCESSING', 'ERR_GLOBALVARIABLE_EXISTS',
  82. 'ERR_GLOBALVARIABLE_NOT_FOUND', 'ERR_HISTORY_BARS_LIMIT', 'ERR_HISTORY_LOAD_ERRORS',
  83. 'ERR_HISTORY_NOT_FOUND', 'ERR_HISTORY_TIMEOUT', 'ERR_HISTORY_WILL_UPDATED',
  84. 'ERR_HISTORY_WRONG_PROPERTY', 'ERR_INCOMPATIBLE_ARRAYS', 'ERR_INCOMPATIBLE_FILE',
  85. 'ERR_INCOMPATIBLE_FILEACCESS', 'ERR_INCORRECT_SERIESARRAY_USING',
  86. 'ERR_INDICATOR_CANNOT_ADD', 'ERR_INDICATOR_CANNOT_APPLY', 'ERR_INDICATOR_CANNOT_CREATE',
  87. 'ERR_INDICATOR_CANNOT_INIT', 'ERR_INDICATOR_CANNOT_LOAD', 'ERR_INDICATOR_CUSTOM_NAME',
  88. 'ERR_INDICATOR_DATA_NOT_FOUND', 'ERR_INDICATOR_NO_MEMORY', 'ERR_INDICATOR_PARAMETER_TYPE',
  89. 'ERR_INDICATOR_PARAMETERS_MISSING', 'ERR_INDICATOR_UNKNOWN_SYMBOL',
  90. 'ERR_INDICATOR_WRONG_HANDLE', 'ERR_INDICATOR_WRONG_INDEX', 'ERR_INDICATOR_WRONG_PARAMETERS',
  91. 'ERR_INT_ARRAY_ONLY', 'ERR_INTEGER_PARAMETER_EXPECTED', 'ERR_INTERNAL_ERROR',
  92. 'ERR_INVALID_ACCOUNT', 'ERR_INVALID_ARRAY', 'ERR_INVALID_DATETIME',
  93. 'ERR_INVALID_FILEHANDLE', 'ERR_INVALID_FUNCTION_PARAMSCNT',
  94. 'ERR_INVALID_FUNCTION_PARAMVALUE', 'ERR_INVALID_PARAMETER', 'ERR_INVALID_POINTER',
  95. 'ERR_INVALID_POINTER_TYPE', 'ERR_INVALID_PRICE', 'ERR_INVALID_PRICE_PARAM',
  96. 'ERR_INVALID_STOPS', 'ERR_INVALID_TICKET', 'ERR_INVALID_TRADE_PARAMETERS',
  97. 'ERR_INVALID_TRADE_VOLUME', 'ERR_LONG_ARRAY_ONLY', 'ERR_LONG_POSITIONS_ONLY_ALLOWED',
  98. 'ERR_LONGS_NOT_ALLOWED', 'ERR_MAIL_SEND_FAILED', 'ERR_MALFUNCTIONAL_TRADE',
  99. 'ERR_MARKET_CLOSED', 'ERR_MARKET_LASTTIME_UNKNOWN', 'ERR_MARKET_NOT_SELECTED',
  100. 'ERR_MARKET_SELECT_ERROR', 'ERR_MARKET_UNKNOWN_SYMBOL', 'ERR_MARKET_WRONG_PROPERTY',
  101. 'ERR_MQL5_WRONG_PROPERTY', 'ERR_NO_CONNECTION', 'ERR_NO_ERROR', 'ERR_NO_HISTORY_DATA',
  102. 'ERR_NO_MEMORY_FOR_ARRAYSTRING', 'ERR_NO_MEMORY_FOR_CALL_STACK', 'ERR_NO_MEMORY_FOR_HISTORY',
  103. 'ERR_NO_MEMORY_FOR_INDICATOR', 'ERR_NO_MEMORY_FOR_PARAM_STRING',
  104. 'ERR_NO_MEMORY_FOR_RETURNED_STR', 'ERR_NO_MEMORY_FOR_TEMP_STRING', 'ERR_NO_MQLERROR',
  105. 'ERR_NO_OBJECT_NAME', 'ERR_NO_ORDER_SELECTED', 'ERR_NO_RESULT', 'ERR_NO_SPECIFIED_SUBWINDOW',
  106. 'ERR_NO_STRING_DATE', 'ERR_NOT_ENOUGH_MEMORY', 'ERR_NOT_ENOUGH_MONEY',
  107. 'ERR_NOT_ENOUGH_RIGHTS', 'ERR_NOT_ENOUGH_STACK_FOR_PARAM', 'ERR_NOT_INITIALIZED_ARRAY',
  108. 'ERR_NOT_INITIALIZED_ARRAYSTRING', 'ERR_NOT_INITIALIZED_STRING', 'ERR_NOTIFICATION_ERROR',
  109. 'ERR_NOTIFICATION_PARAMETER', 'ERR_NOTIFICATION_SEND_FAILED', 'ERR_NOTIFICATION_SETTINGS',
  110. 'ERR_NOTIFICATION_TOO_FREQUENT', 'ERR_NOTIFICATION_WRONG_PARAMETER',
  111. 'ERR_NOTIFICATION_WRONG_SETTINGS', 'ERR_NOTINITIALIZED_STRING', 'ERR_NUMBER_ARRAYS_ONLY',
  112. 'ERR_OBJECT_ALREADY_EXISTS', 'ERR_OBJECT_COORDINATES_ERROR', 'ERR_OBJECT_DOES_NOT_EXIST',
  113. 'ERR_OBJECT_ERROR', 'ERR_OBJECT_GETDATE_FAILED', 'ERR_OBJECT_GETVALUE_FAILED',
  114. 'ERR_OBJECT_NOT_FOUND', 'ERR_OBJECT_WRONG_PROPERTY', 'ERR_OFF_QUOTES', 'ERR_OLD_VERSION',
  115. 'ERR_ONEDIM_ARRAYS_ONLY', 'ERR_OPENCL_BUFFER_CREATE', 'ERR_OPENCL_CONTEXT_CREATE',
  116. 'ERR_OPENCL_EXECUTE', 'ERR_OPENCL_INTERNAL', 'ERR_OPENCL_INVALID_HANDLE',
  117. 'ERR_OPENCL_KERNEL_CREATE', 'ERR_OPENCL_NOT_SUPPORTED', 'ERR_OPENCL_PROGRAM_CREATE',
  118. 'ERR_OPENCL_QUEUE_CREATE', 'ERR_OPENCL_SET_KERNEL_PARAMETER',
  119. 'ERR_OPENCL_TOO_LONG_KERNEL_NAME', 'ERR_OPENCL_WRONG_BUFFER_OFFSET',
  120. 'ERR_OPENCL_WRONG_BUFFER_SIZE', 'ERR_ORDER_LOCKED', 'ERR_OUT_OF_MEMORY',
  121. 'ERR_PLAY_SOUND_FAILED', 'ERR_PRICE_CHANGED', 'ERR_RECURSIVE_STACK_OVERFLOW',
  122. 'ERR_REMAINDER_FROM_ZERO_DIVIDE', 'ERR_REQUOTE', 'ERR_RESOURCE_DUPLICATED',
  123. 'ERR_RESOURCE_NAME_DUPLICATED', 'ERR_RESOURCE_NAME_IS_TOO_LONG', 'ERR_RESOURCE_NOT_FOUND',
  124. 'ERR_RESOURCE_NOT_SUPPORTED', 'ERR_RESOURCE_UNSUPPOTED_TYPE', 'ERR_SEND_MAIL_ERROR',
  125. 'ERR_SERIES_ARRAY', 'ERR_SERVER_BUSY', 'ERR_SHORT_ARRAY_ONLY', 'ERR_SHORTS_NOT_ALLOWED',
  126. 'ERR_SMALL_ARRAY', 'ERR_SMALL_ASSERIES_ARRAY', 'ERR_SOME_ARRAY_ERROR', 'ERR_SOME_FILE_ERROR',
  127. 'ERR_SOME_OBJECT_ERROR', 'ERR_STRING_ARRAY_ONLY', 'ERR_STRING_FUNCTION_INTERNAL',
  128. 'ERR_STRING_OUT_OF_MEMORY', 'ERR_STRING_PARAMETER_EXPECTED', 'ERR_STRING_RESIZE_ERROR',
  129. 'ERR_STRING_SMALL_LEN', 'ERR_STRING_TIME_ERROR', 'ERR_STRING_TOO_BIGNUMBER',
  130. 'ERR_STRING_UNKNOWNTYPE', 'ERR_STRING_ZEROADDED', 'ERR_STRINGPOS_OUTOFRANGE',
  131. 'ERR_STRUCT_WITHOBJECTS_ORCLASS', 'ERR_SUCCESS', 'ERR_SYMBOL_SELECT', 'ERR_SYSTEM_BUSY',
  132. 'ERR_TERMINAL_WRONG_PROPERTY', 'ERR_TOO_FREQUENT_REQUESTS', 'ERR_TOO_LONG_FILENAME',
  133. 'ERR_TOO_LONG_STRING', 'ERR_TOO_MANY_FILES', 'ERR_TOO_MANY_FORMATTERS',
  134. 'ERR_TOO_MANY_OPENED_FILES', 'ERR_TOO_MANY_PARAMETERS', 'ERR_TOO_MANY_REQUESTS',
  135. 'ERR_TRADE_CALC_FAILED', 'ERR_TRADE_CONTEXT_BUSY', 'ERR_TRADE_DEAL_NOT_FOUND',
  136. 'ERR_TRADE_DISABLED', 'ERR_TRADE_ERROR', 'ERR_TRADE_EXPERT_DISABLED_BY_SERVER',
  137. 'ERR_TRADE_EXPIRATION_DENIED', 'ERR_TRADE_HEDGE_PROHIBITED', 'ERR_TRADE_MODIFY_DENIED',
  138. 'ERR_TRADE_NOT_ALLOWED', 'ERR_TRADE_ORDER_NOT_FOUND', 'ERR_TRADE_POSITION_NOT_FOUND',
  139. 'ERR_TRADE_PROHIBITED_BY_FIFO', 'ERR_TRADE_SEND_FAILED', 'ERR_TRADE_TIMEOUT',
  140. 'ERR_TRADE_TOO_MANY_ORDERS', 'ERR_TRADE_WRONG_PROPERTY', 'ERR_UNKNOWN_COMMAND',
  141. 'ERR_UNKNOWN_OBJECT_PROPERTY', 'ERR_UNKNOWN_OBJECT_TYPE', 'ERR_UNKNOWN_SYMBOL',
  142. 'ERR_USER_ERROR_FIRST', 'ERR_USER_ERROR_LAST', 'ERR_WEBREQUEST_CONNECT_FAILED',
  143. 'ERR_WEBREQUEST_INVALID_ADDRESS', 'ERR_WEBREQUEST_REQUEST_FAILED', 'ERR_WEBREQUEST_TIMEOUT',
  144. 'ERR_WRONG_DIRECTORYNAME', 'ERR_WRONG_FILE_NAME', 'ERR_WRONG_FILEHANDLE',
  145. 'ERR_WRONG_FILENAME', 'ERR_WRONG_FORMATSTRING', 'ERR_WRONG_FUNCTION_POINTER',
  146. 'ERR_WRONG_INTERNAL_PARAMETER', 'ERR_WRONG_JUMP', 'ERR_WRONG_STRING_DATE',
  147. 'ERR_WRONG_STRING_OBJECT', 'ERR_WRONG_STRING_PARAMETER', 'ERR_WRONG_STRING_TIME',
  148. 'ERR_ZERO_DIVIDE', 'ERR_ZEROSIZE_ARRAY', 'false', 'False', 'FALSE', 'FILE_ACCESS_DATE',
  149. 'FILE_ANSI', 'FILE_BIN', 'FILE_COMMON', 'FILE_CREATE_DATE', 'FILE_CSV', 'FILE_END',
  150. 'FILE_EXISTS', 'FILE_IS_ANSI', 'FILE_IS_BINARY', 'FILE_IS_COMMON', 'FILE_IS_CSV',
  151. 'FILE_IS_READABLE', 'FILE_IS_TEXT', 'FILE_IS_WRITABLE', 'FILE_LINE_END', 'FILE_MODIFY_DATE',
  152. 'FILE_POSITION', 'FILE_READ', 'FILE_REWRITE', 'FILE_SHARE_READ', 'FILE_SHARE_WRITE',
  153. 'FILE_SIZE', 'FILE_TXT', 'FILE_UNICODE', 'FILE_WRITE', 'FLOAT_VALUE', 'FLT_DIG',
  154. 'FLT_EPSILON', 'FLT_MANT_DIG', 'FLT_MAX', 'FLT_MAX_10_EXP', 'FLT_MAX_EXP', 'FLT_MIN',
  155. 'FLT_MIN_10_EXP', 'FLT_MIN_EXP', 'FONT_ITALIC', 'FONT_STRIKEOUT', 'FONT_UNDERLINE',
  156. 'FRIDAY', 'FW_BLACK', 'FW_BOLD', 'FW_DEMIBOLD', 'FW_DONTCARE', 'FW_EXTRABOLD',
  157. 'FW_EXTRALIGHT', 'FW_HEAVY', 'FW_LIGHT', 'FW_MEDIUM', 'FW_NORMAL', 'FW_REGULAR',
  158. 'FW_SEMIBOLD', 'FW_THIN', 'FW_ULTRABOLD', 'FW_ULTRALIGHT', 'GANN_DOWN_TREND',
  159. 'GANN_UP_TREND', 'GATORJAW_LINE', 'GATORLIPS_LINE', 'GATORTEETH_LINE', 'icon',
  160. 'IDABORT', 'IDCANCEL', 'IDCLOSE', 'IDCONTINUE', 'IDHELP', 'IDIGNORE', 'IDNO', 'IDOK',
  161. 'IDRETRY', 'IDTRYAGAIN', 'IDYES', 'IND_AC', 'IND_AD', 'IND_ADX', 'IND_ADXW', 'IND_ALLIGATOR',
  162. 'IND_AMA', 'IND_AO', 'IND_ATR', 'IND_BANDS', 'IND_BEARS', 'IND_BULLS', 'IND_BWMFI',
  163. 'IND_CCI', 'IND_CHAIKIN', 'IND_CUSTOM', 'IND_DEMA', 'IND_DEMARKER', 'IND_ENVELOPES',
  164. 'IND_FORCE', 'IND_FRACTALS', 'IND_FRAMA', 'IND_GATOR', 'IND_ICHIMOKU', 'IND_MA', 'IND_MACD',
  165. 'IND_MFI', 'IND_MOMENTUM', 'IND_OBV', 'IND_OSMA', 'IND_RSI', 'IND_RVI', 'IND_SAR',
  166. 'IND_STDDEV', 'IND_STOCHASTIC', 'IND_TEMA', 'IND_TRIX', 'IND_VIDYA', 'IND_VOLUMES',
  167. 'IND_WPR', 'indicator_applied_price', 'indicator_buffers', 'INDICATOR_CALCULATIONS',
  168. 'indicator_chart_window', 'indicator_color', 'INDICATOR_COLOR_INDEX', 'INDICATOR_DATA',
  169. 'INDICATOR_DIGITS', 'indicator_height', 'INDICATOR_HEIGHT', 'indicator_label',
  170. 'indicator_level', 'indicator_levelcolor', 'INDICATOR_LEVELCOLOR', 'INDICATOR_LEVELS',
  171. 'indicator_levelstyle', 'INDICATOR_LEVELSTYLE', 'INDICATOR_LEVELTEXT',
  172. 'INDICATOR_LEVELVALUE', 'indicator_levelwidth', 'INDICATOR_LEVELWIDTH', 'indicator_maximum',
  173. 'INDICATOR_MAXIMUM', 'indicator_minimum', 'INDICATOR_MINIMUM', 'indicator_plots',
  174. 'indicator_separate_window', 'INDICATOR_SHORTNAME', 'indicator_style', 'indicator_type',
  175. 'indicator_width', 'INIT_AGENT_NOT_SUITABLE', 'INIT_FAILED', 'INIT_PARAMETERS_INCORRECT',
  176. 'INIT_SUCCEEDED', 'INT_MAX', 'INT_MIN', 'INT_VALUE', 'INVALID_HANDLE', 'IS_DEBUG_MODE',
  177. 'IS_PROFILE_MODE', 'KIJUNSEN_LINE', 'library', 'LICENSE_DEMO', 'LICENSE_FREE',
  178. 'LICENSE_FULL', 'LICENSE_TIME', 'link', 'LONG_MAX', 'LONG_MIN', 'LONG_VALUE', 'LOWER_BAND',
  179. 'LOWER_HISTOGRAM', 'LOWER_LINE', 'M_1_PI', 'M_2_PI', 'M_2_SQRTPI', 'M_E', 'M_LN10', 'M_LN2',
  180. 'M_LOG10E', 'M_LOG2E', 'M_PI', 'M_PI_2', 'M_PI_4', 'M_SQRT1_2', 'M_SQRT2', 'MAIN_LINE',
  181. 'MB_ABORTRETRYIGNORE', 'MB_APPLMODAL', 'MB_CANCELTRYCONTINUE', 'MB_DEFAULT_DESKTOP_ONLY',
  182. 'MB_DEFBUTTON1', 'MB_DEFBUTTON2', 'MB_DEFBUTTON3', 'MB_DEFBUTTON4', 'MB_HELP',
  183. 'MB_ICONASTERISK', 'MB_ICONERROR', 'MB_ICONEXCLAMATION', 'MB_ICONHAND', 'MB_ICONINFORMATION',
  184. 'MB_ICONQUESTION', 'MB_ICONSTOP', 'MB_ICONWARNING', 'MB_NOFOCUS', 'MB_OK', 'MB_OKCANCEL',
  185. 'MB_RETRYCANCEL', 'MB_RIGHT', 'MB_RTLREADING', 'MB_SETFOREGROUND', 'MB_SYSTEMMODAL',
  186. 'MB_TASKMODAL', 'MB_TOPMOST', 'MB_USERICON', 'MB_YESNO', 'MB_YESNOCANCEL', 'MINUSDI_LINE',
  187. 'MODE_ASCEND', 'MODE_ASK', 'MODE_BASE', 'MODE_BID', 'MODE_CHIKOUSPAN', 'MODE_CLOSE',
  188. 'MODE_CLOSEBY_ALLOWED', 'MODE_DESCEND', 'MODE_DIGITS', 'MODE_EMA', 'MODE_EXPIRATION',
  189. 'MODE_FREEZELEVEL', 'MODE_GATORJAW', 'MODE_GATORLIPS', 'MODE_GATORTEETH', 'MODE_HIGH',
  190. 'MODE_HISTORY', 'MODE_KIJUNSEN', 'MODE_LOTSIZE', 'MODE_LOTSTEP', 'MODE_LOW', 'MODE_LOWER',
  191. 'MODE_LWMA', 'MODE_MAIN', 'MODE_MARGINCALCMODE', 'MODE_MARGINHEDGED', 'MODE_MARGININIT',
  192. 'MODE_MARGINMAINTENANCE', 'MODE_MARGINREQUIRED', 'MODE_MAXLOT', 'MODE_MINLOT',
  193. 'MODE_MINUSDI', 'MODE_OPEN', 'MODE_PLUSDI', 'MODE_POINT', 'MODE_PROFITCALCMODE',
  194. 'MODE_SENKOUSPANA', 'MODE_SENKOUSPANB', 'MODE_SIGNAL', 'MODE_SMA', 'MODE_SMMA',
  195. 'MODE_SPREAD', 'MODE_STARTING', 'MODE_STOPLEVEL', 'MODE_SWAPLONG', 'MODE_SWAPSHORT',
  196. 'MODE_SWAPTYPE', 'MODE_TENKANSEN', 'MODE_TICKSIZE', 'MODE_TICKVALUE', 'MODE_TIME',
  197. 'MODE_TRADEALLOWED', 'MODE_TRADES', 'MODE_UPPER', 'MODE_VOLUME', 'MONDAY', 'MQL5_DEBUG',
  198. 'MQL5_DEBUGGING', 'MQL5_DLLS_ALLOWED', 'MQL5_FRAME_MODE', 'MQL5_LICENSE_TYPE',
  199. 'MQL5_MEMORY_LIMIT', 'MQL5_MEMORY_USED', 'MQL5_OPTIMIZATION', 'MQL5_PROFILER',
  200. 'MQL5_PROGRAM_NAME', 'MQL5_PROGRAM_PATH', 'MQL5_PROGRAM_TYPE', 'MQL5_SIGNALS_ALLOWED',
  201. 'MQL5_TESTER', 'MQL5_TESTING', 'MQL5_TRADE_ALLOWED', 'MQL5_VISUAL_MODE', 'MQL_CODEPAGE',
  202. 'MQL_DEBUG', 'MQL_DLLS_ALLOWED', 'MQL_FRAME_MODE', 'MQL_LICENSE_TYPE', 'MQL_MEMORY_LIMIT',
  203. 'MQL_MEMORY_USED', 'MQL_OPTIMIZATION', 'MQL_PROFILER', 'MQL_PROGRAM_NAME',
  204. 'MQL_PROGRAM_PATH', 'MQL_PROGRAM_TYPE', 'MQL_SIGNALS_ALLOWED', 'MQL_TESTER',
  205. 'MQL_TRADE_ALLOWED', 'MQL_VISUAL_MODE', 'NULL', 'OBJ_ALL_PERIODS', 'OBJ_ARROW',
  206. 'OBJ_ARROW_BUY', 'OBJ_ARROW_CHECK', 'OBJ_ARROW_DOWN', 'OBJ_ARROW_LEFT_PRICE',
  207. 'OBJ_ARROW_RIGHT_PRICE', 'OBJ_ARROW_SELL', 'OBJ_ARROW_STOP', 'OBJ_ARROW_THUMB_DOWN',
  208. 'OBJ_ARROW_THUMB_UP', 'OBJ_ARROW_UP', 'OBJ_ARROWED_LINE', 'OBJ_BITMAP', 'OBJ_BITMAP_LABEL',
  209. 'OBJ_BUTTON', 'OBJ_CHANNEL', 'OBJ_CHART', 'OBJ_CYCLES', 'OBJ_EDIT', 'OBJ_ELLIOTWAVE3',
  210. 'OBJ_ELLIOTWAVE5', 'OBJ_ELLIPSE', 'OBJ_EVENT', 'OBJ_EXPANSION', 'OBJ_FIBO', 'OBJ_FIBOARC',
  211. 'OBJ_FIBOCHANNEL', 'OBJ_FIBOFAN', 'OBJ_FIBOTIMES', 'OBJ_GANNFAN', 'OBJ_GANNGRID',
  212. 'OBJ_GANNLINE', 'OBJ_HLINE', 'OBJ_LABEL', 'OBJ_NO_PERIODS', 'OBJ_PERIOD_D1',
  213. 'OBJ_PERIOD_H1', 'OBJ_PERIOD_H12', 'OBJ_PERIOD_H2', 'OBJ_PERIOD_H3', 'OBJ_PERIOD_H4',
  214. 'OBJ_PERIOD_H6', 'OBJ_PERIOD_H8', 'OBJ_PERIOD_M1', 'OBJ_PERIOD_M10', 'OBJ_PERIOD_M12',
  215. 'OBJ_PERIOD_M15', 'OBJ_PERIOD_M2', 'OBJ_PERIOD_M20', 'OBJ_PERIOD_M3', 'OBJ_PERIOD_M30',
  216. 'OBJ_PERIOD_M4'
  217. ),
  218. 3 => array(
  219. // MQL5 and MQL4 built-in functions and event handlers
  220. 'AccountBalance', 'AccountCompany', 'AccountCredit', 'AccountCurrency', 'AccountEquity',
  221. 'AccountFreeMargin', 'AccountFreeMarginCheck', 'AccountFreeMarginMode', 'AccountInfoDouble',
  222. 'AccountInfoInteger', 'AccountInfoString', 'AccountLeverage', 'AccountMargin', 'AccountName',
  223. 'AccountNumber', 'AccountProfit', 'AccountServer', 'AccountStopoutLevel',
  224. 'AccountStopoutMode', 'acos', 'Alert', 'ArrayBsearch', 'ArrayCompare', 'ArrayCopy',
  225. 'ArrayCopyRates', 'ArrayCopySeries', 'ArrayDimension', 'ArrayFill', 'ArrayFree',
  226. 'ArrayGetAsSeries', 'ArrayInitialize', 'ArrayIsDynamic', 'ArrayIsSeries',
  227. 'ArrayMaximum', 'ArrayMinimum', 'ArrayRange', 'ArrayResize', 'ArraySetAsSeries',
  228. 'ArraySize', 'ArraySort', 'asin', 'atan', 'Bars', 'BarsCalculated', 'BarsPerWindow',
  229. 'ceil', 'CharArrayToString', 'ChartApplyTemplate', 'ChartClose', 'ChartFirst',
  230. 'ChartGetDouble', 'ChartGetInteger', 'ChartGetString', 'ChartID', 'ChartIndicatorAdd',
  231. 'ChartIndicatorDelete', 'ChartIndicatorGet', 'ChartIndicatorName', 'ChartIndicatorsTotal',
  232. 'ChartNavigate', 'ChartNext', 'ChartOpen', 'CharToStr', 'CharToString', 'ChartPeriod',
  233. 'ChartPriceOnDropped', 'ChartRedraw', 'ChartSaveTemplate', 'ChartScreenShot',
  234. 'ChartSetDouble', 'ChartSetInteger', 'ChartSetString', 'ChartSetSymbolPeriod',
  235. 'ChartSymbol', 'ChartTimeOnDropped', 'ChartTimePriceToXY', 'ChartWindowFind',
  236. 'ChartWindowOnDropped', 'ChartXOnDropped', 'ChartXYToTimePrice', 'ChartYOnDropped',
  237. 'CheckPointer', 'CLBufferCreate', 'CLBufferFree', 'CLBufferRead', 'CLBufferWrite',
  238. 'CLContextCreate', 'CLContextFree', 'CLExecute', 'CLGetDeviceInfo', 'CLGetInfoInteger',
  239. 'CLGetInfoString', 'CLHandleType', 'ClientTerminalName', 'CLKernelCreate', 'CLKernelFree',
  240. 'CLProgramCreate', 'CLProgramFree', 'CLSetKernelArg', 'CLSetKernelArgMem', 'ColorToARGB',
  241. 'ColorToString', 'Comment', 'CompanyName', 'CopyBuffer', 'CopyClose', 'CopyHigh',
  242. 'CopyLow', 'CopyOpen', 'CopyRates', 'CopyRealVolume', 'CopySpread', 'CopyTicks',
  243. 'CopyTickVolume', 'CopyTime', 'cos', 'CryptDecode', 'CryptEncode', 'CurTime', 'Day',
  244. 'DayOfWeek', 'DayOfYear', 'DebugBreak', 'Digits', 'DoubleToStr', 'DoubleToString',
  245. 'EnumToString', 'EventChartCustom', 'EventKillTimer', 'EventSetMillisecondTimer',
  246. 'EventSetTimer', 'exp', 'ExpertRemove', 'fabs', 'FileClose', 'FileCopy', 'FileDelete',
  247. 'FileFindClose', 'FileFindFirst', 'FileFindNext', 'FileFlush', 'FileGetInteger',
  248. 'FileIsEnding', 'FileIsExist', 'FileIsLineEnding', 'FileMove', 'FileOpen',
  249. 'FileOpenHistory', 'FileReadArray', 'FileReadBool', 'FileReadDatetime', 'FileReadDouble',
  250. 'FileReadFloat', 'FileReadInteger', 'FileReadLong', 'FileReadNumber', 'FileReadString',
  251. 'FileReadStruct', 'FileSeek', 'FileSize', 'FileTell', 'FileWrite', 'FileWriteArray',
  252. 'FileWriteDouble', 'FileWriteFloat', 'FileWriteInteger', 'FileWriteLong',
  253. 'FileWriteString', 'FileWriteStruct', 'FirstVisibleBar', 'floor', 'fmax', 'fmin', 'fmod',
  254. 'FolderClean', 'FolderCreate', 'FolderDelete', 'FrameAdd', 'FrameFilter', 'FrameFirst',
  255. 'FrameInputs', 'FrameNext', 'GetLastError', 'GetMicrosecondCount', 'GetPointer',
  256. 'GetTickCount', 'GlobalVariableCheck', 'GlobalVariableDel', 'GlobalVariableGet',
  257. 'GlobalVariableName', 'GlobalVariablesDeleteAll', 'GlobalVariableSet',
  258. 'GlobalVariableSetOnCondition', 'GlobalVariablesFlush', 'GlobalVariablesTotal',
  259. 'GlobalVariableTemp', 'GlobalVariableTime', 'HideTestIndicators', 'Highest',
  260. 'HistoryDealGetDouble', 'HistoryDealGetInteger', 'HistoryDealGetString',
  261. 'HistoryDealGetTicket', 'HistoryDealSelect', 'HistoryDealsTotal', 'HistoryOrderGetDouble',
  262. 'HistoryOrderGetInteger', 'HistoryOrderGetString', 'HistoryOrderGetTicket',
  263. 'HistoryOrderSelect', 'HistoryOrdersTotal', 'HistorySelect', 'HistorySelectByPosition',
  264. 'HistoryTotal', 'Hour', 'iBars', 'iBarShift', 'iClose', 'iHigh', 'iHighest', 'iLow',
  265. 'iLowest', 'IndicatorBuffers', 'IndicatorCounted', 'IndicatorCreate', 'IndicatorDigits',
  266. 'IndicatorParameters', 'IndicatorRelease', 'IndicatorSetDouble', 'IndicatorSetInteger',
  267. 'IndicatorSetString', 'IndicatorShortName', 'IntegerToString', 'iOpen', 'IsConnected',
  268. 'IsDemo', 'IsDllsAllowed', 'IsExpertEnabled', 'IsLibrariesAllowed', 'IsOptimization',
  269. 'IsStopped', 'IsTesting', 'IsTradeAllowed', 'IsTradeContextBusy', 'IsVisualMode', 'iTime',
  270. 'iVolume', 'LocalTime', 'log', 'log10', 'Lowest', 'MarketBookAdd', 'MarketBookGet',
  271. 'MarketBookRelease', 'MarketInfo', 'MathAbs', 'MathArccos', 'MathArcsin', 'MathArctan',
  272. 'MathCeil', 'MathCos', 'MathExp', 'MathFloor', 'MathIsValidNumber', 'MathLog', 'MathLog10',
  273. 'MathMax', 'MathMin', 'MathMod', 'MathPow', 'MathRand', 'MathRound', 'MathSin', 'MathSqrt',
  274. 'MathSrand', 'MathTan', 'MessageBox', 'Minute', 'Month', 'MQL5InfoInteger',
  275. 'MQL5InfoString', 'MQLInfoInteger', 'MQLInfoString', 'MQLSetInteger', 'NormalizeDouble',
  276. 'ObjectCreate', 'ObjectDelete', 'ObjectDescription', 'ObjectFind', 'ObjectGet',
  277. 'ObjectGetDouble', 'ObjectGetFiboDescription', 'ObjectGetInteger', 'ObjectGetShiftByValue',
  278. 'ObjectGetString', 'ObjectGetTimeByValue', 'ObjectGetValueByShift', 'ObjectGetValueByTime',
  279. 'ObjectMove', 'ObjectName', 'ObjectsDeleteAll', 'ObjectSet', 'ObjectSetDouble',
  280. 'ObjectSetFiboDescription', 'ObjectSetInteger', 'ObjectSetString', 'ObjectSetText',
  281. 'ObjectsRedraw', 'ObjectsTotal', 'ObjectType', 'OnBookEvent', 'OnCalculate',
  282. 'OnChartEvent', 'OnDeinit', 'OnInit', 'OnStart', 'OnTester', 'OnTesterDeinit',
  283. 'OnTesterInit', 'OnTesterPass', 'OnTick', 'OnTimer', 'OnTrade', 'OnTradeTransaction',
  284. 'OrderCalcMargin', 'OrderCalcProfit', 'OrderCheck', 'OrderClose', 'OrderCloseBy',
  285. 'OrderClosePrice', 'OrderCloseTime', 'OrderComment', 'OrderCommission', 'OrderDelete',
  286. 'OrderExpiration', 'OrderGetDouble', 'OrderGetInteger', 'OrderGetString', 'OrderGetTicket',
  287. 'OrderLots', 'OrderMagicNumber', 'OrderModify', 'OrderOpenPrice', 'OrderOpenTime',
  288. 'OrderPrint', 'OrderProfit', 'OrderSelect', 'OrderSend', 'OrderSendAsync',
  289. 'OrdersHistoryTotal', 'OrderStopLoss', 'OrdersTotal', 'OrderSwap', 'OrderSymbol',
  290. 'OrderTakeProfit', 'OrderTicket', 'OrderType', 'ParameterGetRange', 'ParameterSetRange',
  291. 'Period', 'PeriodSeconds', 'PlaySound', 'PlotIndexGetInteger', 'PlotIndexSetDouble',
  292. 'PlotIndexSetInteger', 'PlotIndexSetString', 'Point', 'PositionGetDouble',
  293. 'PositionGetInteger', 'PositionGetString', 'PositionGetSymbol', 'PositionGetTicket',
  294. 'PositionSelect', 'PositionSelectByTicket', 'PositionsTotal', 'pow', 'PriceOnDropped',
  295. 'Print', 'printf', 'PrintFormat', 'rand', 'RefreshRates', 'ResetLastError',
  296. 'ResourceCreate', 'ResourceFree', 'ResourceReadImage', 'ResourceSave', 'round',
  297. 'ScreenShot', 'Seconds', 'SendFTP', 'SendMail', 'SendNotification', 'SeriesInfoInteger',
  298. 'ServerAddress', 'SetIndexArrow', 'SetIndexBuffer', 'SetIndexDrawBegin',
  299. 'SetIndexEmptyValue', 'SetIndexLabel', 'SetIndexShift', 'SetIndexStyle', 'SetLevelStyle',
  300. 'SetLevelValue', 'SetUserError', 'ShortArrayToString', 'ShortToString',
  301. 'SignalBaseGetDouble', 'SignalBaseGetInteger', 'SignalBaseGetString', 'SignalBaseSelect',
  302. 'SignalBaseTotal', 'SignalInfoGetDouble', 'SignalInfoGetInteger', 'SignalInfoGetString',
  303. 'SignalInfoSetDouble', 'SignalInfoSetInteger', 'SignalSubscribe', 'SignalUnsubscribe',
  304. 'sin', 'Sleep', 'sqrt', 'srand', 'StringAdd', 'StringBufferLen', 'StringCompare',
  305. 'StringConcatenate', 'StringFill', 'StringFind', 'StringFormat', 'StringGetChar',
  306. 'StringGetCharacter', 'StringInit', 'StringLen', 'StringReplace', 'StringSetChar',
  307. 'StringSetCharacter', 'StringSplit', 'StringSubstr', 'StringToCharArray', 'StringToColor',
  308. 'StringToDouble', 'StringToInteger', 'StringToLower', 'StringToShortArray', 'StringToTime',
  309. 'StringToUpper', 'StringTrimLeft', 'StringTrimRight', 'StrToDouble', 'StrToInteger',
  310. 'StrToTime', 'StructToTime', 'Symbol', 'SymbolInfoDouble', 'SymbolInfoInteger',
  311. 'SymbolInfoMarginRate', 'SymbolInfoSessionQuote', 'SymbolInfoSessionTrade',
  312. 'SymbolInfoString', 'SymbolInfoTick', 'SymbolIsSynchronized', 'SymbolName', 'SymbolSelect',
  313. 'SymbolsTotal', 'tan', 'TerminalClose', 'TerminalCompany', 'TerminalInfoDouble',
  314. 'TerminalInfoInteger', 'TerminalInfoString', 'TerminalName', 'TerminalPath',
  315. 'TesterStatistics', 'TesterWithdrawal', 'TextGetSize', 'TextOut', 'TextSetFont',
  316. 'TimeCurrent', 'TimeDay', 'TimeDaylightSavings', 'TimeDayOfWeek', 'TimeDayOfYear',
  317. 'TimeGMT', 'TimeGMTOffset', 'TimeHour', 'TimeLocal', 'TimeMinute', 'TimeMonth',
  318. 'TimeOnDropped', 'TimeSeconds', 'TimeToStr', 'TimeToString', 'TimeToStruct',
  319. 'TimeTradeServer', 'TimeYear', 'UninitializeReason', 'WebRequest', 'WindowBarsPerChart',
  320. 'WindowExpertName', 'WindowFind', 'WindowFirstVisibleBar', 'WindowHandle',
  321. 'WindowIsVisible', 'WindowOnDropped', 'WindowPriceMax', 'WindowPriceMin',
  322. 'WindowPriceOnDropped', 'WindowRedraw', 'WindowScreenShot', 'WindowsTotal',
  323. 'WindowTimeOnDropped', 'WindowXOnDropped', 'WindowYOnDropped', 'Year', 'ZeroMemory'
  324. ),
  325. 4 => array(
  326. // data types
  327. 'char', 'short', 'int', 'long', 'uchar', 'ushort', 'uint', 'ulong', 'bool', 'color',
  328. 'datetime', 'string', 'double', 'float', 'enum', 'struct', 'class', 'interface',
  329. 'void', 'CAccountInfo',
  330.  
  331. // access modifiers
  332. 'const', 'private', 'protected', 'public', 'virtual', 'export',
  333.  
  334. // memory classes
  335. 'extern', 'input', 'static', 'sinput',
  336.  
  337. // other keywords
  338. 'operator', 'sizeof', 'this', 'template', 'typename', 'typedef', 'trash', 'defined',
  339. 'unsigned', 'dynamic_cast', 'override', 'final', '__DATE__', '__DATETIME__', '__FILE__',
  340. '__FUNCSIG__', '__FUNCTION__', '__LINE__', '__PATH__',
  341.  
  342. // MQL5 and MQL4 built-in indicators
  343. 'iAC', 'iAD', 'iADX', 'iADXWilder', 'iAlligator', 'iAMA', 'iAO', 'iATR', 'iBands',
  344. 'iBandsOnArray', 'iBearsPower', 'iBullsPower', 'iBWMFI', 'iCCI', 'iCCIOnArray', 'iChaikin',
  345. 'iCustom', 'iDEMA', 'iDeMarker', 'iEnvelopes', 'iEnvelopesOnArray', 'iForce', 'iFractals',
  346. 'iFrAMA', 'iGator', 'iIchimoku', 'iMA', 'iMACD', 'iMAOnArray', 'iMFI', 'iMomentum',
  347. 'iMomentumOnArray', 'iOBV', 'iOsMA', 'iRSI', 'iRSIOnArray', 'iRVI', 'iSAR', 'iStdDev',
  348. 'iStdDevOnArray', 'iStochastic', 'iTEMA', 'iTriX', 'iVIDyA', 'iVolumes', 'iWPR',
  349.  
  350. // MQL5 and MQL4 predefined variables
  351. 'ZeroString', 'ZeroValue', '_AppliedTo', '_CriticalError', '_Digits', '_IsX64',
  352. '_LastError', '_Period', '_Point', '_RandomSeed', '_ReturnedDouble', '_ReturnedFloat',
  353. '_ReturnedString', '_StopFlag', '_Symbol', '_UninitReason', 'Ask', 'Bars', 'Bid', 'Close',
  354. 'Digits', 'High', 'Low', 'MqlBookInfo', 'MqlDateTime', 'MqlParam', 'MqlRates', 'MqlTick',
  355. 'MqlTradeCheckResult', 'MqlTradeRequest', 'MqlTradeResult', 'MqlTradeTransaction', 'Open',
  356. 'Point', 'Time', 'Volume',
  357.  
  358. '__MQ5BUILD__', '__MQL4__', '__MQL4BUILD__', '__MQL5__', '__MQL5BUILD__', '__MQL__',
  359. '__MQLBUILD__', 'ACCOUNT_ASSETS', 'ACCOUNT_BALANCE', 'ACCOUNT_COMMISSION_BLOCKED',
  360. 'ACCOUNT_COMPANY', 'ACCOUNT_CREDIT', 'ACCOUNT_CURRENCY', 'ACCOUNT_EQUITY',
  361. 'ACCOUNT_FREEMARGIN', 'ACCOUNT_LEVERAGE', 'ACCOUNT_LIABILITIES', 'ACCOUNT_LIMIT_ORDERS',
  362. 'ACCOUNT_LOGIN', 'ACCOUNT_MARGIN', 'ACCOUNT_MARGIN_FREE', 'ACCOUNT_MARGIN_INITIAL',
  363. 'ACCOUNT_MARGIN_LEVEL', 'ACCOUNT_MARGIN_MAINTENANCE', 'ACCOUNT_MARGIN_MODE',
  364. 'ACCOUNT_MARGIN_MODE_EXCHANGE', 'ACCOUNT_MARGIN_MODE_RETAIL_HEDGING',
  365. 'ACCOUNT_MARGIN_MODE_RETAIL_NETTING', 'ACCOUNT_MARGIN_SO_CALL', 'ACCOUNT_MARGIN_SO_MODE',
  366. 'ACCOUNT_MARGIN_SO_SO', 'ACCOUNT_NAME', 'ACCOUNT_PROFIT', 'ACCOUNT_SERVER',
  367. 'ACCOUNT_STOPOUT_MODE_MONEY', 'ACCOUNT_STOPOUT_MODE_PERCENT', 'ACCOUNT_TRADE_ALLOWED',
  368. 'ACCOUNT_TRADE_EXPERT', 'ACCOUNT_TRADE_MODE', 'ACCOUNT_TRADE_MODE_CONTEST',
  369. 'ACCOUNT_TRADE_MODE_DEMO', 'ACCOUNT_TRADE_MODE_REAL', 'ALIGN_CENTER', 'ALIGN_LEFT',
  370. 'ALIGN_RIGHT', 'ANCHOR_BOTTOM', 'ANCHOR_CENTER', 'ANCHOR_LEFT', 'ANCHOR_LEFT_LOWER',
  371. 'ANCHOR_LEFT_UPPER', 'ANCHOR_LOWER', 'ANCHOR_RIGHT', 'ANCHOR_RIGHT_LOWER',
  372. 'ANCHOR_RIGHT_UPPER', 'ANCHOR_TOP', 'ANCHOR_UPPER', 'BASE_LINE', 'BOOK_TYPE_BUY',
  373. 'BOOK_TYPE_BUY_MARKET', 'BOOK_TYPE_SELL', 'BOOK_TYPE_SELL_MARKET', 'BORDER_FLAT',
  374. 'BORDER_RAISED', 'BORDER_SUNKEN', 'CHAR_MAX', 'CHAR_MIN', 'CHAR_VALUE', 'CHART_AUTOSCROLL',
  375. 'CHART_BARS', 'CHART_BEGIN', 'CHART_BRING_TO_TOP', 'CHART_CANDLES', 'CHART_COLOR_ASK',
  376. 'CHART_COLOR_BACKGROUND', 'CHART_COLOR_BID', 'CHART_COLOR_CANDLE_BEAR',
  377. 'CHART_COLOR_CANDLE_BULL', 'CHART_COLOR_CHART_DOWN', 'CHART_COLOR_CHART_LINE',
  378. 'CHART_COLOR_CHART_UP', 'CHART_COLOR_FOREGROUND', 'CHART_COLOR_GRID', 'CHART_COLOR_LAST',
  379. 'CHART_COLOR_STOP_LEVEL', 'CHART_COLOR_VOLUME', 'CHART_COMMENT', 'CHART_CURRENT_POS',
  380. 'CHART_DRAG_TRADE_LEVELS', 'CHART_END', 'CHART_EVENT_MOUSE_MOVE',
  381. 'CHART_EVENT_OBJECT_CREATE', 'CHART_EVENT_OBJECT_DELETE', 'CHART_EXPERT_NAME',
  382. 'CHART_FIRST_VISIBLE_BAR', 'CHART_FIXED_MAX', 'CHART_FIXED_MIN', 'CHART_FIXED_POSITION',
  383. 'CHART_FOREGROUND', 'CHART_HEIGHT_IN_PIXELS', 'CHART_IS_OBJECT', 'CHART_IS_OFFLINE',
  384. 'CHART_LINE', 'CHART_MODE', 'CHART_MOUSE_SCROLL', 'CHART_POINTS_PER_BAR',
  385. 'CHART_PRICE_MAX', 'CHART_PRICE_MIN', 'CHART_SCALE', 'CHART_SCALE_PT_PER_BAR',
  386. 'CHART_SCALEFIX', 'CHART_SCALEFIX_11', 'CHART_SCRIPT_NAME', 'CHART_SHIFT',
  387. 'CHART_SHIFT_SIZE', 'CHART_SHOW_ASK_LINE', 'CHART_SHOW_BID_LINE', 'CHART_SHOW_DATE_SCALE',
  388. 'CHART_SHOW_GRID', 'CHART_SHOW_LAST_LINE', 'CHART_SHOW_OBJECT_DESCR', 'CHART_SHOW_OHLC',
  389. 'CHART_SHOW_ONE_CLICK', 'CHART_SHOW_PERIOD_SEP', 'CHART_SHOW_PRICE_SCALE',
  390. 'CHART_SHOW_TRADE_LEVELS', 'CHART_SHOW_VOLUMES', 'CHART_VISIBLE_BARS', 'CHART_VOLUME_HIDE',
  391. 'CHART_VOLUME_REAL', 'CHART_VOLUME_TICK', 'CHART_WIDTH_IN_BARS', 'CHART_WIDTH_IN_PIXELS',
  392. 'CHART_WINDOW_HANDLE', 'CHART_WINDOW_IS_VISIBLE', 'CHART_WINDOW_YDISTANCE',
  393. 'CHART_WINDOWS_TOTAL', 'CHARTEVENT_CHART_CHANGE', 'CHARTEVENT_CLICK', 'CHARTEVENT_CUSTOM',
  394. 'CHARTEVENT_CUSTOM_LAST', 'CHARTEVENT_KEYDOWN', 'CHARTEVENT_MOUSE_MOVE',
  395. 'CHARTEVENT_OBJECT_CHANGE', 'CHARTEVENT_OBJECT_CLICK', 'CHARTEVENT_OBJECT_CREATE',
  396. 'CHARTEVENT_OBJECT_DELETE', 'CHARTEVENT_OBJECT_DRAG', 'CHARTEVENT_OBJECT_ENDEDIT',
  397. 'CHARTS_MAX', 'CHIKOUSPAN_LINE', 'CL_BUFFER_SIZE', 'CL_DEVICE_ACCELERATOR',
  398. 'CL_DEVICE_BUILT_IN_KERNELS', 'CL_DEVICE_COUNT', 'CL_DEVICE_CPU', 'CL_DEVICE_CUSTOM',
  399. 'CL_DEVICE_DEFAULT', 'CL_DEVICE_DOUBLE_FP_CONFIG', 'CL_DEVICE_EXTENSIONS',
  400. 'CL_DEVICE_GLOBAL_MEM_SIZE', 'CL_DEVICE_GPU', 'CL_DEVICE_LOCAL_MEM_SIZE',
  401. 'CL_DEVICE_MAX_CLOCK_FREQUENCY', 'CL_DEVICE_MAX_COMPUTE_UNITS',
  402. 'CL_DEVICE_MAX_WORK_GROUP_SIZE', 'CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS',
  403. 'CL_DEVICE_MAX_WORK_ITEM_SIZES', 'CL_DEVICE_NAME', 'CL_DEVICE_OPENCL_C_VERSION',
  404. 'CL_DEVICE_PROFILE', 'CL_DEVICE_TYPE', 'CL_DEVICE_VENDOR', 'CL_DEVICE_VENDOR_ID',
  405. 'CL_DEVICE_VERSION', 'CL_DRIVER_VERSION', 'CL_MEM_ALLOC_HOST_PTR', 'CL_MEM_COPY_HOST_PTR',
  406. 'CL_MEM_READ_ONLY', 'CL_MEM_READ_WRITE', 'CL_MEM_USE_HOST_PTR', 'CL_MEM_WRITE_ONLY',
  407. 'CL_PLATFORM_EXTENSIONS', 'CL_PLATFORM_NAME', 'CL_PLATFORM_PROFILE', 'CL_PLATFORM_VENDOR',
  408. 'CL_PLATFORM_VERSION', 'CL_USE_ANY', 'CL_USE_CPU_ONLY', 'CL_USE_GPU_ONLY', 'clrAliceBlue',
  409. 'clrAntiqueWhite', 'clrAqua', 'clrAquamarine', 'clrAzure', 'clrBeige', 'clrBisque',
  410. 'clrBlack', 'clrBlanchedAlmond', 'clrBlue', 'clrBlueViolet', 'clrBrown', 'clrBurlyWood',
  411. 'clrCadetBlue', 'clrChartreuse', 'clrChocolate', 'clrCoral', 'clrCornflowerBlue',
  412. 'clrCornsilk', 'clrCrimson', 'clrCyan', 'clrDarkBlue', 'clrDarkCyan', 'clrDarkGoldenrod',
  413. 'clrDarkGray', 'clrDarkGreen', 'clrDarkKhaki', 'clrDarkMagenta', 'clrDarkOliveGreen',
  414. 'clrDarkOrange', 'clrDarkOrchid', 'clrDarkRed', 'clrDarkSalmon', 'clrDarkSeaGreen',
  415. 'clrDarkSlateBlue', 'clrDarkSlateGray', 'clrDarkTurquoise', 'clrDarkViolet', 'clrDeepPink',
  416. 'clrDeepSkyBlue', 'clrDimGray', 'clrDodgerBlue', 'clrFireBrick', 'clrFloralWhite',
  417. 'clrForestGreen', 'clrFuchsia', 'clrGainsboro', 'clrGhostWhite', 'clrGold', 'clrGoldenrod',
  418. 'clrGray', 'clrGreen', 'clrGreenYellow', 'clrHoneydew', 'clrHotPink', 'clrIndianRed',
  419. 'clrIndigo', 'clrIvory', 'clrKhaki', 'clrLavender', 'clrLavenderBlush', 'clrLawnGreen',
  420. 'clrLemonChiffon', 'clrLightBlue', 'clrLightCoral', 'clrLightCyan', 'clrLightGoldenrod',
  421. 'clrLightGray', 'clrLightGreen', 'clrLightPink', 'clrLightSalmon', 'clrLightSeaGreen',
  422. 'clrLightSkyBlue', 'clrLightSlateGray', 'clrLightSteelBlue', 'clrLightYellow', 'clrLime',
  423. 'clrLimeGreen', 'clrLinen', 'clrMagenta', 'clrMaroon', 'clrMediumAquamarine',
  424. 'clrMediumBlue', 'clrMediumOrchid', 'clrMediumPurple', 'clrMediumSeaGreen',
  425. 'clrMediumSlateBlue', 'clrMediumSpringGreen', 'clrMediumTurquoise', 'clrMediumVioletRed',
  426. 'clrMidnightBlue', 'clrMintCream', 'clrMistyRose', 'clrMoccasin', 'clrNavajoWhite',
  427. 'clrNavy', 'clrNONE', 'clrOldLace', 'clrOlive', 'clrOliveDrab', 'clrOrange', 'clrOrangeRed',
  428. 'clrOrchid', 'clrPaleGoldenrod', 'clrPaleGreen', 'clrPaleTurquoise', 'clrPaleVioletRed',
  429. 'clrPapayaWhip', 'clrPeachPuff', 'clrPeru', 'clrPink', 'clrPlum', 'clrPowderBlue',
  430. 'clrPurple', 'clrRed', 'clrRosyBrown', 'clrRoyalBlue', 'clrSaddleBrown', 'clrSalmon',
  431. 'clrSandyBrown', 'clrSeaGreen', 'clrSeashell', 'clrSienna', 'clrSilver', 'clrSkyBlue',
  432. 'clrSlateBlue', 'clrSlateGray', 'clrSnow', 'clrSpringGreen', 'clrSteelBlue', 'clrTan',
  433. 'clrTeal', 'clrThistle', 'clrTomato', 'clrTurquoise', 'clrViolet', 'clrWheat', 'clrWhite',
  434. 'clrWhiteSmoke', 'clrYellow', 'clrYellowGreen', 'COLOR_FORMAT_ARGB_NORMALIZE',
  435. 'COLOR_FORMAT_ARGB_RAW', 'COLOR_FORMAT_XRGB_NOALPHA', 'COPY_TICKS_ALL', 'COPY_TICKS_INFO',
  436. 'COPY_TICKS_TRADE', 'copyright', 'CORNER_LEFT_LOWER', 'CORNER_LEFT_UPPER',
  437. 'CORNER_RIGHT_LOWER', 'CORNER_RIGHT_UPPER', 'CP_ACP', 'CP_MACCP', 'CP_OEMCP', 'CP_SYMBOL',
  438. 'CP_THREAD_ACP', 'CP_UTF7', 'CP_UTF8', 'CRYPT_AES128', 'CRYPT_AES256', 'CRYPT_ARCH_ZIP',
  439. 'CRYPT_BASE64', 'CRYPT_DES', 'CRYPT_HASH_MD5', 'CRYPT_HASH_SHA1', 'CRYPT_HASH_SHA256',
  440. 'DBL_DIG', 'DBL_EPSILON', 'DBL_MANT_DIG', 'DBL_MAX', 'DBL_MAX_10_EXP', 'DBL_MAX_EXP',
  441. 'DBL_MIN', 'DBL_MIN_10_EXP', 'DBL_MIN_EXP', 'DEAL_COMMENT', 'DEAL_COMMISSION', 'DEAL_ENTRY',
  442. 'DEAL_ENTRY_IN', 'DEAL_ENTRY_INOUT', 'DEAL_ENTRY_OUT', 'DEAL_ENTRY_OUT_BY',
  443. 'DEAL_ENTRY_STATE', 'DEAL_EXTERNAL_ID', 'DEAL_MAGIC', 'DEAL_ORDER', 'DEAL_POSITION_ID',
  444. 'DEAL_PRICE', 'DEAL_PROFIT', 'DEAL_SWAP', 'DEAL_SYMBOL', 'DEAL_TICKET', 'DEAL_TIME',
  445. 'DEAL_TIME_MSC', 'DEAL_TYPE', 'DEAL_TYPE_BALANCE', 'DEAL_TYPE_BONUS', 'DEAL_TYPE_BUY',
  446. 'DEAL_TYPE_BUY_CANCELED', 'DEAL_TYPE_CHARGE', 'DEAL_TYPE_COMMISSION',
  447. 'DEAL_TYPE_COMMISSION_AGENT_DAILY', 'DEAL_TYPE_COMMISSION_AGENT_MONTHLY',
  448. 'DEAL_TYPE_COMMISSION_DAILY', 'DEAL_TYPE_COMMISSION_MONTHLY', 'DEAL_TYPE_CORRECTION',
  449. 'DEAL_TYPE_CREDIT', 'DEAL_TYPE_INTEREST', 'DEAL_TYPE_SELL', 'DEAL_TYPE_SELL_CANCELED',
  450. 'DEAL_VOLUME', 'description', 'DOUBLE_VALUE', 'DRAW_ARROW', 'DRAW_BARS', 'DRAW_BARSCLOSE',
  451. 'DRAW_BARSHIGH', 'DRAW_BARSLOW', 'DRAW_BARSOPEN', 'DRAW_CANDLES', 'DRAW_COLOR_ARROW',
  452. 'DRAW_COLOR_BARS', 'DRAW_COLOR_CANDLES', 'DRAW_COLOR_HISTOGRAM', 'DRAW_COLOR_HISTOGRAM2',
  453. 'DRAW_COLOR_LINE', 'DRAW_COLOR_SECTION', 'DRAW_COLOR_ZIGZAG', 'DRAW_COLORCANDLE',
  454. 'DRAW_COLORLINE', 'DRAW_FILLING', 'DRAW_HISTOGRAM', 'DRAW_HISTOGRAM2', 'DRAW_LINE',
  455. 'DRAW_NONE', 'DRAW_SECTION', 'DRAW_ZIGZAG', 'ELLIOTT_CYCLE', 'ELLIOTT_GRAND_SUPERCYCLE',
  456. 'ELLIOTT_INTERMEDIATE', 'ELLIOTT_MINOR', 'ELLIOTT_MINUETTE', 'ELLIOTT_MINUTE',
  457. 'ELLIOTT_PRIMARY', 'ELLIOTT_SUBMINUETTE', 'ELLIOTT_SUPERCYCLE', 'EMPTY', 'EMPTY_VALUE',
  458. 'ENUM_ACCOUNT_INFO_DOUBLE', 'ENUM_ACCOUNT_INFO_INTEGER', 'ENUM_ACCOUNT_INFO_STRING',
  459. 'ENUM_ACCOUNT_MARGIN_MODE', 'ENUM_ACCOUNT_STOPOUT_MODE', 'ENUM_ACCOUNT_TRADE_MODE',
  460. 'ENUM_ALIGN_MODE', 'ENUM_ANCHOR_POINT', 'ENUM_APPLIED_PRICE', 'ENUM_APPLIED_VOLUME',
  461. 'ENUM_ARROW_ANCHOR', 'ENUM_BASE_CORNER', 'ENUM_BOOK_TYPE', 'ENUM_BORDER_TYPE',
  462. 'ENUM_CHART_EVENT', 'ENUM_CHART_MODE', 'ENUM_CHART_POSITION', 'ENUM_CHART_PROPERTY_DOUBLE',
  463. 'ENUM_CHART_PROPERTY_INTEGER', 'ENUM_CHART_PROPERTY_STRING', 'ENUM_CHART_VOLUME_MODE',
  464. 'ENUM_CL_DEVICE_TYPE', 'ENUM_COLOR_FORMAT', 'ENUM_CRYPT_METHOD',
  465. 'ENUM_CUSTOMIND_PROPERTY_DOUBLE', 'ENUM_CUSTOMIND_PROPERTY_INTEGER',
  466. 'ENUM_CUSTOMIND_PROPERTY_STRING', 'ENUM_DATATYPE', 'ENUM_DAY_OF_WEEK', 'ENUM_DEAL_ENTRY',
  467. 'ENUM_DEAL_PROPERTY_DOUBLE', 'ENUM_DEAL_PROPERTY_INTEGER', 'ENUM_DEAL_PROPERTY_STRING',
  468. 'ENUM_DEAL_TYPE', 'ENUM_DRAW_TYPE', 'ENUM_ELLIOT_WAVE_DEGREE', 'ENUM_FILE_POSITION',
  469. 'ENUM_FILE_PROPERTY_INTEGER', 'ENUM_GANN_DIRECTION', 'ENUM_INDEXBUFFER_TYPE',
  470. 'ENUM_INDICATOR', 'ENUM_INIT_RETCODE', 'ENUM_LICENSE_TYPE', 'ENUM_LINE_STYLE',
  471. 'ENUM_MA_METHOD', 'ENUM_MARKETINFO', 'ENUM_MQL5_INFO_INTEGER', 'ENUM_MQL5_INFO_STRING',
  472. 'ENUM_MQL_INFO_INTEGER', 'ENUM_MQL_INFO_STRING', 'ENUM_OBJECT', 'ENUM_OBJECT_PROPERTY_DOUBLE',
  473. 'ENUM_OBJECT_PROPERTY_INTEGER', 'ENUM_OBJECT_PROPERTY_STRING', 'ENUM_OPENCL_HANDLE_TYPE',
  474. 'ENUM_OPENCL_PROPERTY_INTEGER', 'ENUM_OPENCL_PROPERTY_STRING', 'ENUM_ORDER_PROPERTY_DOUBLE',
  475. 'ENUM_ORDER_PROPERTY_INTEGER', 'ENUM_ORDER_PROPERTY_STRING', 'ENUM_ORDER_STATE',
  476. 'ENUM_ORDER_TYPE', 'ENUM_ORDER_TYPE_FILLING', 'ENUM_ORDER_TYPE_TIME',
  477. 'ENUM_PLOT_PROPERTY_DOUBLE', 'ENUM_PLOT_PROPERTY_INTEGER', 'ENUM_PLOT_PROPERTY_STRING',
  478. 'ENUM_POINTER_TYPE', 'ENUM_POSITION_PROPERTY_DOUBLE', 'ENUM_POSITION_PROPERTY_INTEGER',
  479. 'ENUM_POSITION_PROPERTY_STRING', 'ENUM_POSITION_TYPE', 'ENUM_PROGRAM_TYPE',
  480. 'ENUM_SERIES_INFO_INTEGER', 'ENUM_SERIESMODE', 'ENUM_SIGNAL_BASE_DOUBLE',
  481. 'ENUM_SIGNAL_BASE_INTEGER', 'ENUM_SIGNAL_BASE_STRING', 'ENUM_SIGNAL_INFO_DOUBLE',
  482. 'ENUM_SIGNAL_INFO_INTEGER', 'ENUM_SIGNAL_INFO_STRING', 'ENUM_STATISTICS', 'ENUM_STO_PRICE',
  483. 'ENUM_SYMBOL_CALC_MODE', 'ENUM_SYMBOL_INFO_DOUBLE', 'ENUM_SYMBOL_INFO_INTEGER',
  484. 'ENUM_SYMBOL_INFO_STRING', 'ENUM_SYMBOL_OPTION_MODE', 'ENUM_SYMBOL_OPTION_RIGHT',
  485. 'ENUM_SYMBOL_SWAP_MODE', 'ENUM_SYMBOL_TRADE_EXECUTION', 'ENUM_SYMBOL_TRADE_MODE',
  486. 'ENUM_TERMINAL_INFO_DOUBLE', 'ENUM_TERMINAL_INFO_INTEGER', 'ENUM_TERMINAL_INFO_STRING',
  487. 'ENUM_TIMEFRAMES', 'ENUM_TRADE_REQUEST_ACTIONS', 'ENUM_TRADE_TRANSACTION_TYPE',
  488. 'ERR_ACCOUNT_DISABLED', 'ERR_ACCOUNT_WRONG_PROPERTY', 'ERR_ARRAY_AS_PARAMETER_EXPECTED',
  489. 'ERR_ARRAY_BAD_SIZE', 'ERR_ARRAY_INDEX_OUT_OF_RANGE', 'ERR_ARRAY_INVALID',
  490. 'ERR_ARRAY_RESIZE_ERROR', 'ERR_BOOKS_CANNOT_ADD', 'ERR_BOOKS_CANNOT_DELETE',
  491. 'ERR_BOOKS_CANNOT_GET', 'ERR_BOOKS_CANNOT_SUBSCRIBE', 'ERR_BROKER_BUSY',
  492. 'ERR_BUFFERS_NO_MEMORY', 'ERR_BUFFERS_WRONG_INDEX', 'ERR_CANNOT_CALL_FUNCTION',
  493. 'ERR_CANNOT_CLEAN_DIRECTORY', 'ERR_CANNOT_DELETE_DIRECTORY', 'ERR_CANNOT_DELETE_FILE',
  494. 'ERR_CANNOT_LOAD_LIBRARY', 'ERR_CANNOT_OPEN_FILE', 'ERR_CHAR_ARRAY_ONLY',
  495. 'ERR_CHART_CANNOT_CHANGE', 'ERR_CHART_CANNOT_CREATE_TIMER', 'ERR_CHART_CANNOT_OPEN',
  496. 'ERR_CHART_INDICATOR_CANNOT_ADD', 'ERR_CHART_INDICATOR_CANNOT_DEL',
  497. 'ERR_CHART_INDICATOR_NOT_FOUND', 'ERR_CHART_NAVIGATE_FAILED', 'ERR_CHART_NO_EXPERT',
  498. 'ERR_CHART_NO_REPLY', 'ERR_CHART_NOREPLY', 'ERR_CHART_NOT_FOUND', 'ERR_CHART_PROP_INVALID',
  499. 'ERR_CHART_SCREENSHOT_FAILED', 'ERR_CHART_TEMPLATE_FAILED', 'ERR_CHART_WINDOW_NOT_FOUND',
  500. 'ERR_CHART_WRONG_ID', 'ERR_CHART_WRONG_PARAMETER', 'ERR_CHART_WRONG_PROPERTY',
  501. 'ERR_CHARTINDICATOR_NOT_FOUND', 'ERR_CHARTWINDOW_NOT_FOUND', 'ERR_COMMON_ERROR',
  502. 'ERR_CUSTOM_INDICATOR_ERROR', 'ERR_CUSTOM_WRONG_PROPERTY', 'ERR_DIRECTORY_NOT_EXIST',
  503. 'ERR_DLL_CALLS_NOT_ALLOWED', 'ERR_DLLFUNC_CRITICALERROR', 'ERR_DOUBLE_ARRAY_ONLY',
  504. 'ERR_DOUBLE_PARAMETER_EXPECTED', 'ERR_END_OF_FILE', 'ERR_EXTERNAL_CALLS_NOT_ALLOWED',
  505. 'ERR_FILE_ARRAYRESIZE_ERROR', 'ERR_FILE_BIN_STRINGSIZE', 'ERR_FILE_BINSTRINGSIZE',
  506. 'ERR_FILE_BUFFER_ALLOCATION_ERROR', 'ERR_FILE_CACHEBUFFER_ERROR',
  507. 'ERR_FILE_CANNOT_CLEAN_DIRECTORY', 'ERR_FILE_CANNOT_DELETE',
  508. 'ERR_FILE_CANNOT_DELETE_DIRECTORY', 'ERR_FILE_CANNOT_OPEN', 'ERR_FILE_CANNOT_REWRITE',
  509. 'ERR_FILE_DIRECTORY_NOT_EXIST', 'ERR_FILE_ENDOFFILE', 'ERR_FILE_INCOMPATIBLE',
  510.  
  511. 'OBJ_PERIOD_M5', 'OBJ_PERIOD_M6', 'OBJ_PERIOD_MN1', 'OBJ_PERIOD_W1', 'OBJ_PITCHFORK',
  512. 'OBJ_RECTANGLE', 'OBJ_RECTANGLE_LABEL', 'OBJ_REGRESSION', 'OBJ_STDDEVCHANNEL', 'OBJ_TEXT',
  513. 'OBJ_TREND', 'OBJ_TRENDBYANGLE', 'OBJ_TRIANGLE', 'OBJ_VLINE', 'OBJPROP_ALIGN',
  514. 'OBJPROP_ANCHOR', 'OBJPROP_ANGLE', 'OBJPROP_ARROWCODE', 'OBJPROP_BACK', 'OBJPROP_BGCOLOR',
  515. 'OBJPROP_BMPFILE', 'OBJPROP_BORDER_COLOR', 'OBJPROP_BORDER_TYPE', 'OBJPROP_CHART_ID',
  516. 'OBJPROP_CHART_SCALE', 'OBJPROP_COLOR', 'OBJPROP_CORNER', 'OBJPROP_CREATETIME',
  517. 'OBJPROP_DATE_SCALE', 'OBJPROP_DEGREE', 'OBJPROP_DEVIATION', 'OBJPROP_DIRECTION',
  518. 'OBJPROP_DRAWLINES', 'OBJPROP_ELLIPSE', 'OBJPROP_FIBOLEVELS', 'OBJPROP_FILL',
  519. 'OBJPROP_FIRSTLEVEL', 'OBJPROP_FONT', 'OBJPROP_FONTSIZE', 'OBJPROP_HIDDEN',
  520. 'OBJPROP_LEVELCOLOR', 'OBJPROP_LEVELS', 'OBJPROP_LEVELSTYLE', 'OBJPROP_LEVELTEXT',
  521. 'OBJPROP_LEVELVALUE', 'OBJPROP_LEVELWIDTH', 'OBJPROP_NAME', 'OBJPROP_PERIOD',
  522. 'OBJPROP_PRICE', 'OBJPROP_PRICE1', 'OBJPROP_PRICE2', 'OBJPROP_PRICE3', 'OBJPROP_PRICE_SCALE',
  523. 'OBJPROP_RAY', 'OBJPROP_RAY_LEFT', 'OBJPROP_RAY_RIGHT', 'OBJPROP_READONLY', 'OBJPROP_SCALE',
  524. 'OBJPROP_SELECTABLE', 'OBJPROP_SELECTED', 'OBJPROP_STATE', 'OBJPROP_STYLE', 'OBJPROP_SYMBOL',
  525. 'OBJPROP_TEXT', 'OBJPROP_TIME', 'OBJPROP_TIME1', 'OBJPROP_TIME2', 'OBJPROP_TIME3',
  526. 'OBJPROP_TIMEFRAMES', 'OBJPROP_TOOLTIP', 'OBJPROP_TYPE', 'OBJPROP_WIDTH',
  527. 'OBJPROP_XDISTANCE', 'OBJPROP_XOFFSET', 'OBJPROP_XSIZE', 'OBJPROP_YDISTANCE',
  528. 'OBJPROP_YOFFSET', 'OBJPROP_YSIZE', 'OBJPROP_ZORDER', 'OP_BUY', 'OP_BUYLIMIT',
  529. 'OP_BUYSTOP', 'OP_SELL', 'OP_SELLLIMIT', 'OP_SELLSTOP', 'OPENCL_BUFFER', 'OPENCL_CONTEXT',
  530. 'OPENCL_INVALID', 'OPENCL_KERNEL', 'OPENCL_PROGRAM', 'ORDER_COMMENT', 'ORDER_EXTERNAL_ID',
  531. 'ORDER_FILLING_FOK', 'ORDER_FILLING_IOC', 'ORDER_FILLING_RETURN', 'ORDER_MAGIC',
  532. 'ORDER_POSITION_BY_ID', 'ORDER_POSITION_ID', 'ORDER_PRICE_CURRENT', 'ORDER_PRICE_OPEN',
  533. 'ORDER_PRICE_STOPLIMIT', 'ORDER_SL', 'ORDER_STATE', 'ORDER_STATE_CANCELED',
  534. 'ORDER_STATE_EXPIRED', 'ORDER_STATE_FILLED', 'ORDER_STATE_PARTIAL', 'ORDER_STATE_PLACED',
  535. 'ORDER_STATE_REJECTED', 'ORDER_STATE_REQUEST_ADD', 'ORDER_STATE_REQUEST_CANCEL',
  536. 'ORDER_STATE_REQUEST_MODIFY', 'ORDER_STATE_STARTED', 'ORDER_SYMBOL', 'ORDER_TICKET',
  537. 'ORDER_TIME_DAY', 'ORDER_TIME_DONE', 'ORDER_TIME_DONE_MSC', 'ORDER_TIME_EXPIRATION',
  538. 'ORDER_TIME_GTC', 'ORDER_TIME_SETUP', 'ORDER_TIME_SETUP_MSC', 'ORDER_TIME_SPECIFIED',
  539. 'ORDER_TIME_SPECIFIED_DAY', 'ORDER_TP', 'ORDER_TYPE', 'ORDER_TYPE_BALANCE', 'ORDER_TYPE_BUY',
  540. 'ORDER_TYPE_BUY_LIMIT', 'ORDER_TYPE_BUY_STOP', 'ORDER_TYPE_BUY_STOP_LIMIT',
  541. 'ORDER_TYPE_CLOSE_BY', 'ORDER_TYPE_CREDIT', 'ORDER_TYPE_FILLING', 'ORDER_TYPE_SELL',
  542. 'ORDER_TYPE_SELL_LIMIT', 'ORDER_TYPE_SELL_STOP', 'ORDER_TYPE_SELL_STOP_LIMIT',
  543. 'ORDER_TYPE_TIME', 'ORDER_VOLUME_CURRENT', 'ORDER_VOLUME_INITIAL', 'PERIOD_CURRENT',
  544. 'PERIOD_D1', 'PERIOD_H1', 'PERIOD_H12', 'PERIOD_H2', 'PERIOD_H3', 'PERIOD_H4', 'PERIOD_H6',
  545. 'PERIOD_H8', 'PERIOD_M1', 'PERIOD_M10', 'PERIOD_M12', 'PERIOD_M15', 'PERIOD_M2',
  546. 'PERIOD_M20', 'PERIOD_M3', 'PERIOD_M30', 'PERIOD_M4', 'PERIOD_M5', 'PERIOD_M6',
  547. 'PERIOD_MN1', 'PERIOD_W1', 'PLOT_ARROW', 'PLOT_ARROW_SHIFT', 'PLOT_COLOR_INDEXES',
  548. 'PLOT_DRAW_BEGIN', 'PLOT_DRAW_TYPE', 'PLOT_EMPTY_VALUE', 'PLOT_LABEL', 'PLOT_LINE_COLOR',
  549. 'PLOT_LINE_STYLE', 'PLOT_LINE_WIDTH', 'PLOT_SHIFT', 'PLOT_SHOW_DATA', 'PLUSDI_LINE',
  550. 'POINTER_AUTOMATIC', 'POINTER_DYNAMIC', 'POINTER_INVALID', 'POSITION_COMMENT',
  551. 'POSITION_COMMISSION', 'POSITION_IDENTIFIER', 'POSITION_MAGIC', 'POSITION_PRICE_CURRENT',
  552. 'POSITION_PRICE_OPEN', 'POSITION_PROFIT', 'POSITION_SL', 'POSITION_SWAP',
  553. 'POSITION_SYMBOL', 'POSITION_TICKET', 'POSITION_TIME', 'POSITION_TIME_MSC',
  554. 'POSITION_TIME_UPDATE', 'POSITION_TIME_UPDATE_MSC', 'POSITION_TP', 'POSITION_TYPE',
  555. 'POSITION_TYPE_BUY', 'POSITION_TYPE_SELL', 'POSITION_VOLUME', 'PRICE_CLOSE', 'PRICE_HIGH',
  556. 'PRICE_LOW', 'PRICE_MEDIAN', 'PRICE_OPEN', 'PRICE_TYPICAL', 'PRICE_WEIGHTED',
  557. 'PROGRAM_EXPERT', 'PROGRAM_INDICATOR', 'PROGRAM_SCRIPT', 'REASON_ACCOUNT',
  558. 'REASON_CHARTCHANGE', 'REASON_CHARTCLOSE', 'REASON_CLOSE', 'REASON_INITFAILED',
  559. 'REASON_PARAMETERS', 'REASON_PROGRAM', 'REASON_RECOMPILE', 'REASON_REMOVE',
  560. 'REASON_TEMPLATE', 'SATURDAY', 'script_show_confirm', 'script_show_inputs', 'SEEK_CUR',
  561. 'SEEK_END', 'SEEK_SET', 'SELECT_BY_POS', 'SELECT_BY_TICKET', 'SENKOUSPANA_LINE',
  562. 'SENKOUSPANB_LINE', 'SERIES_BARS_COUNT', 'SERIES_FIRSTDATE', 'SERIES_LASTBAR_DATE',
  563. 'SERIES_SERVER_FIRSTDATE', 'SERIES_SYNCHRONIZED', 'SERIES_TERMINAL_FIRSTDATE',
  564. 'SHORT_MAX', 'SHORT_MIN', 'SHORT_VALUE', 'show_confirm', 'show_inputs',
  565. 'SIGNAL_BASE_AUTHOR_LOGIN', 'SIGNAL_BASE_BALANCE', 'SIGNAL_BASE_BROKER',
  566. 'SIGNAL_BASE_BROKER_SERVER', 'SIGNAL_BASE_CURRENCY', 'SIGNAL_BASE_DATE_PUBLISHED',
  567. 'SIGNAL_BASE_DATE_STARTED', 'SIGNAL_BASE_DATE_UPDATED', 'SIGNAL_BASE_EQUITY',
  568. 'SIGNAL_BASE_GAIN', 'SIGNAL_BASE_ID', 'SIGNAL_BASE_LEVERAGE', 'SIGNAL_BASE_MAX_DRAWDOWN',
  569. 'SIGNAL_BASE_NAME', 'SIGNAL_BASE_PIPS', 'SIGNAL_BASE_PRICE', 'SIGNAL_BASE_RATING',
  570. 'SIGNAL_BASE_ROI', 'SIGNAL_BASE_SUBSCRIBERS', 'SIGNAL_BASE_TRADE_MODE', 'SIGNAL_BASE_TRADES',
  571. 'SIGNAL_INFO_CONFIRMATIONS_DISABLED', 'SIGNAL_INFO_COPY_SLTP', 'SIGNAL_INFO_DEPOSIT_PERCENT',
  572. 'SIGNAL_INFO_EQUITY_LIMIT', 'SIGNAL_INFO_ID', 'SIGNAL_INFO_NAME', 'SIGNAL_INFO_SLIPPAGE',
  573. 'SIGNAL_INFO_SUBSCRIPTION_ENABLED', 'SIGNAL_INFO_TERMS_AGREE', 'SIGNAL_INFO_VOLUME_PERCENT',
  574. 'SIGNAL_LINE', 'stacksize', 'STAT_BALANCE_DD', 'STAT_BALANCE_DD_RELATIVE',
  575. 'STAT_BALANCE_DDREL_PERCENT', 'STAT_BALANCEDD_PERCENT', 'STAT_BALANCEMIN', 'STAT_CONLOSSMAX',
  576. 'STAT_CONLOSSMAX_TRADES', 'STAT_CONPROFITMAX', 'STAT_CONPROFITMAX_TRADES',
  577. 'STAT_CUSTOM_ONTESTER', 'STAT_DEALS', 'STAT_EQUITY_DD', 'STAT_EQUITY_DD_RELATIVE',
  578. 'STAT_EQUITY_DDREL_PERCENT', 'STAT_EQUITYDD_PERCENT', 'STAT_EQUITYMIN',
  579. 'STAT_EXPECTED_PAYOFF', 'STAT_GROSS_LOSS', 'STAT_GROSS_PROFIT', 'STAT_INITIAL_DEPOSIT',
  580. 'STAT_LONG_TRADES', 'STAT_LOSS_TRADES', 'STAT_LOSSTRADES_AVGCON', 'STAT_MAX_CONLOSS_TRADES',
  581. 'STAT_MAX_CONLOSSES', 'STAT_MAX_CONPROFIT_TRADES', 'STAT_MAX_CONWINS', 'STAT_MAX_LOSSTRADE',
  582. 'STAT_MAX_PROFITTRADE', 'STAT_MIN_MARGINLEVEL', 'STAT_PROFIT', 'STAT_PROFIT_FACTOR',
  583. 'STAT_PROFIT_LONGTRADES', 'STAT_PROFIT_SHORTTRADES', 'STAT_PROFIT_TRADES',
  584. 'STAT_PROFITTRADES_AVGCON', 'STAT_RECOVERY_FACTOR', 'STAT_SHARPE_RATIO', 'STAT_SHORT_TRADES',
  585. 'STAT_TRADES', 'STAT_WITHDRAWAL', 'STO_CLOSECLOSE', 'STO_LOWHIGH', 'strict', 'STYLE_DASH',
  586. 'STYLE_DASHDOT', 'STYLE_DASHDOTDOT', 'STYLE_DOT', 'STYLE_SOLID', 'SUNDAY',
  587. 'SYMBOL_ARROWDOWN', 'SYMBOL_ARROWUP', 'SYMBOL_ASK', 'SYMBOL_ASKHIGH', 'SYMBOL_ASKLOW',
  588. 'SYMBOL_BANK', 'SYMBOL_BASIS', 'SYMBOL_BID', 'SYMBOL_BIDHIGH', 'SYMBOL_BIDLOW',
  589. 'SYMBOL_CALC_MODE_CFD', 'SYMBOL_CALC_MODE_CFDINDEX', 'SYMBOL_CALC_MODE_CFDLEVERAGE',
  590. 'SYMBOL_CALC_MODE_EXCH_FUTURES', 'SYMBOL_CALC_MODE_EXCH_FUTURES_FORTS',
  591. 'SYMBOL_CALC_MODE_EXCH_OPTIONS', 'SYMBOL_CALC_MODE_EXCH_OPTIONS_MARGIN',
  592. 'SYMBOL_CALC_MODE_EXCH_STOCKS', 'SYMBOL_CALC_MODE_FOREX', 'SYMBOL_CALC_MODE_FUTURES',
  593. 'SYMBOL_CALC_MODE_SERV_COLLATERAL', 'SYMBOL_CHECKSIGN', 'SYMBOL_CURRENCY_BASE',
  594. 'SYMBOL_CURRENCY_MARGIN', 'SYMBOL_CURRENCY_PROFIT', 'SYMBOL_DESCRIPTION', 'SYMBOL_DIGITS',
  595. 'SYMBOL_EXPIRATION_DAY', 'SYMBOL_EXPIRATION_GTC', 'SYMBOL_EXPIRATION_MODE',
  596. 'SYMBOL_EXPIRATION_SPECIFIED', 'SYMBOL_EXPIRATION_SPECIFIED_DAY', 'SYMBOL_EXPIRATION_TIME',
  597. 'SYMBOL_FILLING_FOK', 'SYMBOL_FILLING_IOC', 'SYMBOL_FILLING_MODE', 'SYMBOL_ISIN',
  598. 'SYMBOL_LAST', 'SYMBOL_LASTHIGH', 'SYMBOL_LASTLOW', 'SYMBOL_LEFTPRICE',
  599. 'SYMBOL_MARGIN_HEDGED', 'SYMBOL_MARGIN_INITIAL', 'SYMBOL_MARGIN_LIMIT',
  600. 'SYMBOL_MARGIN_LONG', 'SYMBOL_MARGIN_MAINTENANCE', 'SYMBOL_MARGIN_SHORT',
  601. 'SYMBOL_MARGIN_STOP', 'SYMBOL_MARGIN_STOPLIMIT', 'SYMBOL_OPTION_MODE',
  602. 'SYMBOL_OPTION_MODE_AMERICAN', 'SYMBOL_OPTION_MODE_EUROPEAN', 'SYMBOL_OPTION_RIGHT',
  603. 'SYMBOL_OPTION_RIGHT_CALL', 'SYMBOL_OPTION_RIGHT_PUT', 'SYMBOL_OPTION_STRIKE',
  604. 'SYMBOL_ORDER_LIMIT', 'SYMBOL_ORDER_MARKET', 'SYMBOL_ORDER_MODE', 'SYMBOL_ORDER_SL',
  605. 'SYMBOL_ORDER_STOP', 'SYMBOL_ORDER_STOP_LIMIT', 'SYMBOL_ORDER_TP', 'SYMBOL_PATH',
  606. 'SYMBOL_POINT', 'SYMBOL_RIGHTPRICE', 'SYMBOL_SELECT', 'SYMBOL_SESSION_AW',
  607. 'SYMBOL_SESSION_BUY_ORDERS', 'SYMBOL_SESSION_BUY_ORDERS_VOLUME', 'SYMBOL_SESSION_CLOSE',
  608. 'SYMBOL_SESSION_DEALS', 'SYMBOL_SESSION_INTEREST', 'SYMBOL_SESSION_OPEN',
  609. 'SYMBOL_SESSION_PRICE_LIMIT_MAX', 'SYMBOL_SESSION_PRICE_LIMIT_MIN',
  610. 'SYMBOL_SESSION_PRICE_SETTLEMENT', 'SYMBOL_SESSION_SELL_ORDERS',
  611. 'SYMBOL_SESSION_SELL_ORDERS_VOLUME', 'SYMBOL_SESSION_TURNOVER', 'SYMBOL_SESSION_VOLUME',
  612. 'SYMBOL_SPREAD', 'SYMBOL_SPREAD_FLOAT', 'SYMBOL_START_TIME', 'SYMBOL_STOPSIGN',
  613. 'SYMBOL_SWAP_LONG', 'SYMBOL_SWAP_MODE', 'SYMBOL_SWAP_MODE_BY_INTEREST',
  614. 'SYMBOL_SWAP_MODE_BY_MARGIN_CURRENCY', 'SYMBOL_SWAP_MODE_BY_MONEY',
  615. 'SYMBOL_SWAP_MODE_BY_POINTS', 'SYMBOL_SWAP_MODE_CURRENCY_DEPOSIT',
  616. 'SYMBOL_SWAP_MODE_CURRENCY_MARGIN', 'SYMBOL_SWAP_MODE_CURRENCY_SYMBOL',
  617. 'SYMBOL_SWAP_MODE_DISABLED', 'SYMBOL_SWAP_MODE_INTEREST_CURRENT',
  618. 'SYMBOL_SWAP_MODE_INTEREST_OPEN', 'SYMBOL_SWAP_MODE_POINTS', 'SYMBOL_SWAP_MODE_REOPEN_BID',
  619. 'SYMBOL_SWAP_MODE_REOPEN_CURRENT', 'SYMBOL_SWAP_ROLLOVER3DAYS', 'SYMBOL_SWAP_SHORT',
  620. 'SYMBOL_THUMBSDOWN', 'SYMBOL_THUMBSUP', 'SYMBOL_TICKS_BOOKDEPTH', 'SYMBOL_TIME',
  621. 'SYMBOL_TRADE_CALC_MODE', 'SYMBOL_TRADE_CONTRACT_SIZE', 'SYMBOL_TRADE_EXECUTION_EXCHANGE',
  622. 'SYMBOL_TRADE_EXECUTION_INSTANT', 'SYMBOL_TRADE_EXECUTION_MARKET',
  623. 'SYMBOL_TRADE_EXECUTION_REQUEST', 'SYMBOL_TRADE_EXEMODE', 'SYMBOL_TRADE_FREEZE_LEVEL',
  624. 'SYMBOL_TRADE_MODE', 'SYMBOL_TRADE_MODE_CLOSEONLY', 'SYMBOL_TRADE_MODE_DISABLED',
  625. 'SYMBOL_TRADE_MODE_FULL', 'SYMBOL_TRADE_MODE_LONGONLY', 'SYMBOL_TRADE_MODE_SHORTONLY',
  626. 'SYMBOL_TRADE_STOPS_LEVEL', 'SYMBOL_TRADE_TICK_SIZE', 'SYMBOL_TRADE_TICK_VALUE',
  627. 'SYMBOL_TRADE_TICK_VALUE_LOSS', 'SYMBOL_TRADE_TICK_VALUE_PROFIT', 'SYMBOL_VISIBLE',
  628. 'SYMBOL_VOLUME', 'SYMBOL_VOLUME_LIMIT', 'SYMBOL_VOLUME_MAX', 'SYMBOL_VOLUME_MIN',
  629. 'SYMBOL_VOLUME_STEP', 'SYMBOL_VOLUMEHIGH', 'SYMBOL_VOLUMELOW', 'TA_BOTTOM', 'TA_CENTER',
  630. 'TA_LEFT', 'TA_RIGHT', 'TA_TOP', 'TA_VCENTER', 'TENKANSEN_LINE', 'TERMINAL_BUILD',
  631. 'TERMINAL_CODEPAGE', 'TERMINAL_COMMONDATA_PATH', 'TERMINAL_COMMUNITY_ACCOUNT',
  632. 'TERMINAL_COMMUNITY_BALANCE', 'TERMINAL_COMMUNITY_CONNECTION', 'TERMINAL_COMPANY',
  633. 'TERMINAL_CONNECTED', 'TERMINAL_CPU_CORES', 'TERMINAL_DATA_PATH', 'TERMINAL_DISK_SPACE',
  634. 'TERMINAL_DLLS_ALLOWED', 'TERMINAL_EMAIL_ENABLED', 'TERMINAL_FTP_ENABLED',
  635. 'TERMINAL_LANGUAGE', 'TERMINAL_MAXBARS', 'TERMINAL_MEMORY_AVAILABLE',
  636. 'TERMINAL_MEMORY_PHYSICAL', 'TERMINAL_MEMORY_TOTAL', 'TERMINAL_MEMORY_USED', 'TERMINAL_MQID',
  637. 'TERMINAL_NAME', 'TERMINAL_NOTIFICATIONS_ENABLED', 'TERMINAL_OPENCL_SUPPORT',
  638. 'TERMINAL_PATH', 'TERMINAL_PING_LAST', 'TERMINAL_SCREEN_DPI', 'TERMINAL_TRADE_ALLOWED',
  639. 'TERMINAL_X64', 'tester_file', 'tester_indicator', 'tester_library', 'THURSDAY',
  640. 'TICK_FLAG_ASK', 'TICK_FLAG_BID', 'TICK_FLAG_BUY', 'TICK_FLAG_LAST', 'TICK_FLAG_SELL',
  641. 'TICK_FLAG_VOLUME', 'TIME_DATE', 'TIME_MINUTES', 'TIME_SECONDS', 'TRADE_ACTION_CLOSE_BY',
  642. 'TRADE_ACTION_DEAL', 'TRADE_ACTION_MODIFY', 'TRADE_ACTION_PENDING', 'TRADE_ACTION_REMOVE',
  643. 'TRADE_ACTION_SLTP', 'TRADE_RETCODE_CANCEL', 'TRADE_RETCODE_CLIENT_DISABLES_AT',
  644. 'TRADE_RETCODE_CONNECTION', 'TRADE_RETCODE_DONE', 'TRADE_RETCODE_DONE_PARTIAL',
  645. 'TRADE_RETCODE_ERROR', 'TRADE_RETCODE_FROZEN', 'TRADE_RETCODE_INVALID',
  646. 'TRADE_RETCODE_INVALID_EXPIRATION', 'TRADE_RETCODE_INVALID_FILL',
  647. 'TRADE_RETCODE_INVALID_ORDER', 'TRADE_RETCODE_INVALID_PRICE', 'TRADE_RETCODE_INVALID_STOPS',
  648. 'TRADE_RETCODE_INVALID_VOLUME', 'TRADE_RETCODE_LIMIT_ORDERS', 'TRADE_RETCODE_LIMIT_VOLUME',
  649. 'TRADE_RETCODE_LOCKED', 'TRADE_RETCODE_MARKET_CLOSED', 'TRADE_RETCODE_NO_CHANGES',
  650. 'TRADE_RETCODE_NO_MONEY', 'TRADE_RETCODE_ONLY_REAL', 'TRADE_RETCODE_ORDER_CHANGED',
  651. 'TRADE_RETCODE_PLACED', 'TRADE_RETCODE_POSITION_CLOSED', 'TRADE_RETCODE_PRICE_CHANGED',
  652. 'TRADE_RETCODE_PRICE_OFF', 'TRADE_RETCODE_REJECT', 'TRADE_RETCODE_REQUOTE',
  653. 'TRADE_RETCODE_SERVER_DISABLES_AT', 'TRADE_RETCODE_TIMEOUT',
  654. 'TRADE_RETCODE_TOO_MANY_REQUESTS', 'TRADE_RETCODE_TRADE_DISABLED',
  655. 'TRADE_TRANSACTION_DEAL_ADD', 'TRADE_TRANSACTION_DEAL_DELETE',
  656. 'TRADE_TRANSACTION_DEAL_UPDATE', 'TRADE_TRANSACTION_HISTORY_ADD',
  657. 'TRADE_TRANSACTION_HISTORY_DELETE', 'TRADE_TRANSACTION_HISTORY_UPDATE',
  658. 'TRADE_TRANSACTION_ORDER_ADD', 'TRADE_TRANSACTION_ORDER_DELETE',
  659. 'TRADE_TRANSACTION_ORDER_UPDATE', 'TRADE_TRANSACTION_POSITION',
  660. 'TRADE_TRANSACTION_REQUEST', 'true', 'True', 'TRUE', 'TUESDAY', 'TYPE_BOOL', 'TYPE_CHAR',
  661. 'TYPE_COLOR', 'TYPE_DATETIME', 'TYPE_DOUBLE', 'TYPE_FLOAT', 'TYPE_INT', 'TYPE_LONG',
  662. 'TYPE_SHORT', 'TYPE_STRING', 'TYPE_UCHAR', 'TYPE_UINT', 'TYPE_ULONG', 'TYPE_USHORT',
  663. 'UCHAR_MAX', 'UINT_MAX', 'ULONG_MAX', 'UPPER_BAND', 'UPPER_HISTOGRAM', 'UPPER_LINE',
  664. 'USHORT_MAX', 'version', 'VOLUME_REAL', 'VOLUME_TICK', 'WEDNESDAY', 'WHOLE_ARRAY',
  665. 'WRONG_VALUE'
  666.  
  667. ),
  668. ),
  669. 'SYMBOLS' => array(
  670. 0 => array('(', ')', '{', '}', '[', ']'),
  671. 1 => array('<', '>','='),
  672. 2 => array('+', '-', '*', '/', '%'),
  673. 3 => array('!', '^', '&', '|'),
  674. 4 => array('?', ':', ';')
  675. ),
  676. 'CASE_SENSITIVE' => array(
  677. GESHI_COMMENTS => false,
  678. 1 => true,
  679. 2 => true,
  680. 3 => true,
  681. 4 => true,
  682. ),
  683. 'STYLES' => array(
  684. 'KEYWORDS' => array(
  685. 1 => 'color: #0000ff;',
  686. 2 => 'color: #0000ff;',
  687. 3 => 'color: #0000dd;',
  688. 4 => 'color: #0000ff;'
  689. ),
  690. 'COMMENTS' => array(
  691. 1 => 'color: #666666;',
  692. 2 => 'color: #339900;',
  693. 3 => 'color: #FF0000;',
  694. 4 => 'color: #FF0000;',
  695. 'MULTI' => 'color: #ff0000; font-style: italic;'
  696. ),
  697. 'ESCAPE_CHAR' => array(
  698. 0 => 'color: #000099; font-weight: bold;',
  699. 1 => 'color: #000099; font-weight: bold;',
  700. 2 => 'color: #660099; font-weight: bold;',
  701. 3 => 'color: #660099; font-weight: bold;',
  702. 4 => 'color: #660099; font-weight: bold;',
  703. 5 => 'color: #006699; font-weight: bold;',
  704. 'HARD' => '',
  705. ),
  706. 'BRACKETS' => array(
  707. 0 => 'color: #008000;'
  708. ),
  709. 'STRINGS' => array(
  710. 0 => 'color: #FF0000;'
  711. ),
  712. 'NUMBERS' => array(
  713. 0 => 'color: #0000dd;',
  714. GESHI_NUMBER_BIN_PREFIX_0B => 'color: #208080;',
  715. GESHI_NUMBER_OCT_PREFIX => 'color: #208080;',
  716. GESHI_NUMBER_HEX_PREFIX => 'color: #208080;',
  717. GESHI_NUMBER_FLT_SCI_SHORT => 'color:#800080;',
  718. GESHI_NUMBER_FLT_SCI_ZERO => 'color:#800080;',
  719. GESHI_NUMBER_FLT_NONSCI_F => 'color:#800080;',
  720. GESHI_NUMBER_FLT_NONSCI => 'color:#800080;'
  721. ),
  722. 'METHODS' => array(
  723. 1 => 'color: #007788;',
  724. 2 => 'color: #007788;'
  725. ),
  726. 'SYMBOLS' => array(
  727. 0 => 'color: #008000;',
  728. 1 => 'color: #000080;',
  729. 2 => 'color: #000040;',
  730. 3 => 'color: #000040;',
  731. 4 => 'color: #008080;'
  732. ),
  733. 'REGEXPS' => array(
  734. ),
  735. 'SCRIPT' => array(
  736. )
  737. ),
  738. 'URLS' => array(
  739. 1 => '',
  740. 2 => '',
  741. 3 => '',
  742. 4 => ''
  743. ),
  744. 'OOLANG' => true,
  745. 'OBJECT_SPLITTERS' => array(
  746. 1 => '.',
  747. 2 => '::'
  748. ),
  749. 'REGEXPS' => array(
  750. ),
  751. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  752. 'SCRIPT_DELIMITERS' => array(
  753. ),
  754. 'HIGHLIGHT_STRICT_BLOCK' => array(
  755. ),
  756. 'TAB_WIDTH' => 3,
  757. 'PARSER_CONTROL' => array(
  758. 'KEYWORDS' => array(
  759. 'DISALLOWED_BEFORE' => "(?<![a-zA-Z0-9\$_\|\#])",
  760. 'DISALLOWED_AFTER' => "(?![a-zA-Z0-9_\|%\\-])"
  761. )
  762. )
  763. );
  764.  
Programming Language: PHP