MetaTrader 5 Client Terminal build 401

Última atualização: Terminal: Fixed the start of the client terminal using the custom configuration file. Terminal: Fixed saving of negative angles for the label objects

20 fevereiro 2011

  1. Terminal: Fixed the start of the client terminal using the custom configuration file.
  2. Terminal: Fixed saving of negative angles for the label objects.
  3. Terminal: Added re-calculation of the width of chart scales after changing its properties.
  4. MQL5: Fixed the ChartApplyTemplate function.
  5. MQL5: Fixed reading of large strings from a file.
  6. MQL5: Fixed call of the OnDeinit method for custom indicators used simultaneously by several Expert Advisors or charts.
  7. MQL5: Changed the value of the OBJ_ALL_PERIODS flag (0x001fffff (2 097 51) instead of 0xffffffff (4 294 967 295))
  8. MQL5: Updated the Standard Library.
  9. MetaTester: The "Clear" command of the context menu of the tester journal removes all log files of the tester and local agents.
  10. MetaTester: Fixed the initialization of the history cache when shifting the testing start date.
  11. MetaTester: In the context menu of the tester journal, added command "Full Optimization Logs" - showing the logs on the completion of intermediate stages of optimization.
  12. MetaEditor: Added support for snippets - the automatic insertion of code snippets initialized by typing a key word. For example, in order to insert the class declaration, type class - after that the cursor shape will change, thus indicating that the word is the key word for a snippet:

  13. Then, when you press Tab, the key word is replaced by the class declaration. Change of the class name will automatically change the names of the constructor and destructor.

    The transition between active fields of the snippet (in our case between the class name, the name of the constructor and destructor name) is performed by pressing Tab (move forward) and Shift+Tab (move back). Currently the following snippets are supported:

    Keyword
    Value
    start
    Entry point OnStart
    initv Entry point void OnInit
    initi
    Entry point int OnInit
    deinitEntry point OnDeinit
    tickEntry point OnTick
    time
    Entry point OnTime
    trade
    Entry point OnTrade
    book
    Entry point OnBook
    chart
    Entry point OnChart
    test
    Entry point OnTester
    calc
    Entry point OnCalculate
    calcp
    Entry point OnCalculate
    struct
    Structure declaration
    for
    Declaration of the for loop
    while
    Declaration of the while loop
    do
    Declaration of the do while loop
    if
    Declaration of the if condition
    ife
    Declaration of the if-else condition
    enum
    Declaration of enumeration
    class
    Class declaration
    classbDeclaring a class with inheritance
    switch
    The switch selector
    case
    The case selector
    #imp
    Import declaration

  14. MetaEditor: Added search on MQL5.com by pressing Ctrl+F1.
  15. MetaEditor: Fixed search on MQL5.com in English.
  16. Fixed errors reported on the forum and in crash logs.