MetaTrader 5 Client Terminal build 401

Terminal: Fixed the start of the client terminal using the custom configuration file. Terminal: Fixed saving of negative angles for the label objects

20 February 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:

    Entry point OnStart
    initv Entry point void OnInit
    Entry point int OnInit
    deinitEntry point OnDeinit
    tickEntry point OnTick
    Entry point OnTime
    Entry point OnTrade
    Entry point OnBook
    Entry point OnChart
    Entry point OnTester
    Entry point OnCalculate
    Entry point OnCalculate
    Structure declaration
    Declaration of the for loop
    Declaration of the while loop
    Declaration of the do while loop
    Declaration of the if condition
    Declaration of the if-else condition
    Declaration of enumeration
    Class declaration
    classbDeclaring a class with inheritance
    The switch selector
    The case selector
    Import declaration

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