Expert Advisors: MQL5 Wizard - Trade Signals Based on Bullish Engulfing/Bearish Engulfing + RSI

 

MQL5 Wizard - Trade Signals Based on Bullish Engulfing/Bearish Engulfing + RSI:

p style="text-align: justify;">The MQL5 Wizard allows creating ready-made Expert Advisors based on the Standard library classes delivered together with the client terminal (see Creating Ready-Made Expert Advisors in MQL5 Wizard for the details). It allows to check your trade ideas quickly, all you need is to create your own trading signals class. The structure of this class and example can be found in the article MQL5 Wizard: How to Create a Module of Trading Signals.

The generic idea is the following: the class of trading signals is derived from CExpertSignal, the next, it's necessary to override the LongCondition() and ShortCondition() virtual methods with your own methods.

There is a book "Strategies of best traders" (in Russian), there are many trading strategies are considered there, we will focus on reversal candlestick patterns, confirmed by Stochastic, CCI, MFI and RSI oscillators.

The best way is to create the separate class, derived from CExpertSignal for checking of formation of candlestick patterns. For confirmation of trade signals, generated by candlestick patterns, it's sufficient to write the class, derived from CCandlePattern and add the necessary features (for example, confirmation by oscillators) there.

Here we will consider the signals, based "Bullish Engulfing/Bearish Engulfing" reversal candlestick pattern, confirmed by RSI indicator. The module of trade signals is based on the CCandlePattern class, it's simple example of its use for creation of trade signals with candlestick patterns.

"Bullish Engulfing" candlestick pattern "Bearish Engulfing" candlestick pattern

Testing results of the Expert Advisor, based on Bullish Engulfing/Bearish Engulfing + RSI

Author: MetaQuotes Software Corp.


 
Someone was looking for a free profitable Expert Advisor - so here it is! Take and use - but the main thing desirable to study the
 

Hi,

 

Can anyone please tell me how Money_FixLot_Percent =10.0 is computed to open and close? 

 

thank you. 

 

Hello, I have been running BullishBearish Engulfing RSI on BlueGuardian-Server (Build 5677) on three charts simultaneously — XAUUSD H1, EURUSD H1 and GBPUSD H1. The EA compiles with 0 errors, blue hats show on all charts, AutoTrading is green, Allow Live Trading is ticked, and DLL imports are allowed.

The EA fired one real live trade successfully on 20 March 2026, confirming the setup is correct. However after every MT5 restart the EAs load and display their settings correctly but then go completely silent — zero messages appear in the Experts tab on any candle close. No signals, no rejections, no output of any kind.

From a previous investigation the root cause appears to be the CheckState() function returning FALSE on every tick after restart. Blue Guardian support has reactivated settings multiple times but the silence returns after every restart.

Has anyone experienced this and found a fix? Is there a known issue with CheckState() on prop firm servers after restart? Any help would be greatly appreciated.