exControl panel MCM
This EA is a demonstration of the MCM Control Panel, providing a graphical menu interface on the chart. It initializes a customizable control panel with user-defined colors and font size, then processes custom chart events for multi-currency monitoring. The EA itself does not execute any trades; it serves purely as a UI utility for market watch event display.
Open the interactive view (equity curve, symbol switch)Key facts
Backtest results (H1, about 1 year)
Not backtested yet — this EA could not be converted automatically.
Strategy analysis
This EA is not a trading strategy program but a chart control panel utility. It initializes the MCM panel via InitControlPanelMCM with customizable appearance parameters including background color, font color, selection color, and font size. In OnChartEvent, it processes CHARTEVENT_CUSTOM and higher custom events, printing event ID, symbol, timeframe description, and price when custom events arrive, suggesting use in multi-currency market watch scenarios. DeinitControlPanelMCM cleans up panel resources on EA removal. The core logic is encapsulated in the Control panel MCM.mqh include file, while the main file only handles initialization, deinitialization, and event forwarding. Since there is no logic for opening, closing, stop-loss, take-profit, or position management, it possesses no trading capability whatsoever.
Strengths
- Provides a customizable control panel interface where users can adjust colors and font size to their preference
- Supports custom event handling for multi-currency market watch events, facilitating monitoring of multiple symbols
- Clean and concise code structure with proper initialization and deinitialization flow and sound resource management
Weaknesses
- Core logic is encapsulated in an external mqh file, so the main file does not reveal the panel's full functionality and implementation details
- Only prints event information without further processing, limiting practical utility and lacking interactive feedback mechanisms
- No error handling mechanism; returns 0 even if panel initialization might fail instead of returning INIT_FAILED
Possible improvements
- OnInit should check the return value of InitControlPanelMCM and return INIT_FAILED on failure to comply with MQL5 conventions
- Add responsive handling for custom events, such as switching charts or executing actions when a symbol is clicked
Risk assessment
Overall risk: Safe
- No trading operations executed, no financial risk
- Depends on external mqh file; if that file is tampered with, malicious logic could be introduced
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
bg_color | Gray | Menu background color |
font_color | Gainsboro | Font color |
select_color | Yellow | Selected text color |
font_size | 10 | Font size |
Similar Utility EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.