MetaTrader 5 platform build 3180: Vectors and matrices in MQL5 and improved usability
Terminal: Added chart window activation when moving a Market Watch symbol or a trading operation from account history to it
28 January 2022
Added chart window activation when moving a Market Watch symbol or a trading operation from account history to it.
Both of these actions change the chart financial instrument to the
selected one. Previously, they did not let the chart window become
active. Accordingly, some further actions, such as calling a trading
dialog (F9) or changing the scale (+/-) using hotkeys, could erroneously
be applied to another chart. Now the chart, whose symbol has been
changed by dragging, becomes selected for further work right away.
Added opening a new order window when double-clicking on a trade
operation in the account history. A financial instrument from the
operation a user has clicked on is immediately inserted into the dialog
allowing for faster trading. A similar command has been added to the
Added smart inclusion of real or tick volumes when opening new charts.
This data is important when analyzing the market. However, not all
traders are aware of its availability in the platform.
trading volumes have a higher priority. If they are provided by a
broker, their display is enabled on the chart. Otherwise, the display of
tick volumes is enabled.
The mechanism is used only if the chart is opened with the default.tpl template.
Volumes are no longer enabled when reopening a chart if a user has
manually disabled them in the chart settings. Custom templates are not
Optimized and greatly accelerated the user interface display.
Improved the chart printing function called via the File menu:
Fixed saving print settings
Improved the printed page appearance: increased grid lines, removed the program name, updated the header font
Enlarged the print dialog for correct interface display
Fixed the volume field operation in the fast trading panel of the
chart. Before the fix, the value was reset to the previous one after
entering a new value and pressing Tab.
history display on the chart. Previously, operations of the previous
account were not removed from charts when switching between accounts.
Fixed errors when handling files and databases related to path length limitation. In particular, the DatabaseOpen
function allowed setting the path larger than the acceptable one
causing incorrect database creation. Now the function returns the
ERR_TOO_LONG_FILE_NAME error code correctly.
Fixed variable constancy control. Previously, the compiler could occasionally skip the "constant variable cannot be passed as reference" error.
Fixed erroneous compiler warnings about using an uninitialized variable.