Provide professional MQL5 (MetaQuotes Language 5) development support in Visual Studio Code.
- Extensive Coverage: Supports
5,341+ syntax definitionsextracted from the official 7,112-page MQL5 Reference PDF. These definitions were parsed from a 426,702-line Markdown conversion generated via MarkItDown using Python. (Note: Do not worry, these large source files are used for development only and are not bundled with the extension).
- Syntax Highlighting: Comprehensive syntax highlighting for
.mq5and.mqhfiles. - Enhanced Scoping: Includes support for over 500+ specific MQL5 syntax groups, each with distinct scopes based on prefixes (e.g.,
Order...,Chart...,Math...) allowing for granular theme customization. - Fallback Highlighting: Intelligent fallback highlighting for identifiers starting with A-Z, ensuring every valid MQL5 token is colored even if not explicitly defined in a sub-group.
Note: These are Syntax-Only color schemes. They do not change your workbench colors (sidebar, status bar, etc.), allowing you to keep your preferred UI aesthetics.
Caution
Disclaimer: Unofficial Extension This extension is an independent open-source project and is not affiliated with, endorsed by, or connected to MetaQuotes Ltd. "MQL5", "MetaQuotes", and "MetaTrader" are registered trademarks of MetaQuotes Ltd. This extension is intended solely for syntax highlighting purposes to aid development.
All syntax definitions and language structures are based on the public MQL5 Reference Manual.
- MQL5 Community: https://www.mql5.com/
- Documentation: https://www.mql5.com/en/docs
- Token Colors: Inspired by standard MQL5 IDE colors but enhanced for modern VS Code capabilities.
If you find bugs or inconvenience, you may open an issue at the original GitHub Repository regarding on this MQL5 Support extension.