Join waitlist
Strategies / Pattern / Candlestick Pattern Signals

Candlestick Pattern Signals

Buys when any listed bullish candlestick pattern completes, such as engulfing, hammer, morning star or three white soldiers, and closes the long when a bearish pattern completes. No stop or target is set.

PatternLong onlySwingDAX 40Daily
1.74Profit factor
23,151Net profit EUR
54.02%Win rate
398Trades
-4,199Max drawdown
58.17Avg trade

Best run of 13. DAX 40, Daily, spread 3, from run pf:2026-10-13-DAX40-D.tsv:1.

Entry rules, long

  1. Signals are only checked after bar 5.

Exit rules

  1. No stop or target is set.

Test conditions

PeriodUp to 2026-10-13
InstrumentDAX 40, Daily
Spread3 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
DAX 40Best runDaily1.74 39854.0223,151 EUR-4,199
Nasdaq 1004 hours1.37 1,03248.2619,704 EUR-2,781
EUR/USD5 minn/a 6,28737.9883,779 USD-78,437
Nikkei 2254 hoursn/a 76846.8827,260 USD-10,504
Dow JonesDailyn/a 38452.6022,828 EUR-8,298
Nasdaq 100Dailyn/a 40248.0117,643 EUR-7,076
Dow Jones30 minn/a 2,61547.1114,238 EUR-9,406
DAX 404 hoursn/a 93049.036,839 EUR-6,440
Nasdaq 1001 hourn/a 3,58343.875,594 EUR-5,171
S&P 500Dailyn/a 42852.803,224 EUR-1,543
S&P 5004 hoursn/a 92650.002,883 EUR-1,029
Gold4 hoursn/a 93148.442,503 EUR-1,239
GoldDailyn/a 41949.642,085 EUR-846

Charts

Results by run

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

Above 1.0 made money, below 1.0 lost money.

The code

ProBuilder code, as tested

// ==============================================================
// Candlestick Pattern Signals
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Pattern
// Direction: Long only
// Timeframe tested: Daily
// ==============================================================

DEFPARAM CumulateOrders = false

34 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.
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 Candlestick Pattern Signals 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 13 market and timeframe combinations. The best run was DAX 40, Daily, with a profit factor of 1.74 over 398 trades.

How large was the drawdown?

The best run had a maximum drawdown of 4,199 EUR at the tested position size, against a net result of 23,151 EUR.

Does it trade long, short or both?

It only takes long trades.

Related

Strategies like this one

Heikin Ashi Color Flip

Best run on the same market, DAX 40.

1.12 PF · 3,692 trades

Stochastic Reversal With Smoothed RSI

Also a pattern strategy.

1.68 PF · 316 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