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 the interaction between applications and users.
MetaEditor has introduced a new search option to help users navigate the contents of the recently released book Neural Networks for Algorithmic Trading in MQL5. The web platform update provides fixes to limit setup processes for exchange media.
Terminal: Fixed errors when signing up for free products in the Subscriptions service. The associated button may not appear in the dialog under certain conditions.
Terminal: Updated UI translations.
MQL5: Expanded support for keyboard events:
- Added CHARTEVENT_KEYUP event for OnChartEvent handler. Allows tracking of events related to key releases.
- Added dead key processing. These are the keys that modify the appearance of the character created by the key hit immediately after. For example, in the Greek layout, a stressed vowel a, e, y, etc., can be created by first pressing the “?” and then the vowel. Such keystrokes can be tracked using the TranslateKey function.
- Improved TranslateKey and TerminalInfoInteger functions. Now when you receive CHARTEVENT_KEYUP or CHARTEVENT_KEYDOWN events in OnChartEvent, you can get the full state of the keyboard at the time the event occurred. For example, if the user pressed the Z key, you would be able to determine whether the Ctrl or Shift key was pressed at that time. For other events, the functions will continue to work as before, returning the state of the keyboard at the current time.
MQL5: Fixed bug that could cause ChartGet functions to work incorrectly 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 MQL5 Programming for Traders book.
The update will be available through the Live Update system.