Libraries: Keywords and aliases of MQL5

 

Keywords and aliases of MQL5:

The MQL5 keywords and aliases for autoreplace are presented.

Maybe I had missed something, if you have found such keywords please inform me and this list will be updated.

Author: Андрей

 
MqlTradeRequest struct MqlTradeRequest
  (
   ENUM_TRADE_REQUEST_ACTIONS    action,           // Type of action to be performed
   ulong                         magic,            // Expert stamp (magic number identifier)
   ulong                         order,            // Order Ticket
   ...
  )

//Order Ticket. Required for modification of pending orders

Please add a full explanation, because it turns out that to set an order its ticket is required.

There are two operators missing in operators.

:
::

ZY again in punctuation is not.

( )

And in conclusion, I renamed it all as mqh to make it clearer (although if you use a third-party editor, I agree it's more convenient in txt).

 
Urain:
.............

In the original help, the structures are shown like this:

struct MqlTradeRequest
  {
   ENUM_TRADE_REQUEST_ACTIONS    action;           // Type of action to be performed
   ulong                         magic;         // Expert stamp (magic number identifier)
   ulong                         order;         // Order Ticket
   string                        symbol;        // Trading instrument name
   double                        volume;        // Requested transaction volume in lots
   double                        price;         // Price 
   double                        stoplimit;     // StopLimit level of the order
   double                        sl;            // Stop Loss level of the order
   double                        tp;            // Take Profit level of the order
   ulong                         deviation;     // Maximum acceptable deviation from the requested price
   ENUM_ORDER_TYPE               type;           // Order type
   ENUM_ORDER_TYPE_FILLING       type_filling;    // Order type by execution
   ENUM_ORDER_TYPE_TIME          type_time;       // Order type by validity time
   datetime                      expiration;    // Order expiry time (for orders of ORDER_TIME_SPECIFIED type)
   string                        comment;       // Commentary to the Order
  };

But I styled the structures in the Aliases.txt file like this:

MqlTradeRequest struct MqlTradeRequest
  (
   ENUM_TRADE_REQUEST_ACTIONS    action,           // Type of action to be performed
   ulong                         magic,            // Expert stamp (magic number identifier)
   ulong                         order,            // Order Ticket
   string                        symbol,           // Trading instrument name
   double                        volume,           // Requested transaction volume in lots
   double                        price,            // Price 
   double                        stoplimit,        // StopLimit level of the order
   double                        sl,               // Stop Loss level of the order
   double                        tp,               // Take Profit level of the order
   ulong                         deviation,        // Maximum acceptable deviation from the requested price
   ENUM_ORDER_TYPE               type,             // Order type
   ENUM_ORDER_TYPE_FILLING       type_filling,     // Order type by execution
   ENUM_ORDER_TYPE_TIME          type_time,        // Order type by validity time
   datetime                      expiration,       // Order expiry time (for orders of ORDER_TIME_SPECIFIED type)
   string                        comment,          // Commentary to the Order
  )

for compatibility with third-party source code editors as auto-replacement templates. For a particular IDE you need to correct this file according to the requirements of the design of auto-replacement templates of this editor.

And about the missing "(" and ")" in the punctuation file - yes, it is missing, thanks, I will add them. I warned you that something might be missing. :)

Urain:

Well, and in the end I renamed it all as mqh became clearer (although if you use a third-party editor, I agree more convenient in txt).

It's up to the owner of course, how to use this valuable information to your advantage.


PS Packed in zip-archive. Due to the fact that the files were uploaded separately, did not rewind the download counter.

 

Please add, if anyone is using it, any missed items and post them here - and I'll be sure to update the files.

Here, I made screenshots of more or less recent keywords, tried to identify them in FineReader, but I can't. Maybe someone can help me with this?

When creating this topic I collected keywords from the help in hand-to-hand, I will not be able to repeat this feat for the sake of updating files.

Files:
MQL5.ZIP  600 kb
 
is it possible to have the Standard Library classes and methods as well?