Developer documentation
ModernUI for MetaTrader 5
Build cleaner chart-hosted EA panels with a practical CCanvas-based UI library for MetaTrader 5.
ModernUI helps MQL5 developers build panels, dashboards, settings windows, forms, tables, lists, dialogs, drawers, and compact trade-style interfaces without starting every UI from raw chart objects.
Start here
Get the docs open in minutes
What ModernUI is
A chart-hosted UI library for MT5
ModernUI gives MQL5 developers reusable controls, layout helpers, fast wrappers, themes, examples, and reference docs for building cleaner interfaces inside MetaTrader 5.
- Buttons, labels, badges, inputs, sliders, combos, tabs, drawers, dialogs, menus, lists, tables, trees, charts, and stat cards
- Fast wrappers for common panel layouts
- Dark and light theme support
- Runnable Expert Advisor examples
- Reference and troubleshooting docs
What ModernUI is not
A UI library only
ModernUI does not place, modify, or close trades. You add your own trading logic on top of it.
- Not a trading strategy
- Not a trade copier
- Not a broker execution system
- Not an automatic trading product
- Does not place, modify, or close trades by itself
- Does not promise better trading results
Browse the docs
Every topic, one click away
Start Here
Install, quick start, first panel tutorial, and the package layout overview.
Build UIs Faster
Fast wrappers for AppWindow, sections, labeled inputs, button rows, tables, toasts, drawers, and compact trade panels.
Examples
Runnable EAs: basic panel, settings, compact trade panel, showcase trade panel, data table, performance stress test.
Controls
Buttons, labels, badges, toasts, text inputs, spin edits, combos, checkboxes, sliders, tabs, accordions, menus, tables.
Styling
Themes, design tokens, colours, spacing, radius, typography, light/dark themes, setter naming.
Reference
MuiRoot, factory helpers, fast wrapper types, event handlers, intent events, ownership, lifetime, DPI, native input hosts.
Performance
Refresh and layout model, performance counters, MT5/CCanvas limits, and practical best practices.
Support
Troubleshooting, common compile errors, FAQ, bug reporting, and version support policy.
Release Notes
Per-release change notes, including added features, behaviour changes, fixes, and upgrade notes.
ModernUI documentation is hosted by DaneTrades. The library is distributed through MQL5 Market when publicly available.