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.