Building a Wizard-Compatible Candlestick Pattern Signal in MQL5
Summary
The article describes creating a custom candlestick signal class that integrates with the MQL5 Wizard and can be used to generate an Expert Advisor. The class extends the framework’s signal base, exposes configurable weights and detection thresholds, and implements pattern checks for formations such as doji, engulfing, hammer, shooting star, and star patterns. Long and short conditions combine detected patterns into signal strengths, with configurable parameters presented through the generated EA interface.
The author explains a visibility hurdle in making a custom class appear in the Wizard, then describes implementation and testing through generated code and the Strategy Tester. The document emphasizes combining confirmations and checking that the EA follows its intended rules before optimizing profitability. It gives a software construction workflow and pattern-based signal design, but the supplied excerpt does not provide quantitative performance evidence establishing an edge; results would depend on settings, market, and validation.
Key ideas
- A custom Wizard signal can inherit from the standard expert signal base class.
- Pattern weights and detection thresholds let users adjust signal strength and sensitivity.
- The implementation detects several bullish and bearish candlestick formations.
- Generated Expert Advisors can be inspected and assessed in the Strategy Tester.
- Correct rule execution should be established before tuning for profitability.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.