Trading signals based on PullBack and Candle (for MQL5 Wizard) - MetaTrader 5 Library





This EA will trade based on "pullback and candle operations".
The candle operation part uses "candlepatterns.mqh" provided by MetaQuotes.
This program is very useful for improving input accuracy. Thanks.
I added the autogenerated mq5 file just in case, but you don't have to force it.
Because you can use the MQL 5 Wizard to create automatically customized mq5 files.
1. Position
A long position is opened when all the following conditions are met.
A short position is opened when all the following conditions are met.
[Common situations]
2. Close position
The conditions for closing a position are simple.
- Close the position when the RSI is lower than the set value.
- Close the position when RSI exceeds the set value.
3. On/off diagram
Long opening and closing.

Short on and short off.

4. Create Expert Advisor using MQL 5 Wizard
After compiling SignalPullBackCandle.mqh, you will be able to use it with the MQL5 Wizard.
To generate a trading robot based on this logic, select the signal of the "PullBack And Candle" indicator in the signal properties of the MQL 5 Wizard.
5.Test results
Let's backtest the EA.
The setting values are as follows.

Testing time: December 1, 2017 - December 11, 2018
Timeframe: M15 (even for others)


Attachments: "SignalPullBackCandle.mqh and acandlepatterns.mqh" must be placed in terminal_data_folder \ MQL5 \ Include \ Expert \ Signal \ MySignal.
The ExpertsBands.mq5 file contains the codes of Expert Advisors created using the MQL 5 Wizard.
Attachment download
📎 acandlepatterns.mqh (20.34 KB)
📎 signalpullbackcandle.mqh (7.83 KB)
📎 signalpullbackcandletest.mq5 (7 KB)
Source: MQL5 #23587
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •