Select Page

Fintech company MetaQuotes will release MetaTrader 5 platform build 4260 on Friday, March 22, 2024.

The new version enhances keyboard event handling capabilities in MQL5 programs. Developers can now capture key release and dead key events, improving interaction between applications and users.

The MetaEditor has introduced a new search option to assist users in navigating through the contents of the recently released book Neural Networks for Algorithmic Trading in MQL5. The web platform update provides fixes to limit setting procedures for exchange instruments.

Terminal: Fixed errors in subscribing to free products in the Subscriptions service. The relevant button might not be displayed in the dialog under certain conditions.

Terminal: Updated translations of the user interface.

MQL5: Expanded support for keyboard events:

  • Added CHARTEVENT_KEYUP event for the OnChartEvent handler. It allows the tracking of events related to key releases.
  • Added processing of Dead keys. These are the keys that modify the appearance of the character generated by the key struck immediately after. For example, in the Greek layout, a stressed vowel ά, έ, ύ, etc., can be generated by first pressing “;” and then the vowel. The pressing of such keys can be tracked using the TranslateKey function.
  • Improved TranslateKey and TerminalInfoInteger functions. Now, when receiving CHARTEVENT_KEYUP or CHARTEVENT_KEYDOWN events in OnChartEvent, you can obtain the complete keyboard state at the time the event occurred. For example, if the user pressed the Z key, you will be able to determine whether the Ctrl or Shift key was pressed at that moment. For other events, the functions will continue to operate as before, returning the keyboard state at the current moment.

MQL5: Fixed error that could cause the incorrect operation of ChartGet functions under certain conditions.

MetaEditor: Added search through the contents of the book Neural Networks for Algorithmic Trading in MQL5. The new option appears in the same section as the previously published book MQL5 Programming for Traders.

The update will be available through the Live Update system.


Share it on social networks