v1.0.0
Initial private release of ModernUI for MetaTrader 5.
ModernUI is a UI library only. It does not include trading logic, order sending, or trade copying.
Added
- Umbrella include
ModernUI.mqhthat pulls in the full control set. - Root container
MuiRootwith event forwarding fromOnTimerandOnChartEvent. - Display controls: labels, badges, icons, optional built-in icon atlas with canvas fallback, status bars, alert banners, loading spinners, cards, stat cards, headers, swatches, hover rows, progress bars.
- Input controls: buttons, checkboxes, toggles, compact sliders with fitted circle/rectangle thumbs, radio groups, native text input host, native spin edit host with integrated filled stepper, native combo host, native text-area host, colour picker, date picker.
- Navigation controls: tabs, accordion, toolbar, menu, drawer.
- Overlay controls: tooltip, toast, dialog, overlay layer.
- Data controls: list view, table view, tree view with row templates and data sources.
- Chart controls: donut chart, half gauge chart, sparkline, bar chart, line chart.
- Layout helpers: stack layout, scroll view, overlay layout, wrap row, grid, align panel, absolute panel, splitter, divider, window, sub-window, form row, panel, spacer.
- Theme system with light and dark themes, design tokens, semantic tones, compact component metrics, and theme-tinted icons.
- Fast wrappers under the
Mui::namespace for common panel patterns:Mui::AppWindow,Mui::Section,Mui::LabeledFieldMui::LabeledSpinEdit,Mui::LabeledComboMui::ButtonRow,Mui::ButtonGroupMui::SimpleTableMui::StatusRow,Mui::Toast
- Friendly aliases for refresh and layout operations:
Refresh()Relayout()RefreshAll()RefreshArea(...)
- Runnable example Expert Advisors:
BasicPanel.mq5FriendlyAliases_Demo.mq5FastWrappers_CompactTradePanel_Demo.mq5DataTable.mq5KitchenSink.mq5ModernUI_Performance_StressTest.mq5Demos/TradePanel_Showcase.mq5(UI-only)Demos/TradingDashboard_Showcase.mq5(UI-only)Demos/ModernUI_Showcase_Demo.mq5(UI-only)
Changed
This is the initial release, so there are no prior versions to compare against.
Internal pre-release polish included:
- Slider defaults were tightened for compact panels; automatic thumb sizing now matches the rail geometry more closely.
- Spin edit steppers were refined into one integrated input chrome with optional filled stepper backgrounds.
- Common chrome drawing was hardened with consistent paint-time pixel snapping to reduce one-pixel border gaps at non-integer scales.
- Rounded small controls use selective anti-aliasing when radius is enabled, while square controls and large surfaces keep faster paths.
Fixed
This is the initial release, so there are no prior bugs to list.
Known notes
- ModernUI renders on
CCanvas. Very large panels or very frequent full repaints can affect chart frame rate. See Best practices and MT5 limitations. - Native text input, spin edit, and combo controls use MT5
OBJ_EDIThosts. They follow MT5 input rules and can move with the chart while typing. Spin edit stepper chrome is canvas-drawn around the native host. - Built-in atlas icons use optional PNG files under
Images/ModernUI; if they are missing, ModernUI falls back to canvas icons. - Trade-style demo panels (
Demos/TradePanel_Showcase.mq5,Demos/TradingDashboard_Showcase.mq5,FastWrappers_CompactTradePanel_Demo.mq5) are UI-only. They do not callOrderSend,CTrade, or any broker order API. You must add your own trading logic if you want trades to be placed.
Upgrade notes
This is the initial release. There is no upgrade path from earlier versions.
For first-time installation, follow Install ModernUI.