SignalsDemo
This EA is a GUI-based utility that demonstrates signal functionality through a dialog interface. It creates and manages a custom dialog window (CSignalsDemoDialog) on the chart for displaying or interacting with trading signals, but does not open positions itself.
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 essentially a GUI utility rather than a strategy trading program. It creates an 830x400 pixel dialog window by inheriting from the CSignalsDemoDialog class, used for displaying signal-related information. The program creates and runs the dialog in OnInit, destroys it in OnDeinit to release resources, and forwards chart events to the dialog in OnChartEvent. Since there is no trading logic, entry conditions, exit conditions, position sizing, or money management code included, this EA does not have autonomous trading capability and serves solely as an interface tool for signal display and interaction. All core functionality is encapsulated in the SignalsDemoDialog.mqh file, while the current file only handles dialog lifecycle management and event routing.
Strengths
- Clean code structure following standard MQL5 EA framework patterns
- Well-designed event-driven architecture that correctly forwards chart events to the dialog
- Proper resource management with dialog destruction in OnDeinit to prevent memory leaks
- Object-oriented encapsulation separating UI logic into an independent mqh file
Weaknesses
- No trading logic or strategy implementation, extremely limited in functionality
- Core functionality depends entirely on external SignalsDemoDialog.mqh file, poor standalone analyzability
- No error handling mechanism — dialog creation failure only returns INIT_FAILED without any log output
- Missing input parameters — dialog position and dimensions are all hard-coded values
Possible improvements
- Convert hard-coded dialog position and dimensions to configurable input parameters for flexibility
- Add Print log output for debugging exceptional cases such as dialog creation failure
Risk assessment
Overall risk: Safe
- This EA does not execute any trading operations, no financial risk
- Dialog resource management is correct, no memory leak risk
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
Dialog X position | 20 | Dialog top-left X coordinate |
Dialog Y position | 20 | Dialog top-left Y coordinate |
Dialog Width | 830 | Dialog width in pixels |
Dialog Height | 400 | Dialog height in pixels |
Similar Utility EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.