Last Updated on 10 February, 2024 by Trading System
We have yet to see much quantified backtest of candlestick patterns. Practically all candlestick “analysis” is based on anecdotal evidence and some random charts showing successful trades (and ignoring the bad ones). Do candlesticks really work?
We decided to find out and we sat down to quantify ALL the candlestick patterns that exist. Over the last weeks, we tracked down ALL candlestick patterns and backtested them. The results are summarized in the table below and additionally, we have compiled all the patterns into easy-to-test Amibroker code.
The result is a complete backtest of all 75 candlestick patterns that exist!
We have made two products based on our research:
- Product one: Backtests of all the patterns with graphs, performance metrics, and explanations.
- Product two: A second product that includes the Amibroker code for all patterns.
All backtests are based on S&P 500 (SPY) from its inception until today.
75 candlestick patterns backtested
If you do a search on the internet and make a table of all the candlestick patterns out there, you might count a higher number than 75. However, many patterns are more or less the same with just minor differences, and some are even the same but with a different name.
How do you get access to our research?
The research is accessible via two products in our shop: one product with all the reports, and one product that additionally has all the Amibroker code.
10 best candlestick patterns – Performance Sample
To give you an idea if it works or not, we compiled a backtest (S&P 500) with the ten best candlestick patterns that have more than 50 trades since 1993 (ranked on profit factor). The equity curve below summarizes how 100 000 invested in 1993 would have grown until today (compounded and taking just one position at a time):
The strategy performance metrics read like this (slippage and commissions not included):
- #trades: 705
- CAGR: 10.6 (buy and hold 7.9%) – dividends not included in the backtest
- Win rate: 72%
- Exposure (time in the market): 35%
- Avg bars held: 4.7 (average holding time is almost 5 trading days)
- Max consecutive winners: 18
- Max consecutive losers: 4
- Max drawdown: 28%
- Risk-adjusted returns: 30.4%
- Profit factor: 2.5
- Sharpe Ratio: 1.35
The annual returns of the ten best candlestick patterns look like this:
We would say this is pretty good! You would have managed a better return than owning the S&P 500 and at the same time being invested only 35% of the time and thus avoiding the worst drawdowns. The risk-adjusted return is 30%! (Please read more about risk-adjusted returns)
Is it any guarantee that the future will be just as good? Of course not.
The results are summarized in this sortable table:
Pattern | #Trades | Avg P\L | Max DD | Win Ratio | Profit Factor | Annual Return | Exposure | Rank |
---|---|---|---|---|---|---|---|---|
1 | 5 | 4.15 | -2.43 | 100 | N/A | 0.68 | 0.18 | 1 |
2 | 2 | 1.37 | 0 | 100 | N/A | 0.09 | 0.03 | 2 |
3 | 10 | 1.3 | -4.41 | 90 | 5.85 | 0.44 | 0.52 | 3 |
4 | 47 | 1.04 | -4.96 | 82.98 | 5.36 | 1.64 | 2.58 | 4 |
5 | 20 | 0.98 | -3.96 | 80 | 7 | 0.66 | 1.11 | 5 |
6 | 106 | 0.73 | -14.34 | 80.19 | 2.92 | 2.59 | 4.94 | 6 |
7 | 55 | 0.72 | -9.68 | 74.55 | 2.68 | 1.32 | 2.73 | 7 |
8 | 15 | 0.7 | -8.94 | 73.33 | 2.48 | 0.34 | 0.8 | 8 |
9 | 25 | 0.67 | -18.63 | 88 | 1.91 | 0.53 | 1.21 | 9 |
10 | 1 | 0.66 | -0.48 | 100 | N/A | 0.02 | 0.04 | 10 |
11 | 9 | 0.65 | -2.98 | 88.89 | 7.93 | 0.2 | 0.38 | 11 |
12 | 58 | 0.62 | -9.27 | 79.31 | 3.27 | 1.21 | 2.58 | 12 |
13 | 14 | 0.62 | -2.66 | 78.57 | 8.93 | 0.29 | 0.43 | 12 |
14 | 51 | 0.61 | -7.17 | 68.63 | 2.51 | 1.04 | 3.38 | 14 |
15 | 46 | 0.6 | -10.19 | 69.57 | 2.49 | 0.91 | 3.05 | 15 |
16 | 13 | 0.58 | -9.28 | 53.85 | 1.63 | 0.23 | 0.98 | 16 |
17 | 13 | 0.58 | -9.28 | 53.85 | 1.63 | 0.23 | 0.98 | 16 |
18 | 122 | 0.57 | -15.7 | 80.33 | 3.86 | 2.38 | 4.81 | 18 |
19 | 16 | 0.56 | -3.68 | 75 | 4.43 | 0.3 | 0.62 | 19 |
20 | 276 | 0.55 | -16.6 | 71.74 | 2.63 | 5.16 | 13.79 | 20 |
21 | 192 | 0.5 | -18.2 | 69.27 | 2.14 | 3.19 | 9.9 | 21 |
22 | 115 | 0.44 | -15.34 | 76.52 | 2.31 | 1.69 | 4.76 | 22 |
23 | 45 | 0.43 | -12.59 | 62.22 | 1.93 | 0.64 | 1.99 | 23 |
24 | 67 | 0.43 | -13 | 79.1 | 2.33 | 0.96 | 2.77 | 23 |
25 | 114 | 0.42 | -23.75 | 73.68 | 1.63 | 1.55 | 6.17 | 25 |
26 | 50 | 0.42 | -3.88 | 72 | 3.19 | 0.7 | 2.92 | 25 |
27 | 25 | 0.41 | -9.93 | 60 | 1.71 | 0.33 | 1.17 | 27 |
28 | 69 | 0.41 | -18.01 | 69.57 | 1.54 | 0.88 | 3.95 | 27 |
29 | 80 | 0.37 | -25.11 | 68.75 | 1.55 | 0.94 | 4.56 | 29 |
30 | 52 | 0.37 | -8.51 | 75 | 2.11 | 0.64 | 2.29 | 29 |
31 | 53 | 0.37 | -17.78 | 79.25 | 1.71 | 0.63 | 2.56 | 29 |
32 | 54 | 0.37 | -8.96 | 72.22 | 1.98 | 0.67 | 2.13 | 29 |
33 | 120 | 0.36 | -22.62 | 70.83 | 1.59 | 1.37 | 6.43 | 33 |
34 | 285 | 0.36 | -25.61 | 76.49 | 1.75 | 3.34 | 11.31 | 33 |
35 | 112 | 0.34 | -14.34 | 73.21 | 1.92 | 1.26 | 7.08 | 35 |
36 | 62 | 0.34 | -12.37 | 74.19 | 1.89 | 0.7 | 2.79 | 35 |
37 | 10 | 0.34 | -4.11 | 80 | 2.03 | 0.11 | 0.35 | 35 |
38 | 208 | 0.32 | -18.69 | 67.79 | 1.68 | 2.2 | 11.57 | 38 |
39 | 45 | 0.3 | -16.79 | 68.89 | 1.39 | 0.41 | 2.59 | 39 |
40 | 19 | 0.29 | -7.96 | 63.16 | 1.76 | 0.18 | 0.84 | 40 |
41 | 32 | 0.27 | -5.16 | 71.88 | 2.11 | 0.29 | 1.19 | 41 |
42 | 9 | 0.26 | -4.11 | 77.78 | 1.72 | 0.08 | 0.33 | 42 |
43 | 5 | 0.25 | -1.15 | 60 | 2.99 | 0.04 | 0.18 | 43 |
44 | 40 | 0.25 | -9.26 | 72.5 | 1.68 | 0.33 | 1.94 | 43 |
45 | 500 | 0.24 | -24.79 | 70 | 1.48 | 3.77 | 24.33 | 45 |
46 | 234 | 0.23 | -24.53 | 77.35 | 1.4 | 1.68 | 11.36 | 46 |
47 | 234 | 0.23 | -24.53 | 77.35 | 1.4 | 1.68 | 11.36 | 46 |
48 | 57 | 0.23 | -8.49 | 64.91 | 1.63 | 0.43 | 2.93 | 46 |
49 | 39 | 0.22 | -6.23 | 76.92 | 1.61 | 0.28 | 1.86 | 49 |
50 | 13 | 0.16 | -5.84 | 53.85 | 1.39 | 0.07 | 0.66 | 50 |
51 | 40 | 0.15 | -10.78 | 77.5 | 1.34 | 0.19 | 2.07 | 51 |
52 | 159 | 0.15 | -25.86 | 63.52 | 1.24 | 0.72 | 10.66 | 51 |
53 | 15 | 0.15 | -13.08 | 73.33 | 1.14 | 0.06 | 0.6 | 51 |
54 | 1 | 0.13 | 0 | 100 | N/A | 0 | 0.01 | 54 |
55 | 42 | 0.09 | -22.94 | 61.9 | 1.05 | 0.06 | 2.4 | 55 |
56 | 42 | 0.08 | -6.43 | 69.05 | 1.26 | 0.12 | 1.79 | 56 |
57 | 58 | 0.07 | -6.89 | 58.62 | 1.14 | 0.12 | 2.98 | 57 |
58 | 250 | 0.05 | -34.61 | 66.4 | 1.02 | 0.14 | 12.8 | 58 |
59 | 9 | 0.03 | -5.21 | 55.56 | 1.04 | 0.01 | 0.58 | 59 |
60 | 74 | 0.03 | -14.53 | 72.97 | 1.03 | 0.04 | 4.01 | 59 |
61 | 11 | 0.03 | -3.77 | 63.64 | 1.12 | 0.01 | 0.6 | 59 |
62 | 2 | 0.02 | -3.34 | 50 | 1.01 | 0 | 0.14 | 62 |
63 | 34 | 0.02 | -14.71 | 67.65 | 0.97 | -0.03 | 1.67 | 62 |
64 | 12 | 0.01 | -12.33 | 75 | 0.98 | -0.01 | 0.79 | 64 |
65 | 35 | -0.01 | -5.91 | 51.43 | 0.97 | -0.02 | 1.82 | 65 |
66 | 97 | -0.02 | -27.87 | 63.92 | 0.93 | -0.16 | 6.96 | 66 |
67 | 88 | -0.03 | -11.64 | 60.23 | 0.93 | -0.11 | 4.54 | 67 |
68 | 33 | -0.17 | -13.35 | 69.7 | 0.75 | -0.21 | 1.57 | 68 |
69 | 31 | -0.2 | -24.24 | 67.74 | 0.76 | -0.28 | 2.16 | 69 |
70 | 70 | -0.32 | -34.05 | 61.43 | 0.68 | -0.9 | 5.27 | 70 |
71 | 2 | -0.39 | -1.89 | 0 | 0 | -0.03 | 0.15 | 71 |
72 | 19 | -0.47 | -16.83 | 47.37 | 0.59 | -0.33 | 1.52 | 72 |
73 | 16 | -0.78 | -17.01 | 50 | 0.35 | -0.44 | 1.04 | 73 |
74 | 13 | -0.94 | -15.69 | 53.85 | 0.35 | -0.43 | 0.99 | 74 |
75 | 7 | -1.57 | -19.75 | 57.14 | 0.34 | -0.42 | 0.64 | 75 |