MQL5: Fixed an error with return of structures by values from functions for x64.
MQL5: Fixed operation of the CopyBuffer function during work with buffers of a custom indicator.
Added check of availability of history and connection of the terminal
at the start of an Expert Advisor. If the history is unavailable or
terminal cannot establish connection during 5 seconds, the Expert
Advisor will start with available data.
MetaTester: Fixed checking of restrictions on the maximum volume of positions and orders.
MetaTester: Fixed sorting of the history of deals in the tester.
MQL5: Raised the version of the EX5 file. In this regard all participants of the Championship
who have submitted EX5 files must send their updated Expert Advisors
(profile of the Championship participant - "Files" tab - file of the
Expert Advisor/library/indicator - attach file). If necessary, also
update custom indicators and libraries.
MQL5: Fixed initialization of objects of arrays of classes.
MQL5: Fixed conversion of strings to other data types.
Terminal: Added possibility to download lists of tester parameters into the list pf parameters of an Expert Advisor.
Terminal: Fixed errors in the generating of the economic calendar.
Tester: Fixed generation of an older timeframe of a tested symbol.
Tester: Fixed generation of the history of orders.
Tester: Fixed drawing of the testing progress bar.
Tester: Added display of tooltip in the testing chart.
Tester: Fixed checking of overflow with the number of variants of optimized parameters.
Added the OrderCheck function. The function checks the correctness of
trade request filling, the availability of required funds and returns
the state of the client's account after the specified trade funсtion is
MQL5: Added the OrderCalcMargin function. The function
calculates the margin required for the specified order type, on the
current account, in the current market environment.
Added the OrderCalcProfit function. The function calculates the profit
for the current account and market environment, based on the parameters
MQL5: Added symbol properties:
SYMBOL_TRADE_TICK_VALUE_PROFIT and SYMBOL_TRADE_TICK_VALUE_LOSS -
price of the symbol tick for a profitable and loss position. The old
SYMBOL_TRADE_TICK_VALUE property returns the value analogous to
MQL5: Modified the behavior of
SYMBOL_TRADE_TICK_SIZE. For symbols with no clearly set tick size, the
point size is returned.
Optimized calculation of indicators. Now indicators are recalculated
only before the Expert Advisor call, which results in a much faster
speed of testing and optimization.
deinitialization of Expert Advisors after the stopping of testing.
Added control of going beyond testing for Expert Advisors with the
Sleep function in the loop.
Fixed crash during the work of Expert Advisors with symbols.
auto substitution of stop values for optimization.