Customizing MQL5 Wizard Trading Signals with Standard Library Classes
Summary
The article shows how to modify an Expert Advisor generated by MetaTrader 5’s MQL5 Wizard by adding a customized signal filter based on a standard indicator class. It uses RSI and moving average filters as examples of Wizard-generated components, then describes copying and adapting the Commodity Channel Index signal class, adding the new include file and filter instance, and changing its signal patterns and parameters. The Wizard continues to supply the EA framework for trading, money management, and other standard operations.
The example illustrates a development workflow for experimenting with signal patterns without writing an entire EA from scratch. It reports a Strategy Tester run on EUR/USD over a period related to a past trading championship, with strong returns over a short test, but explicitly advises against using the example EA for live trading. The result is a single illustrative backtest, not evidence of robustness; users are encouraged to develop and test their own patterns.
Key ideas
- The MQL5 Wizard assembles an EA from reusable signal, money management, and trailing classes.
- A custom filter can be added by adapting a Standard Library indicator signal class.
- Signal patterns and weights determine how indicator conditions contribute to trading decisions.
- The example adds customized CCI patterns alongside RSI and moving average filters.
- A favorable short backtest is illustrative and does not justify live deployment.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.