- Language Basics
- Constants, Enumerations and Structures
- MQL5 programs
- Predefined Variables
- Common Functions
- Array Functions
- Matrix and Vector Methods
- Conversion Functions
- Math Functions
- String Functions
- Date and Time
- Account Information
- Checkup
- Event Handling
- Market Info
- Economic Calendar
- Timeseries and Indicators Access
- Custom Symbols
- Chart Operations
- Trade Functions
- Trade Signals
- Network Functions
- Global Variables of the Terminal
- File Functions
- Custom Indicators
- Object Functions
- Technical Indicators
- Working with Optimization Results
- Working with Events
- Working with OpenCL
- Working with databases
- Working with DirectX
- Python Integration
- ONNX models
- Standard Library
- Moving from MQL4
- List of MQL5 Functions
- List of MQL5 Constants
List of MQL5 Constants
All MQL5 constants in alphabetical order.
Constant |
Description |
Usage |
---|---|---|
__DATE__ |
File compilation date without time (hours, minutes and seconds are equal to 0) |
|
__DATETIME__ |
File compilation date and time |
|
__FILE__ |
Name of the currently compiled file |
|
__FUNCSIG__ |
Signature of the function in whose body the macro is located. Logging of the full description of functions can be useful in the identification of overloaded functions |
|
__FUNCTION__ |
Name of the function, in whose body the macro is located |
|
__LINE__ |
Line number in the source code, in which the macro is located |
|
__MQLBUILD__, __MQL5BUILD__ |
Compiler build number |
|
__PATH__ |
An absolute path to the file that is currently being compiled |
|
ACCOUNT_ASSETS |
The current assets of an account |
|
ACCOUNT_BALANCE |
Account balance in the deposit currency |
|
ACCOUNT_COMMISSION_BLOCKED |
The current blocked commission amount on an account |
|
ACCOUNT_COMPANY |
Name of a company that serves the account |
|
ACCOUNT_CREDIT |
Account credit in the deposit currency |
|
ACCOUNT_CURRENCY |
Account currency |
|
ACCOUNT_EQUITY |
Account equity in the deposit currency |
|
ACCOUNT_LEVERAGE |
Account leverage |
|
ACCOUNT_LIABILITIES |
The current liabilities on an account |
|
ACCOUNT_LIMIT_ORDERS |
Maximum allowed number of active pending orders |
|
ACCOUNT_LOGIN |
Account number |
|
ACCOUNT_MARGIN |
Account margin used in the deposit currency |
|
ACCOUNT_MARGIN_FREE |
Free margin of an account in the deposit currency |
|
ACCOUNT_MARGIN_INITIAL |
Initial margin. The amount reserved on an account to cover the margin of all pending orders |
|
ACCOUNT_MARGIN_LEVEL |
Account margin level in percents |
|
ACCOUNT_MARGIN_MAINTENANCE |
Maintenance margin. The minimum equity reserved on an account to cover the minimum amount of all open positions |
|
ACCOUNT_MARGIN_SO_CALL |
Margin call level. Depending on the set ACCOUNT_MARGIN_SO_MODE is expressed in percents or in the deposit currency |
|
ACCOUNT_MARGIN_SO_MODE |
Mode for setting the minimal allowed margin |
|
ACCOUNT_MARGIN_SO_SO |
Margin stop out level. Depending on the set ACCOUNT_MARGIN_SO_MODE is expressed in percents or in the deposit currency |
|
ACCOUNT_NAME |
Client name |
|
ACCOUNT_PROFIT |
Current profit of an account in the deposit currency |
|
ACCOUNT_SERVER |
Trade server name |
|
ACCOUNT_STOPOUT_MODE_MONEY |
Account stop out mode in money |
|
ACCOUNT_STOPOUT_MODE_PERCENT |
Account stop out mode in percents |
|
ACCOUNT_TRADE_ALLOWED |
Allowed trade for the current account |
|
ACCOUNT_TRADE_EXPERT |
Allowed trade for an Expert Advisor |
|
ACCOUNT_TRADE_MODE |
Account trade mode |
|
ACCOUNT_TRADE_MODE_CONTEST |
Contest account |
|
ACCOUNT_TRADE_MODE_DEMO |
Demo account |
|
ACCOUNT_TRADE_MODE_REAL |
Real account |
|
ALIGN_CENTER |
Centered (only for the Edit object) |
|
ALIGN_LEFT |
Left alignment |
|
ALIGN_RIGHT |
Right alignment |
|
ANCHOR_CENTER |
Anchor point strictly in the center of the object |
|
ANCHOR_LEFT |
Anchor point to the left in the center |
|
ANCHOR_LEFT_LOWER |
Anchor point at the lower left corner |
|
ANCHOR_LEFT_UPPER |
Anchor point at the upper left corner |
|
ANCHOR_LOWER |
Anchor point below in the center |
|
ANCHOR_RIGHT |
Anchor point to the right in the center |
|
ANCHOR_RIGHT_LOWER |
Anchor point at the lower right corner |
|
ANCHOR_RIGHT_UPPER |
Anchor point at the upper right corner |
|
ANCHOR_UPPER |
Anchor point above in the center |
|
BASE_LINE |
Main line |
|
BOOK_TYPE_BUY |
Buy order (Bid) |
|
BOOK_TYPE_BUY_MARKET |
Buy order by Market |
|
BOOK_TYPE_SELL |
Sell order (Offer) |
|
BOOK_TYPE_SELL_MARKET |
Sell order by Market |
|
BORDER_FLAT |
Flat form |
|
BORDER_RAISED |
Prominent form |
|
BORDER_SUNKEN |
Concave form |
|
CHAR_MAX |
Maximal value, which can be represented by char type |
|
CHAR_MIN |
Minimal value, which can be represented by char type |
|
Mode of automatic moving to the right border of the chart |
||
CHART_BARS |
Display as a sequence of bars |
|
CHART_BEGIN |
Chart beginning (the oldest prices) |
|
Show chart on top of other charts |
||
CHART_CANDLES |
Display as Japanese candlesticks |
|
Ask price level color |
||
Chart background color |
||
Bid price level color |
||
Body color of a bear candlestick |
||
Body color of a bull candlestick |
||
Color for the down bar, shadows and body borders of bear candlesticks |
||
Line chart color and color of "Doji" Japanese candlesticks |
||
Color for the up bar, shadows and body borders of bull candlesticks |
||
Color of axes, scales and OHLC line |
||
Grid color |
||
Line color of the last executed deal price (Last) |
||
Color of stop order levels (Stop Loss and Take Profit) |
||
Color of volumes and position opening levels |
||
Text of a comment in a chart |
||
CHART_CURRENT_POS |
Current position |
|
Permission to drag trading levels on a chart with a mouse. The drag mode is enabled by default (true value) |
||
Send notifications of mouse move and mouse click events (CHARTEVENT_MOUSE_MOVE) to all mql5 programs on a chart |
||
Send a notification of an event of new object creation (CHARTEVENT_OBJECT_CREATE) to all mql5-programs on a chart |
||
Send a notification of an event of object deletion (CHARTEVENT_OBJECT_DELETE) to all mql5-programs on a chart |
||
Number of the first visible bar in the chart. Indexing of bars is the same as for timeseries. |
||
Fixed chart maximum |
||
Fixed chart minimum |
||
Chart fixed position from the left border in percent value. Chart fixed position is marked by a small gray triangle on the horizontal time axis. It is displayed only if the automatic chart scrolling to the right on tick incoming is disabled (see CHART_AUTOSCROLL property). The bar on a fixed position remains in the same place when zooming in and out. |
||
Price chart in the foreground |
||
Chart height in pixels |
||
Identifying "Chart" (OBJ_CHART) object – returns true for a graphical object. Returns false for a real chart |
||
CHART_LINE |
Display as a line drawn by Close prices |
|
Chart type (candlesticks, bars or line) |
||
Scrolling the chart horizontally using the left mouse button. Vertical scrolling is also available if the value of any following properties is set to true: CHART_SCALEFIX, CHART_SCALEFIX_11 or CHART_SCALE_PT_PER_BAR |
||
Scale in points per bar |
||
Chart maximum |
||
Chart minimum |
||
Scale |
||
Scale to be specified in points per bar |
||
Fixed scale mode |
||
Scale 1:1 mode |
||
Mode of price chart indent from the right border |
||
The size of the zero bar indent from the right border in percents |
||
Display Ask values as a horizontal line in a chart |
||
Display Bid values as a horizontal line in a chart |
||
Showing the time scale on a chart |
||
Display grid in the chart |
||
Display Last values as a horizontal line in a chart |
||
Pop-up descriptions of graphical objects |
||
Show OHLC values in the upper left corner |
||
Showing the "One click trading" panel on a chart |
||
Display vertical separators between adjacent periods |
||
Showing the price scale on a chart |
||
Displaying trade levels in the chart (levels of open positions, Stop Loss, Take Profit and pending orders) |
||
Display volume in the chart |
||
The number of bars on the chart that can be displayed |
||
CHART_VOLUME_HIDE |
Volumes are not shown |
|
CHART_VOLUME_REAL |
Trade volumes |
|
CHART_VOLUME_TICK |
Tick volumes |
|
Chart width in bars |
||
Chart width in pixels |
||
Chart window handle (HWND) |
||
Visibility of subwindows |
||
The distance between the upper frame of the indicator subwindow and the upper frame of the main chart window, along the vertical Y axis, in pixels. In case of a mouse event, the cursor coordinates are passed in terms of the coordinates of the main chart window, while the coordinates of graphical objects in an indicator subwindow are set relative to the upper left corner of the subwindow. The value is required for converting the absolute coordinates of the main chart to the local coordinates of a subwindow for correct work with the graphical objects, whose coordinates are set relative to the upper left corner of the subwindow frame. |
||
The total number of chart windows, including indicator subwindows |
||
CHARTEVENT_CHART_CHANGE |
Change of the chart size or modification of chart properties through the Properties dialog |
|
CHARTEVENT_CLICK |
Clicking on a chart |
|
CHARTEVENT_CUSTOM |
Initial number of an event from a range of custom events |
|
CHARTEVENT_CUSTOM_LAST |
The final number of an event from a range of custom events |
|
CHARTEVENT_KEYDOWN |
Keystrokes |
|
CHARTEVENT_MOUSE_MOVE |
Mouse move, mouse clicks (if CHART_EVENT_MOUSE_MOVE=true is set for the chart) |
|
CHARTEVENT_OBJECT_CHANGE |
Graphical object property changed via the properties dialog |
|
CHARTEVENT_OBJECT_CLICK |
Clicking on a graphical object |
|
CHARTEVENT_OBJECT_CREATE |
Graphical object created (if CHART_EVENT_OBJECT_CREATE=true is set for the chart) |
|
CHARTEVENT_OBJECT_DELETE |
Graphical object deleted (if CHART_EVENT_OBJECT_DELETE=true is set for the chart) |
|
CHARTEVENT_OBJECT_DRAG |
Drag and drop of a graphical object |
|
CHARTEVENT_OBJECT_ENDEDIT |
End of text editing in the graphical object Edit |
|
CHARTS_MAX |
The maximum possible number of simultaneously open charts in the terminal |
|
CHIKOUSPAN_LINE |
Chikou Span line |
|
clrAliceBlue |
Alice Blue |
|
clrAntiqueWhite |
Antique White |
|
clrAqua |
Aqua |
|
clrAquamarine |
Aquamarine |
|
clrBeige |
Beige |
|
clrBisque |
Bisque |
|
clrBlack |
Black |
|
clrBlanchedAlmond |
Blanched Almond |
|
clrBlue |
Blue |
|
clrBlueViolet |
Blue Violet |
|
clrBrown |
Brown |
|
clrBurlyWood |
Burly Wood |
|
clrCadetBlue |
Cadet Blue |
|
clrChartreuse |
Chartreuse |
|
clrChocolate |
Chocolate |
|
clrCoral |
Coral |
|
clrCornflowerBlue |
Cornflower Blue |
|
clrCornsilk |
Cornsilk |
|
clrCrimson |
Crimson |
|
clrDarkBlue |
Dark Blue |
|
clrDarkGoldenrod |
Dark Goldenrod |
|
clrDarkGray |
Dark Gray |
|
clrDarkGreen |
Dark Green |
|
clrDarkKhaki |
Dark Khaki |
|
clrDarkOliveGreen |
Dark Olive Green |
|
clrDarkOrange |
Dark Orange |
|
clrDarkOrchid |
Dark Orchid |
|
clrDarkSalmon |
Dark Salmon |
|
clrDarkSeaGreen |
Dark Sea Green |
|
clrDarkSlateBlue |
Dark Slate Blue |
|
clrDarkSlateGray |
Dark Slate Gray |
|
clrDarkTurquoise |
Dark Turquoise |
|
clrDarkViolet |
Dark Violet |
|
clrDeepPink |
Deep Pink |
|
clrDeepSkyBlue |
Deep Sky Blue |
|
clrDimGray |
Dim Gray |
|
clrDodgerBlue |
Dodger Blue |
|
clrFireBrick |
Fire Brick |
|
clrForestGreen |
Forest Green |
|
clrGainsboro |
Gainsboro |
|
clrGold |
Gold |
|
clrGoldenrod |
Goldenrod |
|
clrGray |
Gray |
|
clrGreen |
Green |
|
clrGreenYellow |
Green Yellow |
|
clrHoneydew |
Honeydew |
|
clrHotPink |
Hot Pink |
|
clrIndianRed |
Indian Red |
|
clrIndigo |
Indigo |
|
clrIvory |
Ivory |
|
clrKhaki |
Khaki |
|
clrLavender |
Lavender |
|
clrLavenderBlush |
Lavender Blush |
|
clrLawnGreen |
Lawn Green |
|
clrLemonChiffon |
Lemon Chiffon |
|
clrLightBlue |
Light Blue |
|
clrLightCoral |
Light Coral |
|
clrLightCyan |
Light Cyan |
|
clrLightGoldenrod |
Light Goldenrod |
|
clrLightGray |
Light Gray |
|
clrLightGreen |
Light Green |
|
clrLightPink |
Light Pink |
|
clrLightSalmon |
Light Salmon |
|
clrLightSeaGreen |
Light Sea Green |
|
clrLightSkyBlue |
Light Sky Blue |
|
clrLightSlateGray |
Light Slate Gray |
|
clrLightSteelBlue |
Light Steel Blue |
|
clrLightYellow |
Light Yellow |
|
clrLime |
Lime |
|
clrLimeGreen |
Lime Green |
|
clrLinen |
Linen |
|
clrMagenta |
Magenta |
|
clrMaroon |
Maroon |
|
clrMediumAquamarine |
Medium Aquamarine |
|
clrMediumBlue |
Medium Blue |
|
clrMediumOrchid |
Medium Orchid |
|
clrMediumPurple |
Medium Purple |
|
clrMediumSeaGreen |
Medium Sea Green |
|
clrMediumSlateBlue |
Medium Slate Blue |
|
clrMediumSpringGreen |
Medium Spring Green |
|
clrMediumTurquoise |
Medium Turquoise |
|
clrMediumVioletRed |
Medium Violet Red |
|
clrMidnightBlue |
Midnight Blue |
|
clrMintCream |
Mint Cream |
|
clrMistyRose |
Misty Rose |
|
clrMoccasin |
Moccasin |
|
clrNavajoWhite |
Navajo White |
|
clrNavy |
Navy |
|
clrNONE |
Absence of color |
|
clrOldLace |
Old Lace |
|
clrOlive |
Olive |
|
clrOliveDrab |
Olive Drab |
|
clrOrange |
Orange |
|
clrOrangeRed |
Orange Red |
|
clrOrchid |
Orchid |
|
clrPaleGoldenrod |
Pale Goldenrod |
|
clrPaleGreen |
Pale Green |
|
clrPaleTurquoise |
Pale Turquoise |
|
clrPaleVioletRed |
Pale Violet Red |
|
clrPapayaWhip |
Papaya Whip |
|
clrPeachPuff |
Peach Puff |
|
clrPeru |
Peru |
|
clrPink |
Pink |
|
clrPlum |
Plum |
|
clrPowderBlue |
Powder Blue |
|
clrPurple |
Purple |
|
clrRed |
Red |
|
clrRosyBrown |
Rosy Brown |
|
clrRoyalBlue |
Royal Blue |
|
clrSaddleBrown |
Saddle Brown |
|
clrSalmon |
Salmon |
|
clrSandyBrown |
Sandy Brown |
|
clrSeaGreen |
Sea Green |
|
clrSeashell |
Seashell |
|
clrSienna |
Sienna |
|
clrSilver |
Silver |
|
clrSkyBlue |
Sky Blue |
|
clrSlateBlue |
Slate Blue |
|
clrSlateGray |
Slate Gray |
|
clrSnow |
Snow |
|
clrSpringGreen |
Spring Green |
|
clrSteelBlue |
Steel Blue |
|
clrTan |
Tan |
|
clrTeal |
Teal |
|
clrThistle |
Thistle |
|
clrTomato |
Tomato |
|
clrTurquoise |
Turquoise |
|
clrViolet |
Violet |
|
clrWheat |
Wheat |
|
clrWhite |
White |
|
clrWhiteSmoke |
White Smoke |
|
clrYellow |
Yellow |
|
clrYellowGreen |
Yellow Green |
|
CORNER_LEFT_LOWER |
Center of coordinates is in the lower left corner of the chart |
|
CORNER_LEFT_UPPER |
Center of coordinates is in the upper left corner of the chart |
|
CORNER_RIGHT_LOWER |
Center of coordinates is in the lower right corner of the chart |
|
CORNER_RIGHT_UPPER |
Center of coordinates is in the upper right corner of the chart |
|
CP_ACP |
The current Windows ANSI code page. |
|
CP_MACCP |
The current system Macintosh code page. Note: This value is mostly used in earlier created program codes and is of no use now, since modern Macintosh computers use Unicode for encoding. |
|
CP_OEMCP |
The current system OEM code page. |
|
CP_SYMBOL |
Symbol code page |
|
CP_THREAD_ACP |
The Windows ANSI code page for the current thread. |
|
CP_UTF7 |
UTF-7 code page. |
|
CP_UTF8 |
UTF-8 code page. |
|
CRYPT_AES128 |
AES encryption with 128 bit key (16 bytes) |
|
CRYPT_AES256 |
AES encryption with 256 bit key (32 bytes) |
|
CRYPT_ARCH_ZIP |
ZIP archives |
|
CRYPT_BASE64 |
BASE64 |
|
CRYPT_DES |
DES encryption with 56 bit key (7 bytes) |
|
CRYPT_HASH_MD5 |
MD5 HASH calculation |
|
CRYPT_HASH_SHA1 |
SHA1 HASH calculation |
|
CRYPT_HASH_SHA256 |
SHA256 HASH calculation |
|
DBL_DIG |
Number of significant decimal digits for double type |
|
DBL_EPSILON |
Minimal value, which satisfies the condition: 1.0+DBL_EPSILON != 1.0 (for double type) |
|
DBL_MANT_DIG |
Bits count in a mantissa for double type |
|
DBL_MAX |
Maximal value, which can be represented by double type |
|
DBL_MAX_10_EXP |
Maximal decimal value of exponent degree for double type |
|
DBL_MAX_EXP |
Maximal binary value of exponent degree for double type |
|
DBL_MIN |
Minimal positive value, which can be represented by double type |
|
DBL_MIN_10_EXP |
Minimal decimal value of exponent degree for double type |
|
DBL_MIN_EXP |
Minimal binary value of exponent degree for double type |
|
DEAL_COMMENT |
Deal comment |
|
DEAL_COMMISSION |
Deal commission |
|
DEAL_ENTRY |
Deal entry - entry in, entry out, reverse |
|
DEAL_ENTRY_IN |
Entry in |
|
DEAL_ENTRY_INOUT |
Reverse |
|
DEAL_ENTRY_OUT |
Entry out |
|
DEAL_MAGIC |
Deal magic number (see ORDER_MAGIC) |
|
DEAL_ORDER |
Deal order number |
|
DEAL_POSITION_ID |
Identifier of a position, in the opening, modification or change of which this deal took part. Each position has a unique identifier that is assigned to all deals executed for the symbol during the entire lifetime of the position. |
|
DEAL_PRICE |
Deal price |
|
DEAL_PROFIT |
Deal profit |
|
DEAL_SWAP |
Cumulative swap on close |
|
DEAL_SYMBOL |
Deal symbol |
|
DEAL_TIME |
Deal time |
|
DEAL_TIME_MSC |
The time of a deal execution in milliseconds since 01.01.1970 |
|
DEAL_TYPE |
Deal type |
|
DEAL_TYPE_BALANCE |
Balance |
|
DEAL_TYPE_BONUS |
Bonus |
|
DEAL_TYPE_BUY |
Buy |
|
DEAL_TYPE_BUY_CANCELED |
Canceled buy deal. There can be a situation when a previously executed buy deal is canceled. In this case, the type of the previously executed deal (DEAL_TYPE_BUY) is changed to DEAL_TYPE_BUY_CANCELED, and its profit/loss is zeroized. Previously obtained profit/loss is charged/withdrawn using a separated balance operation |
|
DEAL_TYPE_CHARGE |
Additional charge |
|
DEAL_TYPE_COMMISSION |
Additional commission |
|
DEAL_TYPE_COMMISSION_AGENT_DAILY |
Daily agent commission |
|
DEAL_TYPE_COMMISSION_AGENT_MONTHLY |
Monthly agent commission |
|
DEAL_TYPE_COMMISSION_DAILY |
Daily commission |
|
DEAL_TYPE_COMMISSION_MONTHLY |
Monthly commission |
|
DEAL_TYPE_CORRECTION |
Correction |
|
DEAL_TYPE_CREDIT |
Credit |
|
DEAL_TYPE_INTEREST |
Interest rate |
|
DEAL_TYPE_SELL |
Sell |
|
DEAL_TYPE_SELL_CANCELED |
Canceled sell deal. There can be a situation when a previously executed sell deal is canceled. In this case, the type of the previously executed deal (DEAL_TYPE_SELL) is changed to DEAL_TYPE_SELL_CANCELED, and its profit/loss is zeroized. Previously obtained profit/loss is charged/withdrawn using a separated balance operation |
|
DEAL_VOLUME |
Deal volume |
|
Drawing arrows |
||
Display as a sequence of bars |
||
Display as a sequence of candlesticks |
||
Drawing multicolored arrows |
||
Multicolored bars |
||
Multicolored candlesticks |
||
Multicolored histogram from the zero line |
||
Multicolored histogram of the two indicator buffers |
||
Multicolored line |
||
Multicolored section |
||
Multicolored ZigZag |
||
Color fill between the two levels |
||
Histogram from the zero line |
||
Histogram of the two indicator buffers |
||
Line |
||
Not drawn |
||
Section |
||
Style Zigzag allows vertical section on the bar |
||
ELLIOTT_CYCLE |
Cycle |
|
ELLIOTT_GRAND_SUPERCYCLE |
Grand Supercycle |
|
ELLIOTT_INTERMEDIATE |
Intermediate |
|
ELLIOTT_MINOR |
Minor |
|
ELLIOTT_MINUETTE |
Minuette |
|
ELLIOTT_MINUTE |
Minute |
|
ELLIOTT_PRIMARY |
Primary |
|
ELLIOTT_SUBMINUETTE |
Subminuette |
|
ELLIOTT_SUPERCYCLE |
Supercycle |
|
EMPTY_VALUE |
Empty value in an indicator buffer |
|
ERR_ACCOUNT_WRONG_PROPERTY |
Wrong account property ID |
|
ERR_ARRAY_BAD_SIZE |
Requested array size exceeds 2 GB |
|
ERR_ARRAY_RESIZE_ERROR |
Not enough memory for the relocation of an array, or an attempt to change the size of a static array |
|
ERR_BOOKS_CANNOT_ADD |
Depth Of Market can not be added |
|
ERR_BOOKS_CANNOT_DELETE |
Depth Of Market can not be removed |
|
ERR_BOOKS_CANNOT_GET |
The data from Depth Of Market can not be obtained |
|
ERR_BOOKS_CANNOT_SUBSCRIBE |
Error in subscribing to receive new data from Depth Of Market |
|
ERR_BUFFERS_NO_MEMORY |
Not enough memory for the distribution of indicator buffers |
|
ERR_BUFFERS_WRONG_INDEX |
Wrong indicator buffer index |
|
ERR_CANNOT_CLEAN_DIRECTORY |
Failed to clear the directory (probably one or more files are blocked and removal operation failed) |
|
ERR_CANNOT_DELETE_DIRECTORY |
The directory cannot be removed |
|
ERR_CANNOT_DELETE_FILE |
File deleting error |
|
ERR_CANNOT_OPEN_FILE |
File opening error |
|
ERR_CHAR_ARRAY_ONLY |
Must be an array of type char |
|
ERR_CHART_CANNOT_CHANGE |
Failed to change chart symbol and period |
|
ERR_CHART_CANNOT_CREATE_TIMER |
Failed to create timer |
|
ERR_CHART_CANNOT_OPEN |
Chart opening error |
|
ERR_CHART_INDICATOR_CANNOT_ADD |
Error adding an indicator to chart |
|
ERR_CHART_INDICATOR_CANNOT_DEL |
Error deleting an indicator from the chart |
|
ERR_CHART_INDICATOR_NOT_FOUND |
Indicator not found on the specified chart |
|
ERR_CHART_NAVIGATE_FAILED |
Error navigating through chart |
|
ERR_CHART_NO_EXPERT |
No Expert Advisor in the chart that could handle the event |
|
ERR_CHART_NO_REPLY |
Chart does not respond |
|
ERR_CHART_NOT_FOUND |
Chart not found |
|
ERR_CHART_SCREENSHOT_FAILED |
Error creating screenshots |
|
ERR_CHART_TEMPLATE_FAILED |
Error applying template |
|
ERR_CHART_WINDOW_NOT_FOUND |
Subwindow containing the indicator was not found |
|
ERR_CHART_WRONG_ID |
Wrong chart ID |
|
ERR_CHART_WRONG_PARAMETER |
Error value of the parameter for the function of working with charts |
|
ERR_CHART_WRONG_PROPERTY |
Wrong chart property ID |
|
ERR_CUSTOM_WRONG_PROPERTY |
Wrong ID of the custom indicator property |
|
ERR_DIRECTORY_NOT_EXIST |
Directory does not exist |
|
ERR_DOUBLE_ARRAY_ONLY |
Must be an array of type double |
|
ERR_FILE_BINSTRINGSIZE |
String size must be specified, because the file is opened as binary |
|
ERR_FILE_CACHEBUFFER_ERROR |
Not enough memory for cache to read |
|
ERR_FILE_CANNOT_REWRITE |
File can not be rewritten |
|
ERR_FILE_IS_DIRECTORY |
This is not a file, this is a directory |
|
ERR_FILE_ISNOT_DIRECTORY |
This is a file, not a directory |
|
ERR_FILE_NOT_EXIST |
File does not exist |
|
ERR_FILE_NOTBIN |
The file must be opened as a binary one |
|
ERR_FILE_NOTCSV |
The file must be opened as CSV |
|
ERR_FILE_NOTTOREAD |
The file must be opened for reading |
|
ERR_FILE_NOTTOWRITE |
The file must be opened for writing |
|
ERR_FILE_NOTTXT |
The file must be opened as a text |
|
ERR_FILE_NOTTXTORCSV |
The file must be opened as a text or CSV |
|
ERR_FILE_READERROR |
File reading error |
|
ERR_FILE_WRITEERROR |
Failed to write a resource to a file |
|
ERR_FLOAT_ARRAY_ONLY |
Must be an array of type float |
|
ERR_FTP_SEND_FAILED |
File sending via ftp failed |
|
ERR_FUNCTION_NOT_ALLOWED |
Function is not allowed for call |
|
ERR_GLOBALVARIABLE_EXISTS |
Global variable of the client terminal with the same name already exists |
|
ERR_GLOBALVARIABLE_NOT_FOUND |
Global variable of the client terminal is not found |
|
ERR_HISTORY_NOT_FOUND |
Requested history not found |
|
ERR_HISTORY_WRONG_PROPERTY |
Wrong ID of the history property |
|
ERR_INCOMPATIBLE_ARRAYS |
Copying incompatible arrays. String array can be copied only to a string array, and a numeric array - in numeric array only |
|
ERR_INCOMPATIBLE_FILE |
A text file must be for string arrays, for other arrays - binary |
|
ERR_INDICATOR_CANNOT_ADD |
Error applying an indicator to chart |
|
ERR_INDICATOR_CANNOT_APPLY |
The indicator cannot be applied to another indicator |
|
ERR_INDICATOR_CANNOT_CREATE |
Indicator cannot be created |
|
ERR_INDICATOR_CUSTOM_NAME |
The first parameter in the array must be the name of the custom indicator |
|
ERR_INDICATOR_DATA_NOT_FOUND |
Requested data not found |
|
ERR_INDICATOR_NO_MEMORY |
Not enough memory to add the indicator |
|
ERR_INDICATOR_PARAMETER_TYPE |
Invalid parameter type in the array when creating an indicator |
|
ERR_INDICATOR_PARAMETERS_MISSING |
No parameters when creating an indicator |
|
ERR_INDICATOR_UNKNOWN_SYMBOL |
Unknown symbol |
|
ERR_INDICATOR_WRONG_HANDLE |
Wrong indicator handle |
|
ERR_INDICATOR_WRONG_INDEX |
Wrong index of the requested indicator buffer |
|
ERR_INDICATOR_WRONG_PARAMETERS |
Wrong number of parameters when creating an indicator |
|
ERR_INT_ARRAY_ONLY |
Must be an array of type int |
|
ERR_INTERNAL_ERROR |
Unexpected internal error |
|
ERR_INVALID_ARRAY |
Array of a wrong type, wrong size, or a damaged object of a dynamic array |
|
ERR_INVALID_DATETIME |
Invalid date and/or time |
|
ERR_INVALID_FILEHANDLE |
A file with this handle was closed, or was not opening at all |
|
ERR_INVALID_PARAMETER |
Wrong parameter when calling the system function |
|
ERR_INVALID_POINTER |
Wrong pointer |
|
ERR_INVALID_POINTER_TYPE |
Wrong type of pointer |
|
ERR_LONG_ARRAY_ONLY |
Must be an array of type long |
|
ERR_MAIL_SEND_FAILED |
Email sending failed |
|
ERR_MARKET_LASTTIME_UNKNOWN |
Time of the last tick is not known (no ticks) |
|
ERR_MARKET_NOT_SELECTED |
Symbol is not selected in MarketWatch |
|
ERR_MARKET_SELECT_ERROR |
Error adding or deleting a symbol in MarketWatch |
|
ERR_MARKET_UNKNOWN_SYMBOL |
Unknown symbol |
|
ERR_MARKET_WRONG_PROPERTY |
Wrong identifier of a symbol property |
|
ERR_MQL5_WRONG_PROPERTY |
Wrong identifier of the program property |
|
ERR_NO_STRING_DATE |
No date in the string |
|
ERR_NOT_ENOUGH_MEMORY |
Not enough memory to perform the system function |
|
ERR_NOTIFICATION_SEND_FAILED |
Failed to send a notification |
|
ERR_NOTIFICATION_TOO_FREQUENT |
Too frequent sending of notifications |
|
ERR_NOTIFICATION_WRONG_PARAMETER |
Invalid parameter for sending a notification – an empty string or NULL has been passed to the SendNotification() function |
|
ERR_NOTIFICATION_WRONG_SETTINGS |
Wrong settings of notifications in the terminal (ID is not specified or permission is not set) |
|
ERR_NOTINITIALIZED_STRING |
Not initialized string |
|
ERR_NUMBER_ARRAYS_ONLY |
Must be a numeric array |
|
ERR_OBJECT_ERROR |
Error working with a graphical object |
|
ERR_OBJECT_GETDATE_FAILED |
Unable to get date corresponding to the value |
|
ERR_OBJECT_GETVALUE_FAILED |
Unable to get value corresponding to the date |
|
ERR_OBJECT_NOT_FOUND |
Graphical object was not found |
|
ERR_OBJECT_WRONG_PROPERTY |
Wrong ID of a graphical object property |
|
ERR_ONEDIM_ARRAYS_ONLY |
Must be a one-dimensional array |
|
ERR_OPENCL_BUFFER_CREATE |
Failed to create an OpenCL buffer |
|
ERR_OPENCL_CONTEXT_CREATE |
Error creating the OpenCL context |
|
ERR_OPENCL_EXECUTE |
OpenCL program runtime error |
|
ERR_OPENCL_INTERNAL |
Internal error occurred when running OpenCL |
|
ERR_OPENCL_INVALID_HANDLE |
Invalid OpenCL handle |
|
ERR_OPENCL_KERNEL_CREATE |
Error creating an OpenCL kernel |
|
ERR_OPENCL_NOT_SUPPORTED |
OpenCL functions are not supported on this computer |
|
ERR_OPENCL_PROGRAM_CREATE |
Error occurred when compiling an OpenCL program |
|
ERR_OPENCL_QUEUE_CREATE |
Failed to create a run queue in OpenCL |
|
ERR_OPENCL_SET_KERNEL_PARAMETER |
Error occurred when setting parameters for the OpenCL kernel |
|
ERR_OPENCL_TOO_LONG_KERNEL_NAME |
Too long kernel name (OpenCL kernel) |
|
ERR_OPENCL_WRONG_BUFFER_OFFSET |
Invalid offset in the OpenCL buffer |
|
ERR_OPENCL_WRONG_BUFFER_SIZE |
Invalid size of the OpenCL buffer |
|
ERR_PLAY_SOUND_FAILED |
Sound playing failed |
|
ERR_RESOURCE_NAME_DUPLICATED |
||
ERR_RESOURCE_NAME_IS_TOO_LONG |
The resource name exceeds 63 characters |
|
ERR_RESOURCE_NOT_FOUND |
Resource with this name has not been found in EX5 |
|
ERR_RESOURCE_UNSUPPORTED_TYPE |
Unsupported resource type or its size exceeds 16 Mb |
|
ERR_SERIES_ARRAY |
Timeseries cannot be used |
|
ERR_SHORT_ARRAY_ONLY |
Must be an array of type short |
|
ERR_SMALL_ARRAY |
Too small array, the starting position is outside the array |
|
ERR_SMALL_ASSERIES_ARRAY |
The receiving array is declared as AS_SERIES, and it is of insufficient size |
|
ERR_STRING_OUT_OF_MEMORY |
Not enough memory for the string |
|
ERR_STRING_RESIZE_ERROR |
Not enough memory for the relocation of string |
|
ERR_STRING_SMALL_LEN |
The string length is less than expected |
|
ERR_STRING_TIME_ERROR |
Error converting string to date |
|
ERR_STRING_TOO_BIGNUMBER |
Too large number, more than ULONG_MAX |
|
ERR_STRING_UNKNOWNTYPE |
Unknown data type when converting to a string |
|
ERR_STRING_ZEROADDED |
0 added to the string end, a useless operation |
|
ERR_STRINGPOS_OUTOFRANGE |
Position outside the string |
|
ERR_STRUCT_WITHOBJECTS_ORCLASS |
The structure contains objects of strings and/or dynamic arrays and/or structure of such objects and/or classes |
|
ERR_SUCCESS |
The operation completed successfully |
|
ERR_TERMINAL_WRONG_PROPERTY |
Wrong identifier of the terminal property |
|
ERR_TOO_LONG_FILENAME |
Too long file name |
|
ERR_TOO_MANY_FILES |
More than 64 files cannot be opened at the same time |
|
ERR_TOO_MANY_FORMATTERS |
Amount of format specifiers more than the parameters |
|
ERR_TOO_MANY_PARAMETERS |
Amount of parameters more than the format specifiers |
|
ERR_TRADE_DEAL_NOT_FOUND |
Deal not found |
|
ERR_TRADE_DISABLED |
Trading by Expert Advisors prohibited |
|
ERR_TRADE_ORDER_NOT_FOUND |
Order not found |
|
ERR_TRADE_POSITION_NOT_FOUND |
Position not found |
|
ERR_TRADE_SEND_FAILED |
Trade request sending failed |
|
ERR_TRADE_WRONG_PROPERTY |
Wrong trade property ID |
|
ERR_USER_ERROR_FIRST |
User defined errors start with this code |
|
ERR_WEBREQUEST_CONNECT_FAILED |
Failed to connect to specified URL |
|
ERR_WEBREQUEST_INVALID_ADDRESS |
Invalid URL |
|
ERR_WEBREQUEST_REQUEST_FAILED |
HTTP request failed |
|
ERR_WEBREQUEST_TIMEOUT |
Timeout exceeded |
|
ERR_WRONG_DIRECTORYNAME |
Wrong directory name |
|
ERR_WRONG_FILEHANDLE |
Wrong file handle |
|
ERR_WRONG_FILENAME |
Invalid file name |
|
ERR_WRONG_FORMATSTRING |
Invalid format string |
|
ERR_WRONG_INTERNAL_PARAMETER |
Wrong parameter in the inner call of the client terminal function |
|
ERR_WRONG_STRING_DATE |
Wrong date in the string |
|
ERR_WRONG_STRING_OBJECT |
Damaged string object |
|
ERR_WRONG_STRING_PARAMETER |
Damaged parameter of string type |
|
ERR_WRONG_STRING_TIME |
Wrong time in the string |
|
ERR_ZEROSIZE_ARRAY |
An array of zero length |
|
FILE_ACCESS_DATE |
Date of the last access to the file |
|
FILE_ANSI |
Strings of ANSI type (one byte symbols). Flag is used in FileOpen(). |
|
FILE_BIN |
Binary read/write mode (without string to string conversion). Flag is used in FileOpen(). |
|
FILE_COMMON |
The file path in the common folder of all client terminals \Terminal\Common\Files. Flag is used in FileOpen(), FileCopy(), FileMove() and in FileIsExist() functions. |
|
FILE_CREATE_DATE |
Date of creation |
|
FILE_CSV |
CSV file (all its elements are converted to strings of the appropriate type, Unicode or ANSI, and separated by separator). Flag is used in FileOpen(). |
|
FILE_END |
Get the end of file sign |
|
FILE_EXISTS |
Check the existence |
|
FILE_IS_ANSI |
The file is opened as ANSI (see FILE_ANSI) |
|
FILE_IS_BINARY |
The file is opened as a binary file (see FILE_BIN) |
|
FILE_IS_COMMON |
The file is opened in a shared folder of all terminals (see FILE_COMMON) |
|
FILE_IS_CSV |
The file is opened as CSV (see FILE_CSV) |
|
FILE_IS_READABLE |
The opened file is readable (see FILE_READ) |
|
FILE_IS_TEXT |
The file is opened as a text file (see FILE_TXT) |
|
FILE_IS_WRITABLE |
The opened file is writable (see FILE_WRITE) |
|
FILE_LINE_END |
Get the end of line sign |
|
FILE_MODIFY_DATE |
Date of the last modification |
|
FILE_POSITION |
Position of a pointer in the file |
|
FILE_READ |
File is opened for reading. Flag is used in FileOpen(). When opening a file specification of FILE_WRITE and/or FILE_READ is required. |
|
FILE_REWRITE |
Possibility for the file rewrite using functions FileCopy() and FileMove(). The file should exist or should be opened for writing, otherwise the file will not be opened. |
|
FILE_SHARE_READ |
Shared access for reading from several programs. Flag is used in FileOpen(), but it does not replace the necessity to indicate FILE_WRITE and/or the FILE_READ flag when opening a file. |
|
FILE_SHARE_WRITE |
Shared access for writing from several programs. Flag is used in FileOpen(), but it does not replace the necessity to indicate FILE_WRITE and/or the FILE_READ flag when opening a file. |
|
FILE_SIZE |
File size in bytes |
|
FILE_TXT |
Simple text file (the same as csv file, but without taking into account the separators). Flag is used in FileOpen(). |
|
FILE_UNICODE |
Strings of UNICODE type (two byte symbols). Flag is used in FileOpen(). |
|
FILE_WRITE |
File is opened for writing. Flag is used in FileOpen(). When opening a file specification of FILE_WRITE and/or FILE_READ is required. |
|
FLT_DIG |
Number of significant decimal digits for float type |
|
FLT_EPSILON |
Minimal value, which satisfies the condition: 1.0+DBL_EPSILON != 1.0 (for float type) |
|
FLT_MANT_DIG |
Bits count in a mantissa for float type |
|
FLT_MAX |
Maximal value, which can be represented by float type |
|
FLT_MAX_10_EXP |
Maximal decimal value of exponent degree for float type |
|
FLT_MAX_EXP |
Maximal binary value of exponent degree for float type |
|
FLT_MIN |
Minimal positive value, which can be represented by float type |
|
FLT_MIN_10_EXP |
Minimal decimal value of exponent degree for float type |
|
FLT_MIN_EXP |
Minimal binary value of exponent degree for float type |
|
FRIDAY |
Friday |
SymbolInfoInteger, SymbolInfoSessionQuote, SymbolInfoSessionTrade |
GANN_DOWN_TREND |
Line corresponding to the downward trend |
|
GANN_UP_TREND |
Line corresponding to the uptrend line |
|
GATORJAW_LINE |
Jaw line |
|
GATORLIPS_LINE |
Lips line |
|
GATORTEETH_LINE |
Teeth line |
|
IDABORT |
"Abort" button has been pressed |
|
IDCANCEL |
"Cancel" button has been pressed |
|
IDCONTINUE |
"Continue" button has been pressed |
|
IDIGNORE |
"Ignore" button has been pressed |
|
IDNO |
"No" button has been pressed |
|
IDOK |
"OK" button has been pressed |
|
IDRETRY |
"Retry" button has been pressed |
|
IDTRYAGAIN |
"Try Again" button has been pressed |
|
IDYES |
"Yes" button has been pressed |
|
IND_AC |
Accelerator Oscillator |
|
IND_AD |
Accumulation/Distribution |
|
IND_ADX |
Average Directional Index |
|
IND_ADXW |
ADX by Welles Wilder |
|
IND_ALLIGATOR |
Alligator |
|
IND_AMA |
Adaptive Moving Average |
|
IND_AO |
Awesome Oscillator |
|
IND_ATR |
Average True Range |
|
IND_BANDS |
Bollinger Bands® |
|
IND_BEARS |
Bears Power |
|
IND_BULLS |
Bulls Power |
|
IND_BWMFI |
Market Facilitation Index |
|
IND_CCI |
Commodity Channel Index |
|
IND_CHAIKIN |
Chaikin Oscillator |
|
IND_CUSTOM |
Custom indicator |
|
IND_DEMA |
Double Exponential Moving Average |
|
IND_DEMARKER |
DeMarker |
|
IND_ENVELOPES |
Envelopes |
|
IND_FORCE |
Force Index |
|
IND_FRACTALS |
Fractals |
|
IND_FRAMA |
Fractal Adaptive Moving Average |
|
IND_GATOR |
Gator Oscillator |
|
IND_ICHIMOKU |
Ichimoku Kinko Hyo |
|
IND_MA |
Moving Average |
|
IND_MACD |
MACD |
|
IND_MFI |
Money Flow Index |
|
IND_MOMENTUM |
Momentum |
|
IND_OBV |
On Balance Volume |
|
IND_OSMA |
OsMA |
|
IND_RSI |
Relative Strength Index |
|
IND_RVI |
Relative Vigor Index |
|
IND_SAR |
Parabolic SAR |
|
IND_STDDEV |
Standard Deviation |
|
IND_STOCHASTIC |
Stochastic Oscillator |
|
IND_TEMA |
Triple Exponential Moving Average |
|
IND_TRIX |
Triple Exponential Moving Averages Oscillator |
|
IND_VIDYA |
Variable Index Dynamic Average |
|
IND_VOLUMES |
Volumes |
|
IND_WPR |
Williams' Percent Range |
|
INDICATOR_CALCULATIONS |
Auxiliary buffers for intermediate calculations |
|
INDICATOR_COLOR_INDEX |
Color |
|
INDICATOR_DATA |
Data to draw |
|
INDICATOR_DIGITS |
Accuracy of drawing of indicator values |
|
INDICATOR_HEIGHT |
Fixed height of the indicator's window (the preprocessor command #property indicator_height) |
|
INDICATOR_LEVELCOLOR |
Color of the level line |
|
INDICATOR_LEVELS |
Number of levels in the indicator window |
|
INDICATOR_LEVELSTYLE |
Style of the level line |
|
INDICATOR_LEVELTEXT |
Level description |
|
INDICATOR_LEVELVALUE |
Level value |
|
INDICATOR_LEVELWIDTH |
Thickness of the level line |
|
INDICATOR_MAXIMUM |
Maximum of the indicator window |
|
INDICATOR_MINIMUM |
Minimum of the indicator window |
|
INDICATOR_SHORTNAME |
Short indicator name |
|
INT_MAX |
Maximal value, which can be represented by int type |
|
INT_MIN |
Minimal value, which can be represented by int type |
|
INVALID_HANDLE |
Incorrect handle |
|
IS_DEBUG_MODE |
Flag that a mq5-program operates in debug mode |
|
IS_PROFILE_MODE |
Flag that a mq5-program operates in profiling mode |
|
KIJUNSEN_LINE |
Kijun-sen line |
|
LICENSE_DEMO |
A trial version of a paid product from the Market. It works only in the strategy tester |
|
LICENSE_FREE |
A free unlimited version |
|
LICENSE_FULL |
A purchased licensed version allows at least 5 activations. The number of activations is specified by seller. Seller may increase the allowed number of activations |
|
LICENSE_TIME |
A version with a limited term license |
|
LONG_MAX |
Maximal value, which can be represented by long type |
|
LONG_MIN |
Minimal value, which can be represented by long type |
|
LOWER_BAND |
Lower limit |
|
LOWER_HISTOGRAM |
Bottom histogram |
|
LOWER_LINE |
Bottom line |
|
M_1_PI |
1/pi |
|
M_2_PI |
2/pi |
|
M_2_SQRTPI |
2/sqrt(pi) |
|
M_E |
e |
|
M_LN10 |
ln(10) |
|
M_LN2 |
ln(2) |
|
M_LOG10E |
log10(e) |
|
M_LOG2E |
log2(e) |
|
M_PI |
pi |
|
M_PI_2 |
pi/2 |
|
M_PI_4 |
pi/4 |
|
M_SQRT1_2 |
1/sqrt(2) |
|
M_SQRT2 |
sqrt(2) |
|
MAIN_LINE |
Main line |
|
MB_ABORTRETRYIGNORE |
Message window contains three buttons: Abort, Retry and Ignore |
|
MB_CANCELTRYCONTINUE |
Message window contains three buttons: Cancel, Try Again, Continue |
|
MB_DEFBUTTON1 |
The first button MB_DEFBUTTON1 - is default, if the other buttons MB_DEFBUTTON2, MB_DEFBUTTON3, or MB_DEFBUTTON4 are not specified |
|
MB_DEFBUTTON2 |
The second button is default |
|
MB_DEFBUTTON3 |
The third button is default |
|
MB_DEFBUTTON4 |
The fourth button is default |
|
MB_ICONEXCLAMATION, MB_ICONWARNING |
The exclamation/warning sign icon |
|
MB_ICONINFORMATION, MB_ICONASTERISK |
The encircled i sign |
|
MB_ICONQUESTION |
The question sign icon |
|
MB_ICONSTOP, MB_ICONERROR, MB_ICONHAND |
The STOP sign icon |
|
MB_OK |
Message window contains only one button: OK. Default |
|
MB_OKCANCEL |
Message window contains two buttons: OK and Cancel |
|
MB_RETRYCANCEL |
Message window contains two buttons: Retry and Cancel |
|
MB_YESNO |
Message window contains two buttons: Yes and No |
|
MB_YESNOCANCEL |
Message window contains three buttons: Yes, No and Cancel |
|
MINUSDI_LINE |
Line –DI |
|
MODE_EMA |
Exponential averaging |
|
MODE_LWMA |
Linear-weighted averaging |
|
MODE_SMA |
Simple averaging |
|
MODE_SMMA |
Smoothed averaging |
|
MONDAY |
Monday |
SymbolInfoInteger, SymbolInfoSessionQuote, SymbolInfoSessionTrade |
MQL_DEBUG |
The flag, that indicates the debug mode |
|
MQL_DLLS_ALLOWED |
The permission to use DLL for the given executed program |
|
MQL_FRAME_MODE |
The flag, that indicates the Expert Advisor operating in gathering optimization result frames mode |
|
MQL_LICENSE_TYPE |
Type of license of the EX5 module. The license refers to the EX5 module, from which a request is made using MQLInfoInteger(MQL_LICENSE_TYPE). |
|
MQL_MEMORY_LIMIT |
Maximum possible amount of dynamic memory for MQL5 program in MB |
|
MQL_MEMORY_USED |
The memory size used by MQL5 program in MB |
|
MQL_OPTIMIZATION |
The flag, that indicates the optimization process |
|
MQL_PROFILER |
The flag, that indicates the program operating in the code profiling mode |
|
MQL_PROGRAM_NAME |
Name of the mql5-program executed |
|
MQL_PROGRAM_PATH |
Path for the given executed program |
|
MQL_PROGRAM_TYPE |
Type of the mql5 program |
|
MQL_SIGNALS_ALLOWED |
The permission to modify the Signals for the given executed program |
|
MQL_TESTER |
The flag, that indicates the tester process |
|
MQL_TRADE_ALLOWED |
The permission to trade for the given executed program |
|
MQL_VISUAL_MODE |
The flag, that indicates the visual tester process |
|
NULL |
Zero for any types |
|
OBJ_ALL_PERIODS |
The object is drawn in all timeframes |
|
Arrow |
||
Buy Sign |
||
Check Sign |
||
Arrow Down |
||
Left Price Label |
||
Right Price Label |
||
Sell Sign |
||
Stop Sign |
||
Thumbs Down |
||
Thumbs Up |
||
Arrow Up |
||
Arrowed Line |
||
Bitmap |
||
Bitmap Label |
||
Button |
||
Equidistant Channel |
||
Chart |
||
Cycle Lines |
||
Edit |
||
Elliott Correction Wave |
||
Elliott Motive Wave |
||
Ellipse |
||
The "Event" object corresponding to an event in the economic calendar |
||
Fibonacci Expansion |
||
Fibonacci Retracement |
||
Fibonacci Arcs |
||
Fibonacci Channel |
||
Fibonacci Fan |
||
Fibonacci Time Zones |
||
Gann Fan |
||
Gann Grid |
||
Gann Line |
||
Horizontal Line |
||
Label |
||
OBJ_NO_PERIODS |
The object is not drawn in all timeframes |
|
OBJ_PERIOD_D1 |
The object is drawn in day charts |
|
OBJ_PERIOD_H1 |
The object is drawn in 1-hour chart |
|
OBJ_PERIOD_H12 |
The object is drawn in 12-hour chart |
|
OBJ_PERIOD_H2 |
The object is drawn in 2-hour chart |
|
OBJ_PERIOD_H3 |
The object is drawn in 3-hour chart |
|
OBJ_PERIOD_H4 |
The object is drawn in 4-hour chart |
|
OBJ_PERIOD_H6 |
The object is drawn in 6-hour chart |
|
OBJ_PERIOD_H8 |
The object is drawn in 8-hour chart |
|
OBJ_PERIOD_M1 |
The object is drawn in 1-minute chart |
|
OBJ_PERIOD_M10 |
The object is drawn in 10-minute chart |
|
OBJ_PERIOD_M12 |
The object is drawn in 12-minute chart |
|
OBJ_PERIOD_M15 |
The object is drawn in 15-minute chart |
|
OBJ_PERIOD_M2 |
The object is drawn in 2-minute chart |
|
OBJ_PERIOD_M20 |
The object is drawn in 20-minute chart |
|
OBJ_PERIOD_M3 |
The object is drawn in 3-minute chart |
|
OBJ_PERIOD_M30 |
The object is drawn in 30-minute chart |
|
OBJ_PERIOD_M4 |
The object is drawn in 4-minute chart |
|
OBJ_PERIOD_M5 |
The object is drawn in 5-minute chart |
|
OBJ_PERIOD_M6 |
The object is drawn in 6-minute chart |
|
OBJ_PERIOD_MN1 |
The object is drawn in month charts |
|
OBJ_PERIOD_W1 |
The object is drawn in week charts |
|
Andrews’ Pitchfork |
||
Rectangle |
||
The "Rectangle label" object for creating and designing the custom graphical interface. |
||
Linear Regression Channel |
||
Standard Deviation Channel |
||
Text |
||
Trend Line |
||
Trend Line By Angle |
||
Triangle |
||
Vertical Line |
||
OBJPROP_ALIGN |
Horizontal text alignment in the "Edit" object (OBJ_EDIT) |
|
OBJPROP_ANCHOR |
Location of the anchor point of a graphical object |
|
OBJPROP_ANGLE |
Angle. For the objects with no angle specified, created from a program, the value is equal to EMPTY_VALUE |
|
OBJPROP_ARROWCODE |
Arrow code for the Arrow object |
|
OBJPROP_BACK |
Object in the background |
|
OBJPROP_BGCOLOR |
The background color for OBJ_EDIT, OBJ_BUTTON, OBJ_RECTANGLE_LABEL |
|
OBJPROP_BMPFILE |
The name of BMP-file for Bitmap Label. See also Resources |
|
OBJPROP_BORDER_COLOR |
Border color for the OBJ_EDIT and OBJ_BUTTON objects |
|
OBJPROP_BORDER_TYPE |
Border type for the "Rectangle label" object |
|
OBJPROP_CHART_ID |
ID of the "Chart" object (OBJ_CHART). It allows working with the properties of this object like with a normal chart using the functions described in Chart Operations, but there some exceptions. |
|
OBJPROP_CHART_SCALE |
The scale for the Chart object |
|
OBJPROP_COLOR |
Color |
|
OBJPROP_CORNER |
The corner of the chart to link a graphical object |
|
OBJPROP_CREATETIME |
Time of object creation |
|
OBJPROP_DATE_SCALE |
Displaying the time scale for the Chart object |
|
OBJPROP_DEGREE |
Level of the Elliott Wave Marking |
|
OBJPROP_DEVIATION |
Deviation for the Standard Deviation Channel |
|
OBJPROP_DIRECTION |
Trend of the Gann object |
|
OBJPROP_DRAWLINES |
Displaying lines for marking the Elliott Wave |
|
OBJPROP_ELLIPSE |
Showing the full ellipse of the Fibonacci Arc object (OBJ_FIBOARC) |
|
OBJPROP_FILL |
Fill an object with color (for OBJ_RECTANGLE, OBJ_TRIANGLE, OBJ_ELLIPSE, OBJ_CHANNEL, OBJ_STDDEVCHANNEL, OBJ_REGRESSION) |
|
OBJPROP_FONT |
Font |
|
OBJPROP_FONTSIZE |
Font size |
|
OBJPROP_HIDDEN |
Prohibit showing of the name of a graphical object in the list of objects from the terminal menu "Charts" - "Objects" - "List of objects". The true value allows to hide an object from the list. By default, true is set to the objects that display calendar events, trading history and to the objects created from MQL5 programs. To see such graphical objects and access their properties, click on the "All" button in the "List of objects" window. |
|
OBJPROP_LEVELCOLOR |
Color of the line-level |
|
OBJPROP_LEVELS |
Number of levels |
|
OBJPROP_LEVELSTYLE |
Style of the line-level |
|
OBJPROP_LEVELTEXT |
Level description |
|
OBJPROP_LEVELVALUE |
Level value |
|
OBJPROP_LEVELWIDTH |
Thickness of the line-level |
|
OBJPROP_NAME |
Object name |
|
OBJPROP_PERIOD |
Timeframe for the Chart object |
|
OBJPROP_PRICE |
Price coordinate |
|
OBJPROP_PRICE_SCALE |
Displaying the price scale for the Chart object |
|
OBJPROP_RAY |
A vertical line goes through all the windows of a chart |
|
OBJPROP_RAY_LEFT |
Ray goes to the left |
|
OBJPROP_RAY_RIGHT |
Ray goes to the right |
|
OBJPROP_READONLY |
Ability to edit text in the Edit object |
|
OBJPROP_SCALE |
Scale (properties of Gann objects and Fibonacci Arcs) |
|
OBJPROP_SELECTABLE |
Object availability |
|
OBJPROP_SELECTED |
Object is selected |
|
OBJPROP_STATE |
Button state (pressed / depressed) |
|
OBJPROP_STYLE |
Style |
|
OBJPROP_SYMBOL |
Symbol for the Chart object |
|
OBJPROP_TEXT |
Description of the object (the text contained in the object) |
|
OBJPROP_TIME |
Time coordinate |
|
OBJPROP_TIMEFRAMES |
Visibility of an object at timeframes |
|
OBJPROP_TOOLTIP |
The text of a tooltip. If the property is not set, then the tooltip generated automatically by the terminal is shown. A tooltip can be disabled by setting the "\n" (line feed) value to it |
|
OBJPROP_TYPE |
Object type |
|
OBJPROP_WIDTH |
Line thickness |
|
OBJPROP_XDISTANCE |
The distance in pixels along the X axis from the binding corner (see note) |
|
OBJPROP_XOFFSET |
The X coordinate of the upper left corner of the rectangular visible area in the graphical objects "Bitmap Label" and "Bitmap" (OBJ_BITMAP_LABEL and OBJ_BITMAP). The value is set in pixels relative to the upper left corner of the original image. |
|
OBJPROP_XSIZE |
The object's width along the X axis in pixels. Specified for OBJ_LABEL (read only), OBJ_BUTTON, OBJ_CHART, OBJ_BITMAP, OBJ_BITMAP_LABEL, OBJ_EDIT, OBJ_RECTANGLE_LABEL objects. |
|
OBJPROP_YDISTANCE |
The distance in pixels along the Y axis from the binding corner (see note) |
|
OBJPROP_YOFFSET |
The Y coordinate of the upper left corner of the rectangular visible area in the graphical objects "Bitmap Label" and "Bitmap" (OBJ_BITMAP_LABEL and OBJ_BITMAP). The value is set in pixels relative to the upper left corner of the original image. |
|
OBJPROP_YSIZE |
The object's height along the Y axis in pixels. Specified for OBJ_LABEL (read only), OBJ_BUTTON, OBJ_CHART, OBJ_BITMAP, OBJ_BITMAP_LABEL, OBJ_EDIT, OBJ_RECTANGLE_LABEL objects. |
|
OBJPROP_ZORDER |
Priority of a graphical object for receiving events of clicking on a chart (CHARTEVENT_CLICK). The default zero value is set when creating an object; the priority can be increased if necessary. When applying objects one over another, only one of them with the highest priority will receive the CHARTEVENT_CLICK event. |
|
ORDER_COMMENT |
Order comment |
|
ORDER_FILLING_FOK |
This filling policy means that an order can be filled only in the specified amount. If the necessary amount of a financial instrument is currently unavailable in the market, the order will not be executed. The required volume can be filled using several offers available on the market at the moment. |
|
ORDER_FILLING_IOC |
This mode means that a trader agrees to execute a deal with the volume maximally available in the market within that indicated in the order. In case the the entire volume of an order cannot be filled, the available volume of it will be filled, and the remaining volume will be canceled. |
|
ORDER_FILLING_RETURN |
This policy is used only for market orders (ORDER_TYPE_BUY and ORDER_TYPE_SELL), limit and stop limit orders (ORDER_TYPE_BUY_LIMIT, ORDER_TYPE_SELL_LIMIT, ORDER_TYPE_BUY_STOP_LIMIT and ORDER_TYPE_SELL_STOP_LIMIT ) and only for the symbols with Market or Exchange execution. In case of partial filling a market or limit order with remaining volume is not canceled but processed further. For the activation of the ORDER_TYPE_BUY_STOP_LIMIT and ORDER_TYPE_SELL_STOP_LIMIT orders, a corresponding limit order ORDER_TYPE_BUY_LIMIT/ORDER_TYPE_SELL_LIMIT with the ORDER_FILLING_RETURN execution type is created. |
|
ORDER_MAGIC |
ID of an Expert Advisor that has placed the order (designed to ensure that each Expert Advisor places its own unique number) |
|
ORDER_POSITION_ID |
Position identifier that is set to an order as soon as it is executed. Each executed order results in a deal that opens or modifies an already existing position. The identifier of exactly this position is set to the executed order at this moment. |
|
ORDER_PRICE_CURRENT |
The current price of the order symbol |
|
ORDER_PRICE_OPEN |
Price specified in the order |
|
ORDER_PRICE_STOPLIMIT |
The Limit order price for the StopLimit order |
|
ORDER_SL |
Stop Loss value |
|
ORDER_STATE |
Order state |
|
ORDER_STATE_CANCELED |
Order canceled by client |
|
ORDER_STATE_EXPIRED |
Order expired |
|
ORDER_STATE_FILLED |
Order fully executed |
|
ORDER_STATE_PARTIAL |
Order partially executed |
|
ORDER_STATE_PLACED |
Order accepted |
|
ORDER_STATE_REJECTED |
Order rejected |
|
ORDER_STATE_REQUEST_ADD |
Order is being registered (placing to the trading system) |
|
ORDER_STATE_REQUEST_CANCEL |
Order is being deleted (deleting from the trading system) |
|
ORDER_STATE_REQUEST_MODIFY |
Order is being modified (changing its parameters) |
|
ORDER_STATE_STARTED |
Order checked, but not yet accepted by broker |
|
ORDER_SYMBOL |
Symbol of the order |
|
ORDER_TIME_DAY |
Good till current trade day order |
|
ORDER_TIME_DONE |
Order execution or cancellation time |
|
ORDER_TIME_DONE_MSC |
Order execution/cancellation time in milliseconds since 01.01.1970 |
|
ORDER_TIME_EXPIRATION |
Order expiration time |
|
ORDER_TIME_GTC |
Good till cancel order |
|
ORDER_TIME_SETUP |
Order setup time |
|
ORDER_TIME_SETUP_MSC |
The time of placing an order for execution in milliseconds since 01.01.1970 |
|
ORDER_TIME_SPECIFIED |
Good till expired order |
|
ORDER_TIME_SPECIFIED_DAY |
The order will be effective till 23:59:59 of the specified day. If this time is outside a trading session, the order expires in the nearest trading time. |
|
ORDER_TP |
Take Profit value |
|
ORDER_TYPE |
Order type |
|
ORDER_TYPE_BUY |
Market Buy order |
|
ORDER_TYPE_BUY_LIMIT |
Buy Limit pending order |
|
ORDER_TYPE_BUY_STOP |
Buy Stop pending order |
|
ORDER_TYPE_BUY_STOP_LIMIT |
Upon reaching the order price, a pending Buy Limit order is placed at the StopLimit price |
|
ORDER_TYPE_FILLING |
Order filling type |
|
ORDER_TYPE_SELL |
Market Sell order |
|
ORDER_TYPE_SELL_LIMIT |
Sell Limit pending order |
|
ORDER_TYPE_SELL_STOP |
Sell Stop pending order |
|
ORDER_TYPE_SELL_STOP_LIMIT |
Upon reaching the order price, a pending Sell Limit order is placed at the StopLimit price |
|
ORDER_TYPE_TIME |
Order lifetime |
|
ORDER_VOLUME_CURRENT |
Order current volume |
|
ORDER_VOLUME_INITIAL |
Order initial volume |
|
PERIOD_CURRENT |
Current timeframe |
|
PERIOD_D1 |
1 day |
|
PERIOD_H1 |
1 hour |
|
PERIOD_H12 |
12 hours |
|
PERIOD_H2 |
2 hours |
|
PERIOD_H3 |
3 hours |
|
PERIOD_H4 |
4 hours |
|
PERIOD_H6 |
6 hours |
|
PERIOD_H8 |
8 hours |
|
PERIOD_M1 |
1 minute |
|
PERIOD_M10 |
10 minutes |
|
PERIOD_M12 |
12 minutes |
|
PERIOD_M15 |
15 minutes |
|
PERIOD_M2 |
2 minutes |
|
PERIOD_M20 |
20 minutes |
|
PERIOD_M3 |
3 minutes |
|
PERIOD_M30 |
30 minutes |
|
PERIOD_M4 |
4 minutes |
|
PERIOD_M5 |
5 minutes |
|
PERIOD_M6 |
6 minutes |
|
PERIOD_MN1 |
1 month |
|
PERIOD_W1 |
1 week |
|
PLOT_ARROW |
Arrow code for style DRAW_ARROW |
|
PLOT_ARROW_SHIFT |
Vertical shift of arrows for style DRAW_ARROW |
|
PLOT_COLOR_INDEXES |
The number of colors |
|
PLOT_DRAW_BEGIN |
Number of initial bars without drawing and values in the DataWindow |
|
PLOT_DRAW_TYPE |
Type of graphical construction |
|
PLOT_EMPTY_VALUE |
An empty value for plotting, for which there is no drawing |
|
PLOT_LABEL |
The name of the indicator graphical series to display in the DataWindow. When working with complex graphical styles requiring several indicator buffers for display, the names for each buffer can be specified using ";" as a separator. Sample code is shown in DRAW_CANDLES |
|
PLOT_LINE_COLOR |
The index of a buffer containing the drawing color |
|
PLOT_LINE_STYLE |
Drawing line style |
|
PLOT_LINE_WIDTH |
The thickness of the drawing line |
|
PLOT_SHIFT |
Shift of indicator plotting along the time axis in bars |
|
PLOT_SHOW_DATA |
Sign of display of construction values in the DataWindow |
|
PLUSDI_LINE |
Line +DI |
|
POINTER_AUTOMATIC |
Pointer of any objects created automatically (not using new()) |
|
POINTER_DYNAMIC |
Pointer of the object created by the new() operator |
|
POINTER_INVALID |
Incorrect pointer |
|
POSITION_COMMENT |
Position comment |
|
POSITION_COMMISSION |
Commission |
|
POSITION_IDENTIFIER |
Position identifier is a unique number that is assigned to every newly opened position and doesn't change during the entire lifetime of the position. Position turnover doesn't change its identifier. |
|
POSITION_MAGIC |
Position magic number (see ORDER_MAGIC) |
|
POSITION_PRICE_CURRENT |
Current price of the position symbol |
|
POSITION_PRICE_OPEN |
Position open price |
|
POSITION_PROFIT |
Current profit |
|
POSITION_SL |
Stop Loss level of opened position |
|
POSITION_SWAP |
Cumulative swap |
|
POSITION_SYMBOL |
Symbol of the position |
|
POSITION_TIME |
Position open time |
|
POSITION_TIME_MSC |
Position opening time in milliseconds since 01.01.1970 |
|
POSITION_TIME_UPDATE |
Position changing time in seconds since 01.01.1970 |
|
POSITION_TIME_UPDATE_MSC |
Position changing time in milliseconds since 01.01.1970 |
|
POSITION_TP |
Take Profit level of opened position |
|
POSITION_TYPE |
Position type |
|
POSITION_TYPE_BUY |
Buy |
|
POSITION_TYPE_SELL |
Sell |
|
POSITION_VOLUME |
Position volume |
|
PRICE_CLOSE |
Close price |
|
PRICE_HIGH |
The maximum price for the period |
|
PRICE_LOW |
The minimum price for the period |
|
PRICE_MEDIAN |
Median price, (high + low)/2 |
|
PRICE_OPEN |
Open price |
|
PRICE_TYPICAL |
Typical price, (high + low + close)/3 |
|
PRICE_WEIGHTED |
Average price, (high + low + close + close)/4 |
|
PROGRAM_EXPERT |
Expert |
|
PROGRAM_INDICATOR |
Indicator |
|
PROGRAM_SCRIPT |
Script |
|
REASON_ACCOUNT |
Another account has been activated or reconnection to the trade server has occurred due to changes in the account settings |
|
REASON_CHARTCHANGE |
Symbol or chart period has been changed |
|
REASON_CHARTCLOSE |
Chart has been closed |
|
REASON_CLOSE |
Terminal has been closed |
|
REASON_INITFAILED |
This value means that OnInit() handler has returned a nonzero value |
|
REASON_PARAMETERS |
Input parameters have been changed by a user |
|
REASON_PROGRAM |
Expert Advisor terminated its operation by calling the ExpertRemove() function |
|
REASON_RECOMPILE |
Program has been recompiled |
|
REASON_REMOVE |
Program has been deleted from the chart |
|
REASON_TEMPLATE |
A new template has been applied |
|
SATURDAY |
Saturday |
SymbolInfoInteger, SymbolInfoSessionQuote, SymbolInfoSessionTrade |
SEEK_CUR |
Current position of a file pointer |
|
SEEK_END |
File end |
|
SEEK_SET |
File beginning |
|
SENKOUSPANA_LINE |
Senkou Span A line |
|
SENKOUSPANB_LINE |
Senkou Span B line |
|
SERIES_BARS_COUNT |
Bars count for the symbol-period for the current moment |
|
SERIES_FIRSTDATE |
The very first date for the symbol-period for the current moment |
|
SERIES_LASTBAR_DATE |
Open time of the last bar of the symbol-period |
|
SERIES_SERVER_FIRSTDATE |
The very first date in the history of the symbol on the server regardless of the timeframe |
|
SERIES_SYNCHRONIZED |
Symbol/period data synchronization flag for the current moment |
|
SERIES_TERMINAL_FIRSTDATE |
The very first date in the history of the symbol in the client terminal, regardless of the timeframe |
|
SHORT_MAX |
Maximal value, which can be represented by short type |
|
SHORT_MIN |
Minimal value, which can be represented by short type |
|
SIGNAL_BASE_AUTHOR_LOGIN |
Author login |
|
SIGNAL_BASE_BALANCE |
Account balance |
|
SIGNAL_BASE_BROKER |
Broker name (company) |
|
SIGNAL_BASE_BROKER_SERVER |
Broker server |
|
SIGNAL_BASE_CURRENCY |
Signal base currency |
|
SIGNAL_BASE_DATE_PUBLISHED |
Publication date (date when it become available for subscription) |
|
SIGNAL_BASE_DATE_STARTED |
Monitoring starting date |
|
SIGNAL_BASE_EQUITY |
Account equity |
|
SIGNAL_BASE_GAIN |
Account gain |
|
SIGNAL_BASE_ID |
Signal ID |
|
SIGNAL_BASE_LEVERAGE |
Account leverage |
|
SIGNAL_BASE_MAX_DRAWDOWN |
Account maximum drawdown |
|
SIGNAL_BASE_NAME |
Signal name |
|
SIGNAL_BASE_PIPS |
Profit in pips |
|
SIGNAL_BASE_PRICE |
Signal subscription price |
|
SIGNAL_BASE_RATING |
Position in rating |
|
SIGNAL_BASE_ROI |
Return on Investment (%) |
|
SIGNAL_BASE_SUBSCRIBERS |
Number of subscribers |
|
SIGNAL_BASE_TRADE_MODE |
Account type (0-real, 1-demo, 2-contest) |
|
SIGNAL_BASE_TRADES |
Number of trades |
|
SIGNAL_INFO_CONFIRMATIONS_DISABLED |
The flag enables synchronization without confirmation dialog |
|
SIGNAL_INFO_COPY_SLTP |
Copy Stop Loss and Take Profit flag |
|
SIGNAL_INFO_DEPOSIT_PERCENT |
Deposit percent (%) |
|
SIGNAL_INFO_EQUITY_LIMIT |
Equity limit |
|
SIGNAL_INFO_ID |
Signal id, r/o |
|
SIGNAL_INFO_NAME |
Signal name, r/o |
|
SIGNAL_INFO_SLIPPAGE |
Slippage (used when placing market orders in synchronization of positions and copying of trades) |
|
SIGNAL_INFO_SUBSCRIPTION_ENABLED |
"Copy trades by subscription" permission flag |
|
SIGNAL_INFO_TERMS_AGREE |
"Agree to terms of use of Signals service" flag, r/o |
|
SIGNAL_INFO_VOLUME_PERCENT |
Maximum percent of deposit used (%), r/o |
|
SIGNAL_LINE |
Signal line |
|
STAT_BALANCE_DD |
Maximum balance drawdown in monetary terms. In the process of trading, a balance may have numerous drawdowns; here the largest value is taken |
|
STAT_BALANCE_DD_RELATIVE |
Balance drawdown in monetary terms that was recorded at the moment of the maximum balance drawdown as a percentage (STAT_BALANCE_DDREL_PERCENT). |
|
STAT_BALANCE_DDREL_PERCENT |
Maximum balance drawdown as a percentage. In the process of trading, a balance may have numerous drawdowns, for each of which the relative drawdown value in percents is calculated. The greatest value is returned |
|
STAT_BALANCEDD_PERCENT |
Balance drawdown as a percentage that was recorded at the moment of the maximum balance drawdown in monetary terms (STAT_BALANCE_DD). |
|
STAT_BALANCEMIN |
Minimum balance value |
|
STAT_CONLOSSMAX |
Maximum loss in a series of losing trades. The value is less than or equal to zero |
|
STAT_CONLOSSMAX_TRADES |
The number of trades that have formed STAT_CONLOSSMAX (maximum loss in a series of losing trades) |
|
STAT_CONPROFITMAX |
Maximum profit in a series of profitable trades. The value is greater than or equal to zero |
|
STAT_CONPROFITMAX_TRADES |
The number of trades that have formed STAT_CONPROFITMAX (maximum profit in a series of profitable trades) |
|
STAT_CUSTOM_ONTESTER |
The value of the calculated custom optimization criterion returned by the OnTester() function |
|
STAT_DEALS |
The number of deals |
|
STAT_EQUITY_DD |
Maximum equity drawdown in monetary terms. In the process of trading, numerous drawdowns may appear on the equity; here the largest value is taken |
|
STAT_EQUITY_DD_RELATIVE |
Equity drawdown in monetary terms that was recorded at the moment of the maximum equity drawdown in percent (STAT_EQUITY_DDREL_PERCENT). |
|
STAT_EQUITY_DDREL_PERCENT |
Maximum equity drawdown as a percentage. In the process of trading, an equity may have numerous drawdowns, for each of which the relative drawdown value in percents is calculated. The greatest value is returned |
|
STAT_EQUITYDD_PERCENT |
Drawdown in percent that was recorded at the moment of the maximum equity drawdown in monetary terms (STAT_EQUITY_DD). |
|
STAT_EQUITYMIN |
Minimum equity value |
|
STAT_EXPECTED_PAYOFF |
Expected payoff |
|
STAT_GROSS_LOSS |
Total loss, the sum of all negative trades. The value is less than or equal to zero |
|
STAT_GROSS_PROFIT |
Total profit, the sum of all profitable (positive) trades. The value is greater than or equal to zero |
|
STAT_INITIAL_DEPOSIT |
The value of the initial deposit |
|
STAT_LONG_TRADES |
Long trades |
|
STAT_LOSS_TRADES |
Losing trades |
|
STAT_LOSSTRADES_AVGCON |
Average length of a losing series of trades |
|
STAT_MAX_CONLOSS_TRADES |
The number of trades in the longest series of losing trades STAT_MAX_CONLOSSES |
|
STAT_MAX_CONLOSSES |
The total loss of the longest series of losing trades |
|
STAT_MAX_CONPROFIT_TRADES |
The number of trades in the longest series of profitable trades STAT_MAX_CONWINS |
|
STAT_MAX_CONWINS |
The total profit of the longest series of profitable trades |
|
STAT_MAX_LOSSTRADE |
Maximum loss – the lowest value of all losing trades. The value is less than or equal to zero |
|
STAT_MAX_PROFITTRADE |
Maximum profit – the largest value of all profitable trades. The value is greater than or equal to zero |
|
STAT_MIN_MARGINLEVEL |
Minimum value of the margin level |
|
STAT_PROFIT |
Net profit after testing, the sum of STAT_GROSS_PROFIT and STAT_GROSS_LOSS (STAT_GROSS_LOSS is always less than or equal to zero) |
|
STAT_PROFIT_FACTOR |
Profit factor, equal to the ratio of STAT_GROSS_PROFIT/STAT_GROSS_LOSS. If STAT_GROSS_LOSS=0, the profit factor is equal to DBL_MAX |
|
STAT_PROFIT_LONGTRADES |
Profitable long trades |
|
STAT_PROFIT_SHORTTRADES |
Profitable short trades |
|
STAT_PROFIT_TRADES |
Profitable trades |
|
STAT_PROFITTRADES_AVGCON |
Average length of a profitable series of trades |
|
STAT_RECOVERY_FACTOR |
Recovery factor, equal to the ratio of STAT_PROFIT/STAT_BALANCE_DD |
|
STAT_SHARPE_RATIO |
Sharpe ratio |
|
STAT_SHORT_TRADES |
Short trades |
|
STAT_TRADES |
The number of trades |
|
STAT_WITHDRAWAL |
Money withdrawn from an account |
|
STO_CLOSECLOSE |
Calculation is based on Close/Close prices |
|
STO_LOWHIGH |
Calculation is based on Low/High prices |
|
STYLE_DASH |
Broken line |
|
STYLE_DASHDOT |
Dash-dot line |
|
STYLE_DASHDOTDOT |
Dash - two points |
|
STYLE_DOT |
Dotted line |
|
STYLE_SOLID |
Solid line |
|
SUNDAY |
Sunday |
SymbolInfoInteger, SymbolInfoSessionQuote, SymbolInfoSessionTrade |
SYMBOL_ASK |
Ask - best buy offer |
|
SYMBOL_ASKHIGH |
Maximal Ask of the day |
|
SYMBOL_ASKLOW |
Minimal Ask of the day |
|
SYMBOL_BANK |
Feeder of the current quote |
|
SYMBOL_BASIS |
The underlying asset of a derivative |
|
SYMBOL_BID |
Bid - best sell offer |
|
SYMBOL_BIDHIGH |
Maximal Bid of the day |
|
SYMBOL_BIDLOW |
Minimal Bid of the day |
|
SYMBOL_CALC_MODE_CFD |
CFD mode - calculation of margin and profit for CFD |
|
SYMBOL_CALC_MODE_CFDINDEX |
CFD index mode - calculation of margin and profit for CFD by indexes |
|
SYMBOL_CALC_MODE_CFDLEVERAGE |
CFD Leverage mode - calculation of margin and profit for CFD at leverage trading |
|
SYMBOL_CALC_MODE_EXCH_FUTURES |
Futures mode – calculation of margin and profit for trading futures contracts on a stock exchange |
|
SYMBOL_CALC_MODE_EXCH_FUTURES_FORTS |
FORTS Futures mode – calculation of margin and profit for trading futures contracts on FORTS. |
|
SYMBOL_CALC_MODE_EXCH_STOCKS |
Exchange mode – calculation of margin and profit for trading securities on a stock exchange |
|
SYMBOL_CALC_MODE_FOREX |
Forex mode - calculation of profit and margin for Forex |
|
SYMBOL_CALC_MODE_FUTURES |
Futures mode - calculation of margin and profit for futures |
|
SYMBOL_CALC_MODE_SERV_COLLATERAL |
Collateral mode - a symbol is used as a non-tradable asset on a trading account. |
|
SYMBOL_CURRENCY_BASE |
Basic currency of a symbol |
|
SYMBOL_CURRENCY_MARGIN |
Margin currency |
|
SYMBOL_CURRENCY_PROFIT |
Profit currency |
|
SYMBOL_DESCRIPTION |
Symbol description |
|
SYMBOL_DIGITS |
Digits after a decimal point |
|
SYMBOL_EXPIRATION_DAY |
The order is valid till the end of the day |
|
SYMBOL_EXPIRATION_GTC |
The order is valid during the unlimited time period, until it is explicitly canceled |
|
SYMBOL_EXPIRATION_MODE |
Flags of allowed order expiration modes |
|
SYMBOL_EXPIRATION_SPECIFIED |
The expiration time is specified in the order |
|
SYMBOL_EXPIRATION_SPECIFIED_DAY |
The expiration date is specified in the order |
|
SYMBOL_EXPIRATION_TIME |
Date of the symbol trade end (usually used for futures) |
|
SYMBOL_FILLING_FOK |
This policy means that a deal can be executed only with the specified volume. If the necessary amount of a financial instrument is currently unavailable in the market, the order will not be executed. The required volume can be filled using several offers available on the market at the moment. |
|
SYMBOL_FILLING_IOC |
In this case a trader agrees to execute a deal with the volume maximally available in the market within that indicated in the order. In case the order cannot be filled completely, the available volume of the order will be filled, and the remaining volume will be canceled. The possibility of using IOC orders is determined at the trade server. |
|
SYMBOL_FILLING_MODE |
Flags of allowed order filling modes |
|
SYMBOL_ISIN |
The name of a symbol in the ISIN system (International Securities Identification Number). The International Securities Identification Number is a 12-digit alphanumeric code that uniquely identifies a security. The presence of this symbol property is determined on the side of a trade server. |
|
SYMBOL_LAST |
Price of the last deal |
|
SYMBOL_LASTHIGH |
Maximal Last of the day |
|
SYMBOL_LASTLOW |
Minimal Last of the day |
|
SYMBOL_MARGIN_INITIAL |
Initial margin means the amount in the margin currency required for opening a position with the volume of one lot. It is used for checking a client's assets when he or she enters the market. |
|
SYMBOL_MARGIN_MAINTENANCE |
The maintenance margin. If it is set, it sets the margin amount in the margin currency of the symbol, charged from one lot. It is used for checking a client's assets when his/her account state changes. If the maintenance margin is equal to 0, the initial margin is used. |
|
SYMBOL_OPTION_MODE |
Option type |
|
SYMBOL_OPTION_MODE_EUROPEAN |
European option may only be exercised on a specified date (expiration, execution date, delivery date) |
|
SYMBOL_OPTION_MODE_AMERICAN |
American option may be exercised on any trading day on or before expiry. The period within which a buyer can exercise the option is specified for it |
|
SYMBOL_OPTION_RIGHT |
Option right (Call/Put) |
|
SYMBOL_OPTION_RIGHT_CALL |
A call option gives you the right to buy an asset at a specified price |
|
SYMBOL_OPTION_RIGHT_PUT |
A put option gives you the right to sell an asset at a specified price |
|
SYMBOL_OPTION_STRIKE |
The strike price of an option. The price at which an option buyer can buy (in a Call option) or sell (in a Put option) the underlying asset, and the option seller is obliged to sell or buy the appropriate amount of the underlying asset. |
|
SYMBOL_ORDER_LIMIT |
Limit orders are allowed (Buy Limit and Sell Limit) |
|
SYMBOL_ORDER_MARKET |
Market orders are allowed (Buy and Sell) |
|
SYMBOL_ORDER_MODE |
Flags of allowed order types |
|
SYMBOL_ORDER_SL |
Stop Loss is allowed |
|
SYMBOL_ORDER_STOP |
Stop orders are allowed (Buy Stop and Sell Stop) |
|
SYMBOL_ORDER_STOP_LIMIT |
Stop-limit orders are allowed (Buy Stop Limit and Sell Stop Limit) |
|
SYMBOL_ORDER_TP |
Take Profit is allowed |
|
SYMBOL_PATH |
Path in the symbol tree |
|
SYMBOL_POINT |
Symbol point value |
|
SYMBOL_SELECT |
Symbol is selected in Market Watch |
|
SYMBOL_SESSION_AW |
Average weighted price of the current session |
|
SYMBOL_SESSION_BUY_ORDERS |
Number of Buy orders at the moment |
|
SYMBOL_SESSION_BUY_ORDERS_VOLUME |
Current volume of Buy orders |
|
SYMBOL_SESSION_CLOSE |
Close price of the current session |
|
SYMBOL_SESSION_DEALS |
Number of deals in the current session |
|
SYMBOL_SESSION_INTEREST |
Summary open interest |
|
SYMBOL_SESSION_OPEN |
Open price of the current session |
|
SYMBOL_SESSION_PRICE_LIMIT_MAX |
Maximal price of the current session |
|
SYMBOL_SESSION_PRICE_LIMIT_MIN |
Minimal price of the current session |
|
SYMBOL_SESSION_PRICE_SETTLEMENT |
Settlement price of the current session |
|
SYMBOL_SESSION_SELL_ORDERS |
Number of Sell orders at the moment |
|
SYMBOL_SESSION_SELL_ORDERS_VOLUME |
Current volume of Sell orders |
|
SYMBOL_SESSION_TURNOVER |
Summary turnover of the current session |
|
SYMBOL_SESSION_VOLUME |
Summary volume of current session deals |
|
SYMBOL_SPREAD |
Spread value in points |
|
SYMBOL_SPREAD_FLOAT |
Indication of a floating spread |
|
SYMBOL_START_TIME |
Date of the symbol trade beginning (usually used for futures) |
|
SYMBOL_SWAP_LONG |
Long swap value |
|
SYMBOL_SWAP_MODE |
Swap calculation model |
|
SYMBOL_SWAP_MODE_CURRENCY_DEPOSIT |
Swaps are charged in money, in client deposit currency |
|
SYMBOL_SWAP_MODE_CURRENCY_MARGIN |
Swaps are charged in money in margin currency of the symbol |
|
SYMBOL_SWAP_MODE_CURRENCY_SYMBOL |
Swaps are charged in money in base currency of the symbol |
|
SYMBOL_SWAP_MODE_DISABLED |
Swaps disabled (no swaps) |
|
SYMBOL_SWAP_MODE_INTEREST_CURRENT |
Swaps are charged as the specified annual interest from the instrument price at calculation of swap (standard bank year is 360 days) |
|
SYMBOL_SWAP_MODE_INTEREST_OPEN |
Swaps are charged as the specified annual interest from the open price of position (standard bank year is 360 days) |
|
SYMBOL_SWAP_MODE_POINTS |
Swaps are charged in points |
|
SYMBOL_SWAP_MODE_REOPEN_BID |
Swaps are charged by reopening positions. At the end of a trading day the position is closed. Next day it is reopened by the current Bid price +/- specified number of points (parameters SYMBOL_SWAP_LONG and SYMBOL_SWAP_SHORT) |
|
SYMBOL_SWAP_MODE_REOPEN_CURRENT |
Swaps are charged by reopening positions. At the end of a trading day the position is closed. Next day it is reopened by the close price +/- specified number of points (parameters SYMBOL_SWAP_LONG and SYMBOL_SWAP_SHORT) |
|
SYMBOL_SWAP_ROLLOVER3DAYS |
Day of week to charge 3 days swap rollover |
|
SYMBOL_SWAP_SHORT |
Short swap value |
|
SYMBOL_TICKS_BOOKDEPTH |
Maximal number of requests shown in Depth of Market. For symbols that have no queue of requests, the value is equal to zero. |
|
SYMBOL_TIME |
Time of the last quote |
|
SYMBOL_TRADE_CALC_MODE |
Contract price calculation mode |
|
SYMBOL_TRADE_CONTRACT_SIZE |
Trade contract size |
|
SYMBOL_TRADE_EXECUTION_EXCHANGE |
Exchange execution |
|
SYMBOL_TRADE_EXECUTION_INSTANT |
Instant execution |
|
SYMBOL_TRADE_EXECUTION_MARKET |
Market execution |
|
SYMBOL_TRADE_EXECUTION_REQUEST |
Execution by request |
|
SYMBOL_TRADE_EXEMODE |
Deal execution mode |
|
SYMBOL_TRADE_FREEZE_LEVEL |
Distance to freeze trade operations in points |
|
SYMBOL_TRADE_MODE |
Order execution type |
|
SYMBOL_TRADE_MODE_CLOSEONLY |
Allowed only position close operations |
|
SYMBOL_TRADE_MODE_DISABLED |
Trade is disabled for the symbol |
|
SYMBOL_TRADE_MODE_FULL |
No trade restrictions |
|
SYMBOL_TRADE_MODE_LONGONLY |
Allowed only long positions |
|
SYMBOL_TRADE_MODE_SHORTONLY |
Allowed only short positions |
|
SYMBOL_TRADE_STOPS_LEVEL |
Minimal indention in points from the current close price to place Stop orders |
|
SYMBOL_TRADE_TICK_SIZE |
Minimal price change |
|
SYMBOL_TRADE_TICK_VALUE |
Value of SYMBOL_TRADE_TICK_VALUE_PROFIT |
|
SYMBOL_TRADE_TICK_VALUE_LOSS |
Calculated tick price for a losing position |
|
SYMBOL_TRADE_TICK_VALUE_PROFIT |
Calculated tick price for a profitable position |
|
SYMBOL_VOLUME |
Volume of the last deal |
|
SYMBOL_VOLUME_LIMIT |
Maximum allowed aggregate volume of an open position and pending orders in one direction (buy or sell) for the symbol. For example, with the limitation of 5 lots, you can have an open buy position with the volume of 5 lots and place a pending order Sell Limit with the volume of 5 lots. But in this case you cannot place a Buy Limit pending order (since the total volume in one direction will exceed the limitation) or place Sell Limit with the volume more than 5 lots. |
|
SYMBOL_VOLUME_MAX |
Maximal volume for a deal |
|
SYMBOL_VOLUME_MIN |
Minimal volume for a deal |
|
SYMBOL_VOLUME_STEP |
Minimal volume change step for deal execution |
|
SYMBOL_VOLUMEHIGH |
Maximal day volume |
|
SYMBOL_VOLUMELOW |
Minimal day volume |
|
TENKANSEN_LINE |
Tenkan-sen line |
|
TERMINAL_BUILD |
The client terminal build number |
|
TERMINAL_CODEPAGE |
Number of the code page of the language installed in the client terminal |
|
TERMINAL_COMMONDATA_PATH |
Common path for all of the terminals installed on a computer |
|
TERMINAL_COMMUNITY_ACCOUNT |
The flag indicates the presence of MQL5.community authorization data in the terminal |
|
TERMINAL_COMMUNITY_BALANCE |
Balance in MQL5.community |
|
TERMINAL_COMMUNITY_CONNECTION |
Connection to MQL5.community |
|
TERMINAL_COMPANY |
Company name |
|
TERMINAL_CONNECTED |
Connection to a trade server |
|
TERMINAL_CPU_CORES |
The number of CPU cores in the system |
|
TERMINAL_DATA_PATH |
Folder in which terminal data are stored |
|
TERMINAL_DISK_SPACE |
Free disk space for the MQL5\Files folder of the terminal (agent), MB |
|
TERMINAL_DLLS_ALLOWED |
Permission to use DLL |
|
TERMINAL_EMAIL_ENABLED |
Permission to send e-mails using SMTP-server and login, specified in the terminal settings |
|
TERMINAL_FTP_ENABLED |
Permission to send reports using FTP-server and login, specified in the terminal settings |
|
TERMINAL_LANGUAGE |
Language of the terminal |
|
TERMINAL_MAXBARS |
The maximal bars count on the chart |
|
TERMINAL_MEMORY_AVAILABLE |
Free memory of the terminal (agent) process, MB |
|
TERMINAL_MEMORY_PHYSICAL |
Physical memory in the system, MB |
|
TERMINAL_MEMORY_TOTAL |
Memory available to the process of the terminal (agent), MB |
|
TERMINAL_MEMORY_USED |
Memory used by the terminal (agent), MB |
|
TERMINAL_MQID |
The flag indicates the presence of MetaQuotes ID data for Push notifications |
|
TERMINAL_NAME |
Terminal name |
|
TERMINAL_NOTIFICATIONS_ENABLED |
Permission to send notifications to smartphone |
|
TERMINAL_OPENCL_SUPPORT |
The version of the supported OpenCL in the format of 0x00010002 = 1.2. "0" means that OpenCL is not supported |
|
TERMINAL_PATH |
Folder from which the terminal is started |
|
TERMINAL_PING_LAST |
The last known value of a ping to a trade server in microseconds. One second comprises of one million microseconds |
|
TERMINAL_SCREEN_DPI |
The resolution of information display on the screen is measured as number of Dots in a line per Inch (DPI). |
|
TERMINAL_TRADE_ALLOWED |
||
TERMINAL_X64 |
Indication of the "64-bit terminal" |
|
THURSDAY |
Thursday |
SymbolInfoInteger, SymbolInfoSessionQuote, SymbolInfoSessionTrade |
TRADE_ACTION_DEAL |
Place a trade order for an immediate execution with the specified parameters (market order) |
|
TRADE_ACTION_MODIFY |
Modify the parameters of the order placed previously |
|
TRADE_ACTION_PENDING |
Place a trade order for the execution under specified conditions (pending order) |
|
TRADE_ACTION_REMOVE |
Delete the pending order placed previously |
|
TRADE_ACTION_SLTP |
Modify Stop Loss and Take Profit values of an opened position |
|
TRADE_RETCODE_CANCEL |
Request canceled by trader |
|
TRADE_RETCODE_CLIENT_DISABLES_AT |
Autotrading disabled by client terminal |
|
TRADE_RETCODE_CONNECTION |
No connection with the trade server |
|
TRADE_RETCODE_DONE |
Request completed |
|
TRADE_RETCODE_DONE_PARTIAL |
Only part of the request was completed |
|
TRADE_RETCODE_ERROR |
Request processing error |
|
TRADE_RETCODE_FROZEN |
Order or position frozen |
|
TRADE_RETCODE_INVALID |
Invalid request |
|
TRADE_RETCODE_INVALID_EXPIRATION |
Invalid order expiration date in the request |
|
TRADE_RETCODE_INVALID_FILL |
Invalid order filling type |
|
TRADE_RETCODE_INVALID_ORDER |
Incorrect or prohibited order type |
|
TRADE_RETCODE_INVALID_PRICE |
Invalid price in the request |
|
TRADE_RETCODE_INVALID_STOPS |
Invalid stops in the request |
|
TRADE_RETCODE_INVALID_VOLUME |
Invalid volume in the request |
|
TRADE_RETCODE_LIMIT_ORDERS |
The number of pending orders has reached the limit |
|
TRADE_RETCODE_LIMIT_VOLUME |
The volume of orders and positions for the symbol has reached the limit |
|
TRADE_RETCODE_LOCKED |
Request locked for processing |
|
TRADE_RETCODE_MARKET_CLOSED |
Market is closed |
|
TRADE_RETCODE_NO_CHANGES |
No changes in request |
|
TRADE_RETCODE_NO_MONEY |
There is not enough money to complete the request |
|
TRADE_RETCODE_ONLY_REAL |
Operation is allowed only for live accounts |
|
TRADE_RETCODE_ORDER_CHANGED |
Order state changed |
|
TRADE_RETCODE_PLACED |
Order placed |
|
TRADE_RETCODE_POSITION_CLOSED |
Position with the specified POSITION_IDENTIFIER has already been closed |
|
TRADE_RETCODE_PRICE_CHANGED |
Prices changed |
|
TRADE_RETCODE_PRICE_OFF |
There are no quotes to process the request |
|
TRADE_RETCODE_REJECT |
Request rejected |
|
TRADE_RETCODE_REQUOTE |
Requote |
|
TRADE_RETCODE_SERVER_DISABLES_AT |
Autotrading disabled by server |
|
TRADE_RETCODE_TIMEOUT |
Request canceled by timeout |
|
TRADE_RETCODE_TOO_MANY_REQUESTS |
Too frequent requests |
|
TRADE_RETCODE_TRADE_DISABLED |
Trade is disabled |
|
TRADE_TRANSACTION_DEAL_ADD |
Adding a deal to the history. The action is performed as a result of an order execution or performing operations with an account balance. |
|
TRADE_TRANSACTION_DEAL_DELETE |
Deleting a deal from the history. There may be cases when a previously executed deal is deleted from a server. For example, a deal has been deleted in an external trading system (exchange) where it was previously transferred by a broker. |
|
TRADE_TRANSACTION_DEAL_UPDATE |
Updating a deal in the history. There may be cases when a previously executed deal is changed on a server. For example, a deal has been changed in an external trading system (exchange) where it was previously transferred by a broker. |
|
TRADE_TRANSACTION_HISTORY_ADD |
Adding an order to the history as a result of execution or cancellation. |
|
TRADE_TRANSACTION_HISTORY_DELETE |
Deleting an order from the orders history. This type is provided for enhancing functionality on a trade server side. |
|
TRADE_TRANSACTION_HISTORY_UPDATE |
Changing an order located in the orders history. This type is provided for enhancing functionality on a trade server side. |
|
TRADE_TRANSACTION_ORDER_ADD |
Adding a new open order. |
|
TRADE_TRANSACTION_ORDER_DELETE |
Removing an order from the list of the open ones. An order can be deleted from the open ones as a result of setting an appropriate request or execution (filling) and moving to the history. |
|
TRADE_TRANSACTION_ORDER_UPDATE |
Updating an open order. The updates include not only evident changes from the client terminal or a trade server sides but also changes of an order state when setting it (for example, transition from ORDER_STATE_STARTED to ORDER_STATE_PLACED or from ORDER_STATE_PLACED to ORDER_STATE_PARTIAL, etc.). |
|
TRADE_TRANSACTION_POSITION |
Changing a position not related to a deal execution. This type of transaction shows that a position has been changed on a trade server side. Position volume, open price, Stop Loss and Take Profit levels can be changed. Data on changes are submitted in MqlTradeTransaction structure via OnTradeTransaction handler. Position change (adding, changing or closing), as a result of a deal execution, does not lead to the occurrence of TRADE_TRANSACTION_POSITION transaction. |
|
TRADE_TRANSACTION_REQUEST |
Notification of the fact that a trade request has been processed by a server and processing result has been received. Only type field (trade transaction type) must be analyzed for such transactions in MqlTradeTransaction structure. The second and third parameters of OnTradeTransaction (request and result) must be analyzed for additional data. |
|
TUESDAY |
Tuesday |
SymbolInfoInteger, SymbolInfoSessionQuote, SymbolInfoSessionTrade |
TYPE_BOOL |
bool |
|
TYPE_CHAR |
char |
|
TYPE_COLOR |
color |
|
TYPE_DATETIME |
datetime |
|
TYPE_DOUBLE |
double |
|
TYPE_FLOAT |
float |
|
TYPE_INT |
int |
|
TYPE_LONG |
long |
|
TYPE_SHORT |
short |
|
TYPE_STRING |
string |
|
TYPE_UCHAR |
uchar |
|
TYPE_UINT |
uint |
|
TYPE_ULONG |
ulong |
|
TYPE_USHORT |
ushort |
|
UCHAR_MAX |
Maximal value, which can be represented by uchar type |
|
UINT_MAX |
Maximal value, which can be represented by uint type |
|
ULONG_MAX |
Maximal value, which can be represented by ulong type |
|
UPPER_BAND |
Upper limit |
|
UPPER_HISTOGRAM |
Upper histogram |
|
UPPER_LINE |
Upper line |
|
USHORT_MAX |
Maximal value, which can be represented by ushort type |
|
VOLUME_REAL |
Trade volume |
|
VOLUME_TICK |
Tick volume |
|
WEDNESDAY |
Wednesday |
SymbolInfoInteger, SymbolInfoSessionQuote, SymbolInfoSessionTrade |
WHOLE_ARRAY |
Means the number of items remaining until the end of the array, i.e., the entire array will be processed |
|
WRONG_VALUE |
The constant can be implicitly cast to any enumeration type |