summaryrefslogtreecommitdiff
path: root/pygments/lexers/compiled.py
diff options
context:
space:
mode:
authormicclly <k.micclly@gmail.com>2014-02-09 19:52:05 +0900
committermicclly <k.micclly@gmail.com>2014-02-09 19:52:05 +0900
commit3f53f45a0ce5304b1a7498241223494d4f9ccf90 (patch)
tree222745fc785bd1305eaff1ab1e8ba4361375b6a4 /pygments/lexers/compiled.py
parent18a24d5f2a14448e8571868d2850f5c0d2855a8d (diff)
downloadpygments-3f53f45a0ce5304b1a7498241223494d4f9ccf90.tar.gz
Splitted long lines
Diffstat (limited to 'pygments/lexers/compiled.py')
-rw-r--r--pygments/lexers/compiled.py402
1 files changed, 268 insertions, 134 deletions
diff --git a/pygments/lexers/compiled.py b/pygments/lexers/compiled.py
index 70eea1e7..3a0245ad 100644
--- a/pygments/lexers/compiled.py
+++ b/pygments/lexers/compiled.py
@@ -3954,7 +3954,8 @@ class EiffelLexer(RegexLexer):
class MqlLexer(CppLexer):
"""
- For `MQL4 <http://docs.mql4.com/>`_ and `MQL5 <http://www.mql5.com/en/docs>`_ source code.
+ For `MQL4 <http://docs.mql4.com/>`_ and
+ `MQL5 <http://www.mql5.com/en/docs>`_ source code.
.. versionadded:: 2.0
"""
@@ -4006,12 +4007,17 @@ class MqlLexer(CppLexer):
r'AccountServer|AccountStopoutLevel|AccountStopoutMode|'
r'GetLastError|IsStopped|UninitializeReason|MQLInfoInteger|MQLInfoString|'
r'Symbol|Period|Digits|Point|IsConnected|IsDemo|IsDllsAllowed|'
- r'IsExpertEnabled|IsLibrariesAllowed|IsOptimization|IsTesting|IsTradeAllowed|'
- r'IsTradeContextBusy|IsVisualMode|TerminalCompany|TerminalName|TerminalPath|'
- r'SymbolsTotal|SymbolName|SymbolSelect|SymbolIsSynchronized|SymbolInfoDouble|'
- r'SymbolInfoInteger|SymbolInfoString|SymbolInfoTick|SymbolInfoSessionQuote|'
+ r'IsExpertEnabled|IsLibrariesAllowed|IsOptimization|IsTesting|'
+ r'IsTradeAllowed|'
+ r'IsTradeContextBusy|IsVisualMode|TerminalCompany|TerminalName|'
+ r'TerminalPath|'
+ r'SymbolsTotal|SymbolName|SymbolSelect|SymbolIsSynchronized|'
+ r'SymbolInfoDouble|'
+ r'SymbolInfoInteger|SymbolInfoString|SymbolInfoTick|'
+ r'SymbolInfoSessionQuote|'
r'SymbolInfoSessionTrade|MarketInfo|'
- r'SeriesInfoInteger|CopyRates|CopyTime|CopyOpen|CopyHigh|CopyLow|CopyClose|'
+ r'SeriesInfoInteger|CopyRates|CopyTime|CopyOpen|'
+ r'CopyHigh|CopyLow|CopyClose|'
r'CopyTickVolume|CopyRealVolume|CopySpread|iBars|iBarShift|iClose|'
r'iHigh|iHighest|iLow|iLowest|iOpen|iTime|iVolume|'
r'HideTestIndicators|Period|RefreshRates|Symbol|WindowBarsPerChart|'
@@ -4069,46 +4075,77 @@ class MqlLexer(CppLexer):
r'iStochastic|iWPR|'
r'EventSetMillisecondTimer|EventSetTimer|'
r'EventKillTimer|EventChartCustom)\b', Name.Function),
- (r'(CHARTEVENT_KEYDOWN|CHARTEVENT_MOUSE_MOVE|CHARTEVENT_OBJECT_CREATE|'
- r'CHARTEVENT_OBJECT_CHANGE|CHARTEVENT_OBJECT_DELETE|CHARTEVENT_CLICK|'
- r'CHARTEVENT_OBJECT_CLICK|CHARTEVENT_OBJECT_DRAG|CHARTEVENT_OBJECT_ENDEDIT|'
- r'CHARTEVENT_CHART_CHANGE|CHARTEVENT_CUSTOM|CHARTEVENT_CUSTOM_LAST|'
- r'PERIOD_CURRENT|PERIOD_M1|PERIOD_M2|PERIOD_M3|PERIOD_M4|PERIOD_M5|'
- r'PERIOD_M6|PERIOD_M10|PERIOD_M12|PERIOD_M15|PERIOD_M20|PERIOD_M30|'
- r'PERIOD_H1|PERIOD_H2|PERIOD_H3|PERIOD_H4|PERIOD_H6|PERIOD_H8|'
+ (r'(CHARTEVENT_KEYDOWN|CHARTEVENT_MOUSE_MOVE|'
+ r'CHARTEVENT_OBJECT_CREATE|'
+ r'CHARTEVENT_OBJECT_CHANGE|CHARTEVENT_OBJECT_DELETE|'
+ r'CHARTEVENT_CLICK|'
+ r'CHARTEVENT_OBJECT_CLICK|CHARTEVENT_OBJECT_DRAG|'
+ r'CHARTEVENT_OBJECT_ENDEDIT|'
+ r'CHARTEVENT_CHART_CHANGE|CHARTEVENT_CUSTOM|'
+ r'CHARTEVENT_CUSTOM_LAST|'
+ r'PERIOD_CURRENT|PERIOD_M1|PERIOD_M2|PERIOD_M3|'
+ r'PERIOD_M4|PERIOD_M5|'
+ r'PERIOD_M6|PERIOD_M10|PERIOD_M12|PERIOD_M15|'
+ r'PERIOD_M20|PERIOD_M30|'
+ r'PERIOD_H1|PERIOD_H2|PERIOD_H3|PERIOD_H4|'
+ r'PERIOD_H6|PERIOD_H8|'
r'PERIOD_H12|PERIOD_D1|PERIOD_W1|PERIOD_MN1|'
r'CHART_IS_OBJECT|CHART_BRING_TO_TOP|'
- r'CHART_MOUSE_SCROLL|CHART_EVENT_MOUSE_MOVE|CHART_EVENT_OBJECT_CREATE|'
- r'CHART_EVENT_OBJECT_DELETE|CHART_MODE|CHART_FOREGROUND|CHART_SHIFT|'
- r'CHART_AUTOSCROLL|CHART_SCALE|CHART_SCALEFIX|CHART_SCALEFIX_11|'
- r'CHART_SCALE_PT_PER_BAR|CHART_SHOW_OHLC|CHART_SHOW_BID_LINE|'
- r'CHART_SHOW_ASK_LINE|CHART_SHOW_LAST_LINE|CHART_SHOW_PERIOD_SEP|'
- r'CHART_SHOW_GRID|CHART_SHOW_VOLUMES|CHART_SHOW_OBJECT_DESCR|'
- r'CHART_VISIBLE_BARS|CHART_WINDOWS_TOTAL|CHART_WINDOW_IS_VISIBLE|'
- r'CHART_WINDOW_HANDLE|CHART_WINDOW_YDISTANCE|CHART_FIRST_VISIBLE_BAR|'
- r'CHART_WIDTH_IN_BARS|CHART_WIDTH_IN_PIXELS|CHART_HEIGHT_IN_PIXELS|'
- r'CHART_COLOR_BACKGROUND|CHART_COLOR_FOREGROUND|CHART_COLOR_GRID|'
- r'CHART_COLOR_VOLUME|CHART_COLOR_CHART_UP|CHART_COLOR_CHART_DOWN|'
- r'CHART_COLOR_CHART_LINE|CHART_COLOR_CANDLE_BULL|CHART_COLOR_CANDLE_BEAR|'
- r'CHART_COLOR_BID|CHART_COLOR_ASK|CHART_COLOR_LAST|CHART_COLOR_STOP_LEVEL|'
- r'CHART_SHOW_TRADE_LEVELS|CHART_DRAG_TRADE_LEVELS|CHART_SHOW_DATE_SCALE|'
- r'CHART_SHOW_PRICE_SCALE|CHART_SHIFT_SIZE|CHART_FIXED_POSITION|'
- r'CHART_FIXED_MAX|CHART_FIXED_MIN|CHART_POINTS_PER_BAR|CHART_PRICE_MIN|'
- r'CHART_PRICE_MAX|CHART_COMMENT|CHART_BEGIN|CHART_CURRENT_POS|CHART_END|'
- r'CHART_BARS|CHART_CANDLES|CHART_LINE|CHART_VOLUME_HIDE|CHART_VOLUME_TICK|CHART_VOLUME_REAL|'
+ r'CHART_MOUSE_SCROLL|CHART_EVENT_MOUSE_MOVE|'
+ r'CHART_EVENT_OBJECT_CREATE|'
+ r'CHART_EVENT_OBJECT_DELETE|CHART_MODE|CHART_FOREGROUND|'
+ r'CHART_SHIFT|'
+ r'CHART_AUTOSCROLL|CHART_SCALE|CHART_SCALEFIX|'
+ r'CHART_SCALEFIX_11|'
+ r'CHART_SCALE_PT_PER_BAR|CHART_SHOW_OHLC|'
+ r'CHART_SHOW_BID_LINE|'
+ r'CHART_SHOW_ASK_LINE|CHART_SHOW_LAST_LINE|'
+ r'CHART_SHOW_PERIOD_SEP|'
+ r'CHART_SHOW_GRID|CHART_SHOW_VOLUMES|'
+ r'CHART_SHOW_OBJECT_DESCR|'
+ r'CHART_VISIBLE_BARS|CHART_WINDOWS_TOTAL|'
+ r'CHART_WINDOW_IS_VISIBLE|'
+ r'CHART_WINDOW_HANDLE|CHART_WINDOW_YDISTANCE|'
+ r'CHART_FIRST_VISIBLE_BAR|'
+ r'CHART_WIDTH_IN_BARS|CHART_WIDTH_IN_PIXELS|'
+ r'CHART_HEIGHT_IN_PIXELS|'
+ r'CHART_COLOR_BACKGROUND|CHART_COLOR_FOREGROUND|'
+ r'CHART_COLOR_GRID|'
+ r'CHART_COLOR_VOLUME|CHART_COLOR_CHART_UP|'
+ r'CHART_COLOR_CHART_DOWN|'
+ r'CHART_COLOR_CHART_LINE|CHART_COLOR_CANDLE_BULL|'
+ r'CHART_COLOR_CANDLE_BEAR|'
+ r'CHART_COLOR_BID|CHART_COLOR_ASK|CHART_COLOR_LAST|'
+ r'CHART_COLOR_STOP_LEVEL|'
+ r'CHART_SHOW_TRADE_LEVELS|CHART_DRAG_TRADE_LEVELS|'
+ r'CHART_SHOW_DATE_SCALE|'
+ r'CHART_SHOW_PRICE_SCALE|CHART_SHIFT_SIZE|'
+ r'CHART_FIXED_POSITION|'
+ r'CHART_FIXED_MAX|CHART_FIXED_MIN|CHART_POINTS_PER_BAR|'
+ r'CHART_PRICE_MIN|'
+ r'CHART_PRICE_MAX|CHART_COMMENT|CHART_BEGIN|'
+ r'CHART_CURRENT_POS|CHART_END|'
+ r'CHART_BARS|CHART_CANDLES|CHART_LINE|CHART_VOLUME_HIDE|'
+ r'CHART_VOLUME_TICK|CHART_VOLUME_REAL|'
r'OBJ_VLINE|OBJ_HLINE|OBJ_TREND|OBJ_TRENDBYANGLE|OBJ_CYCLES|'
r'OBJ_CHANNEL|OBJ_STDDEVCHANNEL|OBJ_REGRESSION|OBJ_PITCHFORK|'
r'OBJ_GANNLINE|OBJ_GANNFAN|OBJ_GANNGRID|OBJ_FIBO|'
r'OBJ_FIBOTIMES|OBJ_FIBOFAN|OBJ_FIBOARC|OBJ_FIBOCHANNEL|'
r'OBJ_EXPANSION|OBJ_RECTANGLE|OBJ_TRIANGLE|OBJ_ELLIPSE|'
- r'OBJ_ARROW_THUMB_UP|OBJ_ARROW_THUMB_DOWN|OBJ_ARROW_UP|OBJ_ARROW_DOWN|'
+ r'OBJ_ARROW_THUMB_UP|OBJ_ARROW_THUMB_DOWN|'
+ r'OBJ_ARROW_UP|OBJ_ARROW_DOWN|'
r'OBJ_ARROW_STOP|OBJ_ARROW_CHECK|OBJ_ARROW_LEFT_PRICE|'
- r'OBJ_ARROW_RIGHT_PRICE|OBJ_ARROW_BUY|OBJ_ARROW_SELL|OBJ_ARROW|'
- r'OBJ_TEXT|OBJ_LABEL|OBJ_BUTTON|OBJ_BITMAP|OBJ_BITMAP_LABEL|'
+ r'OBJ_ARROW_RIGHT_PRICE|OBJ_ARROW_BUY|OBJ_ARROW_SELL|'
+ r'OBJ_ARROW|'
+ r'OBJ_TEXT|OBJ_LABEL|OBJ_BUTTON|OBJ_BITMAP|'
+ r'OBJ_BITMAP_LABEL|'
r'OBJ_EDIT|OBJ_EVENT|OBJ_RECTANGLE_LABEL|'
- r'OBJPROP_TIME1|OBJPROP_PRICE1|OBJPROP_TIME2|OBJPROP_PRICE2|OBJPROP_TIME3|'
- r'OBJPROP_PRICE3|OBJPROP_COLOR|OBJPROP_STYLE|OBJPROP_WIDTH|'
- r'OBJPROP_BACK|OBJPROP_RAY|OBJPROP_ELLIPSE|OBJPROP_SCALE|'
+ r'OBJPROP_TIME1|OBJPROP_PRICE1|OBJPROP_TIME2|'
+ r'OBJPROP_PRICE2|OBJPROP_TIME3|'
+ r'OBJPROP_PRICE3|OBJPROP_COLOR|OBJPROP_STYLE|'
+ r'OBJPROP_WIDTH|'
+ r'OBJPROP_BACK|OBJPROP_RAY|OBJPROP_ELLIPSE|'
+ r'OBJPROP_SCALE|'
r'OBJPROP_ANGLE|OBJPROP_ARROWCODE|OBJPROP_TIMEFRAMES|'
r'OBJPROP_DEVIATION|OBJPROP_FONTSIZE|OBJPROP_CORNER|'
r'OBJPROP_XDISTANCE|OBJPROP_YDISTANCE|OBJPROP_FIBOLEVELS|'
@@ -4132,130 +4169,227 @@ class MqlLexer(CppLexer):
r'ALIGN_RIGHT|ANCHOR_LEFT_UPPER|ANCHOR_LEFT|ANCHOR_LEFT_LOWER|'
r'ANCHOR_LOWER|ANCHOR_RIGHT_LOWER|ANCHOR_RIGHT|ANCHOR_RIGHT_UPPER|'
r'ANCHOR_UPPER|ANCHOR_CENTER|ANCHOR_TOP|ANCHOR_BOTTOM|'
- r'CORNER_LEFT_UPPER|CORNER_LEFT_LOWER|CORNER_RIGHT_LOWER|CORNER_RIGHT_UPPER|'
+ r'CORNER_LEFT_UPPER|CORNER_LEFT_LOWER|CORNER_RIGHT_LOWER|'
+ r'CORNER_RIGHT_UPPER|'
r'OBJ_NO_PERIODS|EMPTY|OBJ_PERIOD_M1|OBJ_PERIOD_M5|OBJ_PERIOD_M15|'
r'OBJ_PERIOD_M30|OBJ_PERIOD_H1|OBJ_PERIOD_H4|OBJ_PERIOD_D1|'
r'OBJ_PERIOD_W1|OBJ_PERIOD_MN1|OBJ_ALL_PERIODS|'
r'GANN_UP_TREND|GANN_DOWN_TREND|'
- r'((clr)?(Black|DarkGreen|DarkSlateGray|Olive|Green|Teal|Navy|Purple|'
- r'Maroon|Indigo|MidnightBlue|DarkBlue|DarkOliveGreen|SaddleBrown|'
- r'ForestGreen|OliveDrab|SeaGreen|DarkGoldenrod|DarkSlateBlue|'
- r'Sienna|MediumBlue|Brown|DarkTurquoise|DimGray|LightSeaGreen|'
- r'DarkViolet|FireBrick|MediumVioletRed|MediumSeaGreen|Chocolate|'
- r'Crimson|SteelBlue|Goldenrod|MediumSpringGreen|LawnGreen|CadetBlue|'
- r'DarkOrchid|YellowGreen|LimeGreen|OrangeRed|DarkOrange|Orange|'
- r'Gold|Yellow|Chartreuse|Lime|SpringGreen|Aqua|DeepSkyBlue|Blue|'
- r'Magenta|Red|Gray|SlateGray|Peru|BlueViolet|LightSlateGray|DeepPink|'
- r'MediumTurquoise|DodgerBlue|Turquoise|RoyalBlue|SlateBlue|DarkKhaki|'
- r'IndianRed|MediumOrchid|GreenYellow|MediumAquamarine|DarkSeaGreen|'
- r'Tomato|RosyBrown|Orchid|MediumPurple|PaleVioletRed|Coral|CornflowerBlue|'
- r'DarkGray|SandyBrown|MediumSlateBlue|Tan|DarkSalmon|BurlyWood|'
- r'HotPink|Salmon|Violet|LightCoral|SkyBlue|LightSalmon|Plum|'
- r'Khaki|LightGreen|Aquamarine|Silver|LightSkyBlue|LightSteelBlue|'
- r'LightBlue|PaleGreen|Thistle|PowderBlue|PaleGoldenrod|PaleTurquoise|'
- r'LightGray|Wheat|NavajoWhite|Moccasin|LightPink|Gainsboro|PeachPuff|'
- r'Pink|Bisque|LightGoldenrod|BlanchedAlmond|LemonChiffon|Beige|'
- r'AntiqueWhite|PapayaWhip|Cornsilk|LightYellow|LightCyan|Linen|'
- r'Lavender|MistyRose|OldLace|WhiteSmoke|Seashell|Ivory|Honeydew|'
+ r'((clr)?(Black|DarkGreen|DarkSlateGray|Olive|'
+ r'Green|Teal|Navy|Purple|'
+ r'Maroon|Indigo|MidnightBlue|DarkBlue|'
+ r'DarkOliveGreen|SaddleBrown|'
+ r'ForestGreen|OliveDrab|SeaGreen|'
+ r'DarkGoldenrod|DarkSlateBlue|'
+ r'Sienna|MediumBlue|Brown|DarkTurquoise|'
+ r'DimGray|LightSeaGreen|'
+ r'DarkViolet|FireBrick|MediumVioletRed|'
+ r'MediumSeaGreen|Chocolate|'
+ r'Crimson|SteelBlue|Goldenrod|MediumSpringGreen|'
+ r'LawnGreen|CadetBlue|'
+ r'DarkOrchid|YellowGreen|LimeGreen|OrangeRed|'
+ r'DarkOrange|Orange|'
+ r'Gold|Yellow|Chartreuse|Lime|SpringGreen|'
+ r'Aqua|DeepSkyBlue|Blue|'
+ r'Magenta|Red|Gray|SlateGray|Peru|BlueViolet|'
+ r'LightSlateGray|DeepPink|'
+ r'MediumTurquoise|DodgerBlue|Turquoise|RoyalBlue|'
+ r'SlateBlue|DarkKhaki|'
+ r'IndianRed|MediumOrchid|GreenYellow|'
+ r'MediumAquamarine|DarkSeaGreen|'
+ r'Tomato|RosyBrown|Orchid|MediumPurple|'
+ r'PaleVioletRed|Coral|CornflowerBlue|'
+ r'DarkGray|SandyBrown|MediumSlateBlue|'
+ r'Tan|DarkSalmon|BurlyWood|'
+ r'HotPink|Salmon|Violet|LightCoral|SkyBlue|'
+ r'LightSalmon|Plum|'
+ r'Khaki|LightGreen|Aquamarine|Silver|'
+ r'LightSkyBlue|LightSteelBlue|'
+ r'LightBlue|PaleGreen|Thistle|PowderBlue|'
+ r'PaleGoldenrod|PaleTurquoise|'
+ r'LightGray|Wheat|NavajoWhite|Moccasin|'
+ r'LightPink|Gainsboro|PeachPuff|'
+ r'Pink|Bisque|LightGoldenrod|BlanchedAlmond|'
+ r'LemonChiffon|Beige|'
+ r'AntiqueWhite|PapayaWhip|Cornsilk|'
+ r'LightYellow|LightCyan|Linen|'
+ r'Lavender|MistyRose|OldLace|WhiteSmoke|'
+ r'Seashell|Ivory|Honeydew|'
r'AliceBlue|LavenderBlush|MintCream|Snow|White))|'
- r'SYMBOL_THUMBSUP|SYMBOL_THUMBSDOWN|SYMBOL_ARROWUP|SYMBOL_ARROWDOWN|'
- r'SYMBOL_STOPSIGN|SYMBOL_CHECKSIGN|SYMBOL_LEFTPRICE|SYMBOL_RIGHTPRICE|'
- r'PRICE_CLOSE|PRICE_OPEN|PRICE_HIGH|PRICE_LOW|PRICE_MEDIAN|PRICE_TYPICAL|PRICE_WEIGHTED|'
+ r'SYMBOL_THUMBSUP|SYMBOL_THUMBSDOWN|'
+ r'SYMBOL_ARROWUP|SYMBOL_ARROWDOWN|'
+ r'SYMBOL_STOPSIGN|SYMBOL_CHECKSIGN|'
+ r'SYMBOL_LEFTPRICE|SYMBOL_RIGHTPRICE|'
+ r'PRICE_CLOSE|PRICE_OPEN|PRICE_HIGH|PRICE_LOW|'
+ r'PRICE_MEDIAN|PRICE_TYPICAL|PRICE_WEIGHTED|'
r'VOLUME_TICK|VOLUME_REAL|'
r'STO_LOWHIGH|STO_CLOSECLOSE|'
r'MODE_OPEN|MODE_LOW|MODE_HIGH|MODE_CLOSE|MODE_VOLUME|MODE_TIME|'
r'MODE_SMA|MODE_EMA|MODE_SMMA|MODE_LWMA|'
- r'MODE_MAIN|MODE_SIGNAL|MODE_MAIN|MODE_PLUSDI|MODE_MINUSDI|MODE_UPPER|'
- r'MODE_LOWER|MODE_GATORJAW|MODE_GATORTEETH|MODE_GATORLIPS|MODE_TENKANSEN|'
- r'MODE_KIJUNSEN|MODE_SENKOUSPANA|MODE_SENKOUSPANB|MODE_CHINKOUSPAN|'
- r'DRAW_LINE|DRAW_SECTION|DRAW_HISTOGRAM|DRAW_ARROW|DRAW_ZIGZAG|DRAW_NONE|'
- r'STYLE_SOLID|STYLE_DASH|STYLE_DOT|STYLE_DASHDOT|STYLE_DASHDOTDOT|'
- r'DRAW_NONE|DRAW_LINE|DRAW_SECTION|DRAW_HISTOGRAM|DRAW_ARROW|DRAW_ZIGZAG|DRAW_FILLING|'
- r'INDICATOR_DATA|INDICATOR_COLOR_INDEX|INDICATOR_CALCULATIONS|INDICATOR_DIGITS|'
- r'INDICATOR_HEIGHT|INDICATOR_LEVELS|INDICATOR_LEVELCOLOR|INDICATOR_LEVELSTYLE|'
- r'INDICATOR_LEVELWIDTH|INDICATOR_MINIMUM|INDICATOR_MAXIMUM|INDICATOR_LEVELVALUE|'
- r'INDICATOR_SHORTNAME|INDICATOR_LEVELTEXT|TERMINAL_BUILD|TERMINAL_CONNECTED|'
- r'TERMINAL_DLLS_ALLOWED|TERMINAL_TRADE_ALLOWED|TERMINAL_EMAIL_ENABLED|'
- r'TERMINAL_FTP_ENABLED|TERMINAL_MAXBARS|TERMINAL_CODEPAGE|TERMINAL_CPU_CORES|'
- r'TERMINAL_DISK_SPACE|TERMINAL_MEMORY_PHYSICAL|TERMINAL_MEMORY_TOTAL|'
- r'TERMINAL_MEMORY_AVAILABLE|TERMINAL_MEMORY_USED|TERMINAL_X64|'
- r'TERMINAL_OPENCL_SUPPORT|TERMINAL_LANGUAGE|TERMINAL_COMPANY|TERMINAL_NAME|'
- r'TERMINAL_PATH|TERMINAL_DATA_PATH|TERMINAL_COMMONDATA_PATH|'
- r'MQL_PROGRAM_TYPE|MQL_DLLS_ALLOWED|MQL_TRADE_ALLOWED|MQL_DEBUG|'
- r'MQL_PROFILER|MQL_TESTER|MQL_OPTIMIZATION|MQL_VISUAL_MODE|'
- r'MQL_FRAME_MODE|MQL_LICENSE_TYPE|MQL_PROGRAM_NAME|MQL_PROGRAM_PATH|'
- r'PROGRAM_SCRIPT|PROGRAM_EXPERT|PROGRAM_INDICATOR|LICENSE_FREE|'
+ r'MODE_MAIN|MODE_SIGNAL|MODE_MAIN|'
+ r'MODE_PLUSDI|MODE_MINUSDI|MODE_UPPER|'
+ r'MODE_LOWER|MODE_GATORJAW|MODE_GATORTEETH|'
+ r'MODE_GATORLIPS|MODE_TENKANSEN|'
+ r'MODE_KIJUNSEN|MODE_SENKOUSPANA|'
+ r'MODE_SENKOUSPANB|MODE_CHINKOUSPAN|'
+ r'DRAW_LINE|DRAW_SECTION|DRAW_HISTOGRAM|'
+ r'DRAW_ARROW|DRAW_ZIGZAG|DRAW_NONE|'
+ r'STYLE_SOLID|STYLE_DASH|STYLE_DOT|'
+ r'STYLE_DASHDOT|STYLE_DASHDOTDOT|'
+ r'DRAW_NONE|DRAW_LINE|DRAW_SECTION|DRAW_HISTOGRAM|'
+ r'DRAW_ARROW|DRAW_ZIGZAG|DRAW_FILLING|'
+ r'INDICATOR_DATA|INDICATOR_COLOR_INDEX|'
+ r'INDICATOR_CALCULATIONS|INDICATOR_DIGITS|'
+ r'INDICATOR_HEIGHT|INDICATOR_LEVELS|'
+ r'INDICATOR_LEVELCOLOR|INDICATOR_LEVELSTYLE|'
+ r'INDICATOR_LEVELWIDTH|INDICATOR_MINIMUM|'
+ r'INDICATOR_MAXIMUM|INDICATOR_LEVELVALUE|'
+ r'INDICATOR_SHORTNAME|INDICATOR_LEVELTEXT|'
+ r'TERMINAL_BUILD|TERMINAL_CONNECTED|'
+ r'TERMINAL_DLLS_ALLOWED|TERMINAL_TRADE_ALLOWED|'
+ r'TERMINAL_EMAIL_ENABLED|'
+ r'TERMINAL_FTP_ENABLED|TERMINAL_MAXBARS|'
+ r'TERMINAL_CODEPAGE|TERMINAL_CPU_CORES|'
+ r'TERMINAL_DISK_SPACE|TERMINAL_MEMORY_PHYSICAL|'
+ r'TERMINAL_MEMORY_TOTAL|'
+ r'TERMINAL_MEMORY_AVAILABLE|TERMINAL_MEMORY_USED|'
+ r'TERMINAL_X64|'
+ r'TERMINAL_OPENCL_SUPPORT|TERMINAL_LANGUAGE|'
+ r'TERMINAL_COMPANY|TERMINAL_NAME|'
+ r'TERMINAL_PATH|TERMINAL_DATA_PATH|'
+ r'TERMINAL_COMMONDATA_PATH|'
+ r'MQL_PROGRAM_TYPE|MQL_DLLS_ALLOWED|'
+ r'MQL_TRADE_ALLOWED|MQL_DEBUG|'
+ r'MQL_PROFILER|MQL_TESTER|MQL_OPTIMIZATION|'
+ r'MQL_VISUAL_MODE|'
+ r'MQL_FRAME_MODE|MQL_LICENSE_TYPE|MQL_PROGRAM_NAME|'
+ r'MQL_PROGRAM_PATH|'
+ r'PROGRAM_SCRIPT|PROGRAM_EXPERT|'
+ r'PROGRAM_INDICATOR|LICENSE_FREE|'
r'LICENSE_DEMO|LICENSE_FULL|LICENSE_TIME|'
- r'MODE_LOW|MODE_HIGH|MODE_TIME|MODE_BID|MODE_ASK|MODE_POINT|'
- r'MODE_DIGITS|MODE_SPREAD|MODE_STOPLEVEL|MODE_LOTSIZE|MODE_TICKVALUE|'
- r'MODE_TICKSIZE|MODE_SWAPLONG|MODE_SWAPSHORT|MODE_STARTING|'
- r'MODE_EXPIRATION|MODE_TRADEALLOWED|MODE_MINLOT|MODE_LOTSTEP|MODE_MAXLOT|'
- r'MODE_SWAPTYPE|MODE_PROFITCALCMODE|MODE_MARGINCALCMODE|MODE_MARGININIT|'
- r'MODE_MARGINMAINTENANCE|MODE_MARGINHEDGED|MODE_MARGINREQUIRED|MODE_FREEZELEVEL|'
- r'SUNDAY|MONDAY|TUESDAY|WEDNESDAY|THURSDAY|FRIDAY|SATURDAY|'
- r'ACCOUNT_LOGIN|ACCOUNT_TRADE_MODE|ACCOUNT_LEVERAGE|'
+ r'MODE_LOW|MODE_HIGH|MODE_TIME|MODE_BID|'
+ r'MODE_ASK|MODE_POINT|'
+ r'MODE_DIGITS|MODE_SPREAD|MODE_STOPLEVEL|'
+ r'MODE_LOTSIZE|MODE_TICKVALUE|'
+ r'MODE_TICKSIZE|MODE_SWAPLONG|'
+ r'MODE_SWAPSHORT|MODE_STARTING|'
+ r'MODE_EXPIRATION|MODE_TRADEALLOWED|'
+ r'MODE_MINLOT|MODE_LOTSTEP|MODE_MAXLOT|'
+ r'MODE_SWAPTYPE|MODE_PROFITCALCMODE|'
+ r'MODE_MARGINCALCMODE|MODE_MARGININIT|'
+ r'MODE_MARGINMAINTENANCE|MODE_MARGINHEDGED|'
+ r'MODE_MARGINREQUIRED|MODE_FREEZELEVEL|'
+ r'SUNDAY|MONDAY|TUESDAY|WEDNESDAY|THURSDAY|'
+ r'FRIDAY|SATURDAY|'
+ r'ACCOUNT_LOGIN|ACCOUNT_TRADE_MODE|'
+ r'ACCOUNT_LEVERAGE|'
r'ACCOUNT_LIMIT_ORDERS|ACCOUNT_MARGIN_SO_MODE|'
- r'ACCOUNT_TRADE_ALLOWED|ACCOUNT_TRADE_EXPERT|ACCOUNT_BALANCE|'
- r'ACCOUNT_CREDIT|ACCOUNT_PROFIT|ACCOUNT_EQUITY|ACCOUNT_MARGIN|'
- r'ACCOUNT_FREEMARGIN|ACCOUNT_MARGIN_LEVEL|ACCOUNT_MARGIN_SO_CALL|'
- r'ACCOUNT_MARGIN_SO_SO|ACCOUNT_NAME|ACCOUNT_SERVER|ACCOUNT_CURRENCY|'
- r'ACCOUNT_COMPANY|ACCOUNT_TRADE_MODE_DEMO|ACCOUNT_TRADE_MODE_CONTEST|'
- r'ACCOUNT_TRADE_MODE_REAL|ACCOUNT_STOPOUT_MODE_PERCENT|ACCOUNT_STOPOUT_MODE_MONEY|'
- r'STAT_INITIAL_DEPOSIT|STAT_WITHDRAWAL|STAT_PROFIT|STAT_GROSS_PROFIT|'
- r'STAT_GROSS_LOSS|STAT_MAX_PROFITTRADE|STAT_MAX_LOSSTRADE|STAT_CONPROFITMAX|'
- r'STAT_CONPROFITMAX_TRADES|STAT_MAX_CONWINS|STAT_MAX_CONPROFIT_TRADES|'
- r'STAT_CONLOSSMAX|STAT_CONLOSSMAX_TRADES|STAT_MAX_CONLOSSES|'
- r'STAT_MAX_CONLOSS_TRADES|STAT_BALANCEMIN|STAT_BALANCE_DD|'
+ r'ACCOUNT_TRADE_ALLOWED|ACCOUNT_TRADE_EXPERT|'
+ r'ACCOUNT_BALANCE|'
+ r'ACCOUNT_CREDIT|ACCOUNT_PROFIT|ACCOUNT_EQUITY|'
+ r'ACCOUNT_MARGIN|'
+ r'ACCOUNT_FREEMARGIN|ACCOUNT_MARGIN_LEVEL|'
+ r'ACCOUNT_MARGIN_SO_CALL|'
+ r'ACCOUNT_MARGIN_SO_SO|ACCOUNT_NAME|'
+ r'ACCOUNT_SERVER|ACCOUNT_CURRENCY|'
+ r'ACCOUNT_COMPANY|ACCOUNT_TRADE_MODE_DEMO|'
+ r'ACCOUNT_TRADE_MODE_CONTEST|'
+ r'ACCOUNT_TRADE_MODE_REAL|ACCOUNT_STOPOUT_MODE_PERCENT|'
+ r'ACCOUNT_STOPOUT_MODE_MONEY|'
+ r'STAT_INITIAL_DEPOSIT|STAT_WITHDRAWAL|STAT_PROFIT|'
+ r'STAT_GROSS_PROFIT|'
+ r'STAT_GROSS_LOSS|STAT_MAX_PROFITTRADE|'
+ r'STAT_MAX_LOSSTRADE|STAT_CONPROFITMAX|'
+ r'STAT_CONPROFITMAX_TRADES|STAT_MAX_CONWINS|'
+ r'STAT_MAX_CONPROFIT_TRADES|'
+ r'STAT_CONLOSSMAX|STAT_CONLOSSMAX_TRADES|'
+ r'STAT_MAX_CONLOSSES|'
+ r'STAT_MAX_CONLOSS_TRADES|STAT_BALANCEMIN|'
+ r'STAT_BALANCE_DD|'
r'STAT_BALANCEDD_PERCENT|STAT_BALANCE_DDREL_PERCENT|'
- r'STAT_BALANCE_DD_RELATIVE|STAT_EQUITYMIN|STAT_EQUITY_DD|'
+ r'STAT_BALANCE_DD_RELATIVE|STAT_EQUITYMIN|'
+ r'STAT_EQUITY_DD|'
r'STAT_EQUITYDD_PERCENT|STAT_EQUITY_DDREL_PERCENT|'
- r'STAT_EQUITY_DD_RELATIVE|STAT_EXPECTED_PAYOFF|STAT_PROFIT_FACTOR|'
- r'STAT_RECOVERY_FACTOR|STAT_SHARPE_RATIO|STAT_MIN_MARGINLEVEL|'
- r'STAT_CUSTOM_ONTESTER|STAT_DEALS|STAT_TRADES|STAT_PROFIT_TRADES|'
+ r'STAT_EQUITY_DD_RELATIVE|STAT_EXPECTED_PAYOFF|'
+ r'STAT_PROFIT_FACTOR|'
+ r'STAT_RECOVERY_FACTOR|STAT_SHARPE_RATIO|'
+ r'STAT_MIN_MARGINLEVEL|'
+ r'STAT_CUSTOM_ONTESTER|STAT_DEALS|STAT_TRADES|'
+ r'STAT_PROFIT_TRADES|'
r'STAT_LOSS_TRADES|STAT_SHORT_TRADES|STAT_LONG_TRADES|'
r'STAT_PROFIT_SHORTTRADES|STAT_PROFIT_LONGTRADES|'
r'STAT_PROFITTRADES_AVGCON|STAT_LOSSTRADES_AVGCON|'
r'SERIES_BARS_COUNT|SERIES_FIRSTDATE|SERIES_LASTBAR_DATE|'
- r'SERIES_SERVER_FIRSTDATE|SERIES_TERMINAL_FIRSTDATE|SERIES_SYNCHRONIZED|'
- r'OP_BUY|OP_SELL|OP_BUYLIMIT|OP_SELLLIMIT|OP_BUYSTOP|OP_SELLSTOP|'
- r'TRADE_ACTION_DEAL|TRADE_ACTION_PENDING|TRADE_ACTION_SLTP|'
+ r'SERIES_SERVER_FIRSTDATE|SERIES_TERMINAL_FIRSTDATE|'
+ r'SERIES_SYNCHRONIZED|'
+ r'OP_BUY|OP_SELL|OP_BUYLIMIT|OP_SELLLIMIT|'
+ r'OP_BUYSTOP|OP_SELLSTOP|'
+ r'TRADE_ACTION_DEAL|TRADE_ACTION_PENDING|'
+ r'TRADE_ACTION_SLTP|'
r'TRADE_ACTION_MODIFY|TRADE_ACTION_REMOVE|'
- r'__DATE__|__DATETIME__|__LINE__|__FILE__|__PATH__|__FUNCTION__|'
+ r'__DATE__|__DATETIME__|__LINE__|__FILE__|'
+ r'__PATH__|__FUNCTION__|'
r'__FUNCSIG__|__MQLBUILD__|__MQL4BUILD__|'
- r'M_E|M_LOG2E|M_LOG10E|M_LN2|M_LN10|M_PI|M_PI_2|M_PI_4|M_1_PI|'
+ r'M_E|M_LOG2E|M_LOG10E|M_LN2|M_LN10|'
+ r'M_PI|M_PI_2|M_PI_4|M_1_PI|'
r'M_2_PI|M_2_SQRTPI|M_SQRT2|M_SQRT1_2|'
- r'CHAR_MIN|CHAR_MAX|UCHAR_MAX|SHORT_MIN|SHORT_MAX|USHORT_MAX|'
- r'INT_MIN|INT_MAX|UINT_MAX|LONG_MIN|LONG_MAX|ULONG_MAX|'
+ r'CHAR_MIN|CHAR_MAX|UCHAR_MAX|'
+ r'SHORT_MIN|SHORT_MAX|USHORT_MAX|'
+ r'INT_MIN|INT_MAX|UINT_MAX|'
+ r'LONG_MIN|LONG_MAX|ULONG_MAX|'
r'DBL_MIN|DBL_MAX|DBL_EPSILON|DBL_DIG|DBL_MANT_DIG|'
r'DBL_MAX_10_EXP|DBL_MAX_EXP|DBL_MIN_10_EXP|DBL_MIN_EXP|'
- r'FLT_MIN|FLT_MAX|FLT_EPSILON|FLT_DIG|FLT_MANT_DIG|FLT_MAX_10_EXP|'
+ r'FLT_MIN|FLT_MAX|FLT_EPSILON|'
+ r'FLT_DIG|FLT_MANT_DIG|FLT_MAX_10_EXP|'
r'FLT_MAX_EXP|FLT_MIN_10_EXP|FLT_MIN_EXP|REASON_PROGRAM'
- r'REASON_REMOVE|REASON_RECOMPILE|REASON_CHARTCHANGE|REASON_CHARTCLOSE|'
- r'REASON_PARAMETERS|REASON_ACCOUNT|REASON_TEMPLATE|REASON_INITFAILED|'
+ r'REASON_REMOVE|REASON_RECOMPILE|'
+ r'REASON_CHARTCHANGE|REASON_CHARTCLOSE|'
+ r'REASON_PARAMETERS|REASON_ACCOUNT|'
+ r'REASON_TEMPLATE|REASON_INITFAILED|'
r'REASON_CLOSE|POINTER_INVALID'
r'POINTER_DYNAMIC|POINTER_AUTOMATIC|'
- r'NULL|EMPTY|EMPTY_VALUE|CLR_NONE|WHOLE_ARRAY|CHARTS_MAX|clrNONE|EMPTY_VALUE|INVALID_HANDLE|'
+ r'NULL|EMPTY|EMPTY_VALUE|CLR_NONE|WHOLE_ARRAY|'
+ r'CHARTS_MAX|clrNONE|EMPTY_VALUE|INVALID_HANDLE|'
r'IS_DEBUG_MODE|IS_PROFILE_MODE|NULL|WHOLE_ARRAY|WRONG_VALUE|'
- r'ERR_NO_ERROR|ERR_NO_RESULT|ERR_COMMON_ERROR|ERR_INVALID_TRADE_PARAMETERS|'
- r'ERR_SERVER_BUSY|ERR_OLD_VERSION|ERR_NO_CONNECTION|ERR_NOT_ENOUGH_RIGHTS|'
- r'ERR_TOO_FREQUENT_REQUESTS|ERR_MALFUNCTIONAL_TRADE|ERR_ACCOUNT_DISABLED|'
- r'ERR_INVALID_ACCOUNT|ERR_TRADE_TIMEOUT|ERR_INVALID_PRICE|ERR_INVALID_STOPS|'
- r'ERR_INVALID_TRADE_VOLUME|ERR_MARKET_CLOSED|ERR_TRADE_DISABLED|'
- r'ERR_NOT_ENOUGH_MONEY|ERR_PRICE_CHANGED|ERR_OFF_QUOTES|ERR_BROKER_BUSY|'
- r'ERR_REQUOTE|ERR_ORDER_LOCKED|ERR_LONG_POSITIONS_ONLY_ALLOWED|ERR_TOO_MANY_REQUESTS|'
- r'ERR_TRADE_MODIFY_DENIED|ERR_TRADE_CONTEXT_BUSY|ERR_TRADE_EXPIRATION_DENIED|'
- r'ERR_TRADE_TOO_MANY_ORDERS|ERR_TRADE_HEDGE_PROHIBITED|ERR_TRADE_PROHIBITED_BY_FIFO|'
- r'FILE_READ|FILE_WRITE|FILE_BIN|FILE_CSV|FILE_TXT|FILE_ANSI|FILE_UNICODE|'
- r'FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_REWRITE|FILE_COMMON|FILE_EXISTS|'
- r'FILE_CREATE_DATE|FILE_MODIFY_DATE|FILE_ACCESS_DATE|FILE_SIZE|FILE_POSITION|'
- r'FILE_END|FILE_LINE_END|FILE_IS_COMMON|FILE_IS_TEXT|FILE_IS_BINARY|'
+ r'ERR_NO_ERROR|ERR_NO_RESULT|ERR_COMMON_ERROR|'
+ r'ERR_INVALID_TRADE_PARAMETERS|'
+ r'ERR_SERVER_BUSY|ERR_OLD_VERSION|ERR_NO_CONNECTION|'
+ r'ERR_NOT_ENOUGH_RIGHTS|'
+ r'ERR_TOO_FREQUENT_REQUESTS|ERR_MALFUNCTIONAL_TRADE|'
+ r'ERR_ACCOUNT_DISABLED|'
+ r'ERR_INVALID_ACCOUNT|ERR_TRADE_TIMEOUT|'
+ r'ERR_INVALID_PRICE|ERR_INVALID_STOPS|'
+ r'ERR_INVALID_TRADE_VOLUME|ERR_MARKET_CLOSED|'
+ r'ERR_TRADE_DISABLED|'
+ r'ERR_NOT_ENOUGH_MONEY|ERR_PRICE_CHANGED|'
+ r'ERR_OFF_QUOTES|ERR_BROKER_BUSY|'
+ r'ERR_REQUOTE|ERR_ORDER_LOCKED|'
+ r'ERR_LONG_POSITIONS_ONLY_ALLOWED|ERR_TOO_MANY_REQUESTS|'
+ r'ERR_TRADE_MODIFY_DENIED|ERR_TRADE_CONTEXT_BUSY|'
+ r'ERR_TRADE_EXPIRATION_DENIED|'
+ r'ERR_TRADE_TOO_MANY_ORDERS|ERR_TRADE_HEDGE_PROHIBITED|'
+ r'ERR_TRADE_PROHIBITED_BY_FIFO|'
+ r'FILE_READ|FILE_WRITE|FILE_BIN|FILE_CSV|FILE_TXT|'
+ r'FILE_ANSI|FILE_UNICODE|'
+ r'FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_REWRITE|'
+ r'FILE_COMMON|FILE_EXISTS|'
+ r'FILE_CREATE_DATE|FILE_MODIFY_DATE|'
+ r'FILE_ACCESS_DATE|FILE_SIZE|FILE_POSITION|'
+ r'FILE_END|FILE_LINE_END|FILE_IS_COMMON|'
+ r'FILE_IS_TEXT|FILE_IS_BINARY|'
r'FILE_IS_CSV|FILE_IS_ANSI|FILE_IS_READABLE|FILE_IS_WRITABLE|'
- r'SEEK_SET|SEEK_CUR|SEEK_END|CP_ACP|CP_OEMCP|CP_MACCP|CP_THREAD_ACP|'
- r'CP_SYMBOL|CP_UTF7|CP_UTF8|IDOK|IDCANCEL|IDABORT|IDRETRY|IDIGNORE|IDYES|IDNO|IDTRYAGAIN|IDCONTINUE|'
- r'MB_OK|MB_OKCANCEL|MB_ABORTRETRYIGNORE|MB_YESNOCANCEL|MB_YESNO|MB_RETRYCANCEL|'
- r'MB_CANCELTRYCONTINUE|MB_ICONSTOP|MB_ICONERROR|MB_ICONHAND|MB_ICONQUESTION|'
- r'MB_ICONEXCLAMATION|MB_ICONWARNING|MB_ICONINFORMATION|MB_ICONASTERISK|'
- r'MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4)\b', Name.Constant),
+ r'SEEK_SET|SEEK_CUR|SEEK_END|CP_ACP|'
+ r'CP_OEMCP|CP_MACCP|CP_THREAD_ACP|'
+ r'CP_SYMBOL|CP_UTF7|CP_UTF8|IDOK|IDCANCEL|IDABORT|'
+ r'IDRETRY|IDIGNORE|IDYES|IDNO|IDTRYAGAIN|IDCONTINUE|'
+ r'MB_OK|MB_OKCANCEL|MB_ABORTRETRYIGNORE|MB_YESNOCANCEL|'
+ r'MB_YESNO|MB_RETRYCANCEL|'
+ r'MB_CANCELTRYCONTINUE|MB_ICONSTOP|MB_ICONERROR|'
+ r'MB_ICONHAND|MB_ICONQUESTION|'
+ r'MB_ICONEXCLAMATION|MB_ICONWARNING|'
+ r'MB_ICONINFORMATION|MB_ICONASTERISK|'
+ r'MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4)\b',
+ Name.Constant),
inherit,
],
}