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.
Best run of 13. DAX 40, Daily, spread 3, from run pf:2026-10-13-DAX40-D.tsv:1.
| Period | Up to 2026-10-13 |
| Instrument | DAX 40, Daily |
| Spread | 3 points |
| Starting capital | 1,000,000 |
| Costs | Spread only. Commissions and overnight financing are not included. |
| Bars | Up to 200,000 bars, fewer where the instrument has less history |
| Last tested | 2026-10-13 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| DAX 40Best run | Daily | 1.74 | 398 | 54.02 | 23,151 EUR | -4,199 |
| Nasdaq 100 | 4 hours | 1.37 | 1,032 | 48.26 | 19,704 EUR | -2,781 |
| EUR/USD | 5 min | n/a | 6,287 | 37.98 | 83,779 USD | -78,437 |
| Nikkei 225 | 4 hours | n/a | 768 | 46.88 | 27,260 USD | -10,504 |
| Dow Jones | Daily | n/a | 384 | 52.60 | 22,828 EUR | -8,298 |
| Nasdaq 100 | Daily | n/a | 402 | 48.01 | 17,643 EUR | -7,076 |
| Dow Jones | 30 min | n/a | 2,615 | 47.11 | 14,238 EUR | -9,406 |
| DAX 40 | 4 hours | n/a | 930 | 49.03 | 6,839 EUR | -6,440 |
| Nasdaq 100 | 1 hour | n/a | 3,583 | 43.87 | 5,594 EUR | -5,171 |
| S&P 500 | Daily | n/a | 428 | 52.80 | 3,224 EUR | -1,543 |
| S&P 500 | 4 hours | n/a | 926 | 50.00 | 2,883 EUR | -1,029 |
| Gold | 4 hours | n/a | 931 | 48.44 | 2,503 EUR | -1,239 |
| Gold | Daily | n/a | 419 | 49.64 | 2,085 EUR | -846 |
Charts
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
// ============================================================== // 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
Questions
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.
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.
The best run had a maximum drawdown of 4,199 EUR at the tested position size, against a net result of 23,151 EUR.
It only takes long trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.