- Terminal: Fixed the start of the client terminal using the custom configuration file.
- Terminal: Fixed saving of negative angles for the label objects.
- Terminal: Added re-calculation of the width of chart scales after changing its properties.
- MQL5: Fixed the ChartApplyTemplate function.
- MQL5: Fixed reading of large strings from a file.
- MQL5: Fixed call of the OnDeinit method for custom indicators used simultaneously by several Expert Advisors or charts.
- MQL5: Changed the value of the OBJ_ALL_PERIODS flag (0x001fffff (2 097 51) instead of 0xffffffff (4 294 967 295))
- MQL5: Updated the Standard Library.
- MetaTester: The "Clear" command of the context menu of the tester journal removes all log files of the tester and local agents.
- MetaTester: Fixed the initialization of the history cache when shifting the testing start date.
- 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.
- 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:
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
|
deinit | Entry point OnDeinit |
tick | Entry 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 |
classb | Declaring a class with inheritance |
switch
| The switch selector
|
case
| The case selector |
#imp
| Import declaration
|
- MetaEditor: Added search on MQL5.com by pressing Ctrl+F1.
- MetaEditor: Fixed search on MQL5.com in English.
- Fixed errors reported on the forum and in crash logs.
See the previous news, please: