1 August 2012
1 August 2012
Added request_id field in
MqlTradeResult structure - a unique identifier of the terminal trade
request during a network session.
This
field is filled by the client terminal when a trade request is
successfully sent to the server. Further on, this field is filled in
result parameter of OnTradeTransaction entry point. Therefore, the
opportunity of clear comparison of OrderSend and OrderSendAsync
functions calling with getting the trade request results at
OnTradeTransaction entry point is provided.
For ease of writing code, MetaEditor provides the possibility to insert snippets — small template fragments of source code describing a particular construction of the MQL5 language. Insertion of a snippet is initialized by typing the keyword. After you type the keyword the cursor is changed to "Snippet available". To insert a snippet, you should press "Tab". For more information about working with snippets please read the MetaEditor Help.
The key word for OnTradeTransaction entry point is OnTradeTransaction.All input parameters can now be included for optimization (the number of input parameters is limited by 1024). It means that the space that can have the maximum value to be written in the integer 1024-bit value can be used in the genetic search for the optimal parameters. The protocol of data transfer between the terminal and tester agents has been changed for big indices of the optimized variants.
Therefore, all previous versions of tester agents will not be able to connect to the cloud network and (or) the client terminal because of the protocol change and will be updated automatically via LiveUpdate system.Updated documentation.
The live update is available through the LiveUpdate system.
The MetaTrader 5 Trading Terminal can be downloaded at https://download.mql5.com/cdn/web/metaquotes.ltd/mt5/mt5setup.exe?utm_source=www.metatrader5.com