Join waitlist
Strategies / Pattern / Bullish Engulfing In Uptrend

Bullish Engulfing In Uptrend

The strategy buys a bullish engulfing bar in an uptrend, where the close is above the 15-period EMA and that EMA is above the 30-period EMA. It closes the long on a bearish signal or when the close falls below the 15-period EMA.

PatternLong onlySwingGold4 hours
1.94Profit factor
2,098Net profit EUR
43.44%Win rate
320Trades
-514Max drawdown
6.55Avg trade

Best run of 12. Gold, 4 hours, spread 0.6, from run pf:2026-10-13-GOLD-4h.tsv:5.

Entry rules, long

  1. The prior bar is red, the current bar closes at or above its open, and it has a lower low and higher high
  2. The body of the current bar and of the prior bar are each more than 1% of their own bar range
  3. Volume is more than 1.2 times the prior bar's volume

Exit rules

  1. The long also closes on a bearish engulfing bar with a lower low and higher high than the prior bar
  2. The strategy has no stop loss or profit target

Test conditions

PeriodUp to 2026-10-13
InstrumentGold, 4 hours
Spread0.6 points
Starting capital1,000,000
CostsSpread only. Commissions and overnight financing are not included.
BarsUp to 200,000 bars, fewer where the instrument has less history
Last tested2026-10-13

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
GoldBest run4 hours1.94 32043.442,098 EUR-514
Nikkei 2251 hourn/a 46142.3018,378 USD-4,171
SilverDailyn/a 5945.769,533 USD-7,520
Nasdaq 1004 hoursn/a 24051.257,686 EUR-1,937
Nikkei 2253 minn/a 1,30638.287,323 USD-3,841
DAX 404 hoursn/a 19447.425,464 EUR-2,046
Nasdaq 10010 minn/a 1,50240.155,360 EUR-2,307
Nasdaq 100Dailyn/a 5462.965,156 EUR-2,623
Dow Jones4 hoursn/a 16343.564,783 EUR-3,472
Dow JonesDailyn/a 3946.154,766 EUR-4,423
S&P 500Dailyn/a 5550.91613 EUR-559
Gold5 minn/a 84638.77445 EUR-331

Charts

Results by run

Top 10 of 12 runs. The full list is in the table above.

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Bullish Engulfing In Uptrend
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Pattern
// Direction: Long only
// Timeframe tested: 4 hours
// ==============================================================

DEFPARAM CumulateOrders = false

emas = ExponentialAverage[15](close)
emal = ExponentialAverage[30](close)

28 more lines: the entry and exit rules.

Setup

How to load it

  1. Copy the code with the copy button on the code block.
  2. In ProRealTime, open a chart of the instrument and timeframe you want to test, then open ProOrder > New trading system and choose "Create with programming".
  3. Paste the code, give the system a name and save it.
  4. Click "Backtest", set your own spread and position size, and run it before you consider trading it live.

Indicators used

EMAVolume
Read this firstKnown weaknesses2 points
  • Results include the spread only. Commissions and overnight financing are not included.
  • The code is published as it was backtested and has not been compiled again since.

Questions

About this strategy

Can I run Bullish Engulfing In Uptrend in ProOrder?

Yes. The code is ProBuilder and runs as an automated ProOrder system. Backtest it on your own account with your own spread and position size before trading it live.

Which markets was it tested on?

It was tested on 12 market and timeframe combinations. The best run was Gold, 4 hours, with a profit factor of 1.94 over 320 trades.

How large was the drawdown?

The best run had a maximum drawdown of 514 EUR at the tested position size, against a net result of 2,098 EUR.

Does it trade long, short or both?

It only takes long trades.

Related

Strategies like this one

Reversal Pattern With Chaikin Volatility

Uses the same indicator.

2.26 PF · 6,872 trades

CCI Breakout

Best run on the same market, Gold.

1.08 PF · 6,065 trades

Kernel Band Divergence Pattern

Also a pattern strategy.

2.02 PF · 117 trades

Put your name on the ProRealAlgos waitlist to trade a tested portfolio instead of single strategies.

The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.

Past backtest results do not guarantee future results. This is not financial advice. Curated and maintained by ProRealAlgos. ProRealTime™ is a trademark of ProRealTime SAS. prorealalgos.comStatsDocs