As of 12/20/2024
Indus: 42,840 +498.02 +1.2%
Trans: 15,892 +32.54 +0.2%
Utils: 986 +14.76 +1.5%
Nasdaq: 19,573 +199.83 +1.0%
S&P 500: 5,931 +63.77 +1.1%
|
YTD
+13.7%
0.0%
+11.9%
+30.4%
+24.3%
|
44,200 or 41,750 by 01/01/2025
16,100 or 17,700 by 01/01/2025
1,050 or 975 by 01/01/2025
20,500 or 19,300 by 01/01/2025
6,100 or 5,775 by 01/01/2025
|
As of 12/20/2024
Indus: 42,840 +498.02 +1.2%
Trans: 15,892 +32.54 +0.2%
Utils: 986 +14.76 +1.5%
Nasdaq: 19,573 +199.83 +1.0%
S&P 500: 5,931 +63.77 +1.1%
|
YTD
+13.7%
0.0%
+11.9%
+30.4%
+24.3%
| |
44,200 or 41,750 by 01/01/2025
16,100 or 17,700 by 01/01/2025
1,050 or 975 by 01/01/2025
20,500 or 19,300 by 01/01/2025
6,100 or 5,775 by 01/01/2025
| ||
Initial release: 12/16/24.
Kevin McDonald brought the 2-Dance candlestick pattern to my attention in late 2024. Others may have found the same pattern earlier and call it something different, but I offered to test it for him. This article discusses my findings.
2-Dance
|
Does the 2-dance pattern outperform? That depends. I hate when people qualify their language like that. If you look at other small price patterns, it's a lower mid-list performer in stocks, near the top of the list when trading ETFs, and in second place for cryptocurrency trades (as I write this. I've other patterns to test).
If you trade the dance pattern, you'll want to do so only when it acts as a reversal of the short-term downtrend. Avoid shorting a stock based on the 2-dance pattern (meaning price tends to rise).
Because shorting a dance pattern results in losses, you might think of trading a busted downward breakout (price breaks out downward from the dance pattern and quickly reverses to soar. You buy long during the upward move). I tested the combination in stocks, ETFs, and cryptocurrency. None of the trades beat the non-busted benchmark, and all of the cryptocurrency trading results (average profit per trade) were losses. That was a surprise.
Here are the more important findings.
In this article, I reference parts of a candlestick pattern. The associated figure shows the various pieces.
A single candlestick is called a line. The day's high price is charted at the top, the low at the bottom, and the position of the opening and closing prices determines the candle's body color. The body of the candle can be a thin line (when all four prices are the same) or a rectangle. Often, though, you'll see a colored body, either white or black (or whatever colors you choose).
White bodies means price has closed above the day's open (on the daily scale). Black bodies means price has closed the day below the open. The color change has nothing to do with the prior day's close (in most implementations, that is).
When Mr. McDonald contacted me about the 2-dance pattern, he had lots of ideas about how it worked, but no proof. Let's look at an example of what he saw in many stocks.
The red square outlines a 2-dance pattern in 3D systems (DDD) in November 2021. The first candle has a tall lower shadow and small upward one. The second candlestick in the pattern has the reverse, a tall upper shadow and small lower one.
The bodies of the candle pair overlap somewhat. In this example the first body is black, meaning price opened higher than it closed. The second candle looks like a northern doji or perhaps an imperfect rickshaw man
Before testing, Mr. McDonald wasn't sure if candle color, shadow length, body color, and other variables were important to performance. He suspected the 2-line candle acted like a spinning top, a candle pattern that just takes up space on the chart and has little to no predictive value.
The following "target exit" tests determine how well the pattern behaves in stocks, ETFs (exchange traded funds), and cryptocurrency. I want to compare this pattern with other small patterns, so I use the same testing method for each pattern.
See the associated image. Restrictions are few on the two price bars. Each price bar in the pattern must have a shadow that is at least three times the height of the body. If the body is x, then the longer of the two shadows should be 3x or more (at least three times the body height).
If the shorter shadow is y, then the longer shadow must be at least twice the height of the shorter one (2y). The longest shadows can be on the same side of the two candle lines. The body color wasn't used for identification of the dance pair. I excluded a four-price doji (a price bar with the open, close, high, and low prices sharing the same value).
Shown in the chart is an example of the 2-dance pattern in a stock, highlighted by the red square.
In this example, the 2-dance pattern appears in a strong downtrend.
Entry triggered when the stock climbed above the top of the dance pattern (top green line, a buy stop placed a penny above the top of the higher candle line).
A day later, the trade was stopped out for a loss (a stop-loss order set a penny below the lower of the two shadows in the pattern triggered). Oops.
I tested the 2-dance pattern as I have other small patterns. I placed a buy-stop a penny above the top of the tallest price bar in the dance pattern, a stop-loss order a penny below the lowest price bar in the pattern, and a target exit at twice the height of the pattern added to the top of it.
If things work as expected, winning trades should make twice as much as losing trades.
The following table shows what I found.
Metric | 2-Dance In Uptrend | Uptrend Benchmark | 2-Dance In Downtrend | Downtrend Benchmark |
Trades | 7,241 | 6,018 | 6,242 | 5,373 |
Average profit/loss per trade | $54.37 | $48.01 | $83.54 | $68.70 |
Win/loss ratio | 42% | 40% | 45% | 42% |
Average hold time (days) | 12 | 15 | 12 | 15 |
Winning trades | 3,055 | 2,402 | 2,816 | 2,262 |
Average gain of winners | 6% | 7% | 6% | 7% |
Average hold time of winners (days) | 15 | 19 | 16 | 20 |
Losing trades | 4,186 | 3,616 | 3,426 | 3,111 |
Average loss | -3% | -4% | -4% | -4% |
Average hold time of losers (days) | 11 | 13 | 11 | 13 |
I tested the dance patterns in a short-term up and down trend, compared to a benchmark under the same conditions (same stocks, same market, and so on).
The 2-dance pattern beats the benchmark for both trend directions, not by a lot, but some. The dance pattern works best when it acts as an upward reversal of the downtrend (with profit of $83.54 versus $68.70). By that, I mean price enters the 2-dance pattern from the top and also exits out the top (The inbound downtrend reverses and leaves the pattern rising).
This is an example of the 2-dance pattern in an exchange traded fund.
The red box highlights the dance pattern.
Entry occurs two days after the dance ends, with a stop-loss order placed a penny below the bottom of the dance.
The target exit is twice the height of the dance pattern added to the top of it.
In this example, the order to sell triggers for a profitable trade (price reaches the target exit).
This is the same test as the prior one except I used 94 exchange traded funds (ETFs) instead of common stocks.
Metric | 2-Dance In Uptrend | Uptrend Benchmark | 2-Dance In Downtrend | Downtrend Benchmark |
Trades | 2,291 | 6,675 | 1,813 | 5,631 |
Average profit/loss per trade | $49.24 | $48.84 | $76.71 | $51.31 |
Win/loss ratio | 47% | 45% | 49% | 45% |
Average hold time (days) | 11 | 13 | 11 | 13 |
Winning trades | 1,084 | 2,980 | 881 | 2,548 |
Average gain of winners | 4% | 4% | 4% | 5% |
Average hold time of winners (days) | 14 | 17 | 15 | 19 |
Losing trades | 1,207 | 3,695 | 932 | 3,083 |
Average loss | -2% | -3% | -3% | -3% |
Average hold time of losers (days) | 10 | 11 | 10 | 13 |
The dance pattern beats the benchmark but just by a little in uptrends ($49.24 versus $48.84). It performs much better as a reversal of the downward price trend with gains averaging $76.71 versus a benchmark of $51.31. The 49% win/loss ratio is one of the highest I've seen for small patterns.
The chart on the right shows how I tested performance in cryptocurrencies.
Here's a 2-dance in the cryptocurrency, AAVE (against the US Dollar). The red square highlights the dance pattern.
Entry occurs when the currency rises above the top of the dance pattern (an upward breakout).
A stop-loss order placed a penny below the bottom of the dance helps protect against adverse moves.
The target exit is twice the height of the dance added to the top of it. It triggered for a profitable sale.
This is the same test as the prior one except I used 38 crypto currencies instead of common stocks.
Metric | 2-Dance In Uptrend | Uptrend Benchmark | 2-Dance In Downtrend | Downtrend Benchmark |
Trades | 144 | 2,491 | 158 | 2,650 |
Average profit/loss per trade | $136.43 | $214.65 | $224.85 | $147.18 |
Win/loss ratio | 44% | 47% | 49% | 43% |
Average hold time (days) | 6 | 7 | 6 | 7 |
Winning trades | 63 | 1,182 | 77 | 1,140 |
Average gain of winners (days) | 11% | 12% | 11% | 11% |
Average hold time of winners | 5 | 6 | 7 | 7 |
Losing trades | 81 | 1,309 | 81 | 1,510 |
Average loss | -6% | -6% | -6% | -6% |
Average hold time of losers (days) | 4 | 6 | 5 | 7 |
The dance pattern falls well short of the benchmark performance in uptrends but my guess is that's because of the low 144 trades (versus 2,491 for the benchmark). The dance pattern in a downtrend works much better, with the average trade making $224.85 versus $147.18 for the benchmark. My guess is that the 158 trades are not enough samples to compete against the 2,650 the benchmark uses. I'd be cautious trading the dance in cryptocurrencies.
I programmed my computer to find two adjacent price bars on the daily scale in stocks from January 1990 to December 2024. Because there were a lot of them, I catalogued every-other-one.
I obeyed these selection rules for the tests that follow, but also for the target exit tests already discussed.
I did not restrict the selection by body color or opposing tall shadows (one up and one down). I let the data determine the best combination for performance. Let's discuss the findings.
For performance testing, I used these trading rules.
The chart shows an example. Price breaks out upward from the 2-dance pattern (which I highlight in the red box) when it climbs above the top of the pattern. The uptrend stops before the stock reaches the target. Instead, the stock falls and triggers the stop-loss order placed a penny below the lower of the two dance price bars.
Benchmark. I randomly grabbed any two adjacent price bars, selected so their numbers didn't fill my spreadsheet (meaning I skipped every x patterns before cataloging one). I used the same entry, height exit, stop-loss provisions, and the same stocks from 1990 to 2024 to determine the average performance.
Does the direction (up or down) of the long shadow influence performance of the 2-dance?
The following table sorts the data by whether the long shadow points up or down.
Line 1: Line 2: | Up Up | Up Down | Down Up | Down Down |
Upward breakout, up trend | $66.90 | $33.89 | $61.50 | $57.12 |
Upward breakout, down trend | $77.46 | $74.66 | $92.75 | $87.09 |
Downward breakout, up trend | $(1.66) | $(33.43) | $(46.96) | $(9.94) |
Downward breakout, down trend | $(21.25) | $(49.92) | $(73.56) | $9.15 |
Notice that in seven of eight cells, the profit from downward breakouts is actually a loss. The remaining profitable one ($9.15 for both long shadows facing downward) is well below the profit from all of the other cells. This finding tells me that you shouldn't short a stock showing a 2-dance pattern.
The rest of this article will not discuss findings related to downward breakouts because of inferior performance (verified by other metrics, too).
Findings
Does the body color of the two candle lines in the 2-dance pattern matter to performance?
In a doji candlestick pattern (a one-line candlestick), the opening and closing prices are the same (or nearly so), so the body does not have a color. Reference the chart in the Introduction for a refresher.
In the adjacent picture, price bar A shows a white candle when price closes higher than it opened.
Candle B is black. Price closes below where it opened.
Candle C is a doji, where the opening and closing prices are the same.
The following table shows the results of testing the performance of the 2-dance pattern in bull markets with upward breakouts (remember, downward breakouts sucked), sorted by the inbound price trend (up or down).
Let's take a look at the results.
Left Candle Color | Right Candle Color | Profit | Rank |
5-Day Price Uptrend | |||
Any color | Doji | $110.18 | 1 (Best) |
Doji | Doji | $101.48 | 2 |
Doji | Any color | $65.13 | 3 |
White | White | $64.19 | 4 |
White | Black | $48.89 | 5 |
Benchmark | Any color | $48.01 | 6 |
Black | Black | $34.50 | 7 |
Black | White | $29.41 | 8 (Worst) |
5-Day Price Downtrend (Below) | |||
Any color | Doji | $147.86 | 1 |
Doji | Any color | $128.74 | 3 |
Doji | Doji | $115.82 | 2 |
White | Black | $89.13 | 5 |
Black | Black | $83.77 | 7 |
White | White | $72.49 | 4 |
Benchmark | Any color | $68.70 | 6 |
Black | White | $43.28 | 8 |
The top half of the table shows the performance in a short-term uptrend. The first two rows show vastly superior performance ($110.18 and $101.48) if the second candle is a doji. Indeed, if either or both of the lines in the 2-dance pattern are a doji, then expect better performance. Nearly all of the color combinations beat the benchmark (rank 6, $48.01, where I ignored candle color and picked any two adjacent price bars).
In an uptrend, a 2-dance pattern with an upward breakout results in the best performance, especially if the second candle is a doji. The best performance comes when the 2-dance is a continuation of the uptrend.
The lower left half of the table shows the performance when the 2-dance pattern had an upward breakout even though price trended downward before the start of the 2-dance pattern. In other words, the 2-dance pattern acted as a reversal of the downtrend.
Notice that the top ranked doji as the second candle performed best in this test but also beat the uptrend results ($147.86 versus $110.18). In other words, 2-dance patterns acting as reversals outperformed the same pattern acting as a continuation of the uptrend. As you scan down the table and compare the results with the top half, you'll see that the bottom results beat the top results. In short, reversals outperformed.
I set the rank according to the uptrend portion of the table. In the downtrend half of the table, the top three performers remain the top three. In other words, the best performance comes when the second price bar in the 2-dance pattern is a doji. That's the same result as the uptrend study. The lower half of the table shows some mixing of the rank. The black-white color combination remains in last place, though.
I already explained what a body looks like for a candlestick, but let's review. The body of a candle is the portion between the opening price and the closing price.
In the adjacent figure, the body is the black square. In the 2-dance pair at A, the two white bodies share complete overlap. Pair B does not share body overlap.
I divided the results into body overlap and inside/outside days. Inside and outside days are two special patterns. The inside day has the second price bar inside the high-low range of the first bar. The outside day has the reverse, where the first price bar is inside the high-low range of the second. The two patterns may or may not have overlapping bodies.
Aesthetics aside, how important to performance is body overlap? Let's look at what the data says.
Category | Profit | Rank |
5-Day Price Uptrend | ||
No overlap | $63.38 | 1 (Best) |
Benchmark | $48.01 | 2 |
Some overlap | $36.53 | 3 |
Inside day | $65.52 | 1 (Best) |
Neither inside nor outside day | $52.73 | 2 |
Outside day | $47.02 | 3 |
5-Day Price Downtrend (Below) | ||
Some overlap | $87.46 | 1 (Best) |
No overlap | $81.38 | 2 |
Benchmark | $68.70 | 3 |
Inside day | $95.02 | 1 (Best) |
Outside day | $81.89 | 2 |
Neither inside nor outside day | $80.65 | 3 |
Look at the first place winner in each portion of the table. We find that 2-dance pairs with some overlap outperform in three of four combinations. Only the top row shows better performance from 2-dance patterns with no overlap (and of the four first-place winners, the top row has the lowest average profit per trade). The benchmark did not pay any attention to overlap, so the two price bars may or may not have had overlapping bodies.
Look at the inside/outside day portion of the table. The inside day pattern performed best. The inside day acting as a reversal of the downtrend with an upward breakout posts the most average profit per trade: $95.02.
Does height overlap influence performance? Look at the chart. 2-dance pair A has complete overlap (the area between the two green lines). The high and low prices match. Pair B has less overlap between the two price bars.
I measured overlap by comparing the area of overlap to the height of the 2-bar pattern. In pair B, the overlap from the left candle measures from the day's high to the opening price, compared to the height of the 2-bar candle pattern. The height of pair B is the high on the second candle to the low of the first candle. The overlap for candle B is between the two green lines.
Let's look at the results.
Percentage Overlap | Trend Up | Trend Down |
0%-9% | $76.58 | $107.67 |
10% to 19% | $53.43 | $70.92 |
20% to 29% | $61.28 | $92.22 |
30% to 39% | $52.45 | $71.27 |
40% to 49% | $67.44 | $97.25 |
50% to 59% | $57.05 | $79.28 |
60% to 69% | $26.33 | $79.57 |
70% to 79% | $32.60 | $89.76 |
80% to 89% | $22.46 | $10.78 |
90% to 100% | $97.85 | $102.48 |
Trend | U-shaped | Irregular down |
I'll show a picture of the results next, but let's look at the numbers. Breakout direction means the stock moved above the 2-dance pattern, triggering a buy stop placed a penny above the taller of the two price bars in the pattern. The trend direction is the direction of the 5-day price trend before the 2-dance pattern.
The left column lists the amount of overlap the first price bar had with the second as a percentage of the 2-bar's height.
For example, when the price bars had little overlap in an upward price trend, the trades made $76.58. As overlap increased, the performance deteriorated until the 90% range. There, performance spiked to $97.85 per trade.
The chart shows a visual representation of the table's results.
Line 1, the blue line, has a falling trend until a spike at the end. It's U-shaped, but mostly down. This is the 2-dance acting as a continuation pattern.
Line 2, the best performer, highlights how well reversal patterns work compared to continuation patterns (line 1). The line show a slight downtrend but holds steady until an overlap of 80% to 89% where the line dips, followed by a quick recovery.
Instead of another big table, I'm only showing the results in a chart. For small sample counts (below 30), I replaced the value with 0. That happened twice in the 10% column. I don't show a 0% column because of too few samples.
This chart shows the height of the first candle in the 2-dance pattern as a percentage of the height of the entire pattern. This is not a measure of overlap. It's a height (candle 1) versus height (2-bar pattern) comparison. The horizontal scale is a percentages representing how tall the first price bar is to the height of the 2-dance pattern.
Line 2 has highest point on the chart, but uses only 31 samples, so it would likely drop with additional samples. The line represents the performance (average profit per trade) for upward breakouts from the 2-dance patterns in a downtrend. The candle's height in this column represents those candles with a height from 10% to 19.99% of the total pattern's height. In other words, the first price bar is short and the second one is long.
For the two lines, from 30% and after, the performance doesn't vary much.
I checked the second candle height as a function of the dance pattern's height and mapped that against performance (average profit per trade).
The chart shows the results. I removed low sample counts, so the horizontal scale ranges from 20% to 100%. For example, those trades with upward breakouts in a downward price trend (line 2) where the second price bar in the dance pattern represented 20% to 29% of the total height, they made $132.68 of average profit per trade in 89 trades. Line 1, where the price trend leading to the dance pattern was upward, made almost the same: $131.66 per trade.
Both lines show that as the second price bar in the pattern gets taller, performance decreases.
I computed the median height of the two price bars. Those bars below the median height were short and those above the median were tall. The table shows the results of bar height versus performance.
For the first price bar in the dance pattern, the median was 74% of the pattern's height. For the second price bar, the median height was 70% of the total dance height.
Measure | Candle 1 Short | Candle 1 Tall | Candle 2 Short | Candle 2 Tall | Both Short | Both Tall | Bar 1 Tall Bar 2 Short | Bar 1 Short Bar 2 Tall |
Up trend (continuation pattern) | $53.19 | $55.57 | $60.35 | $48.29 | $55.08 | $44.93 | $65.44 | $51.38 |
Down trend (reversal pattern) | $81.66 | $85.59 | $89.16 | $77.54 | $82.06 | $73.40 | $96.73 | $81.24 |
Notice that the second row of numbers is the most profitable in the table, in all columns. That is, upward breakouts from the 2-dance pattern that act as reversals of the downtrend outperform the other variations (even against downward breakouts, which I don't show).
When we compare columns, a tall candle 1 outperforms. Short bars outperform on the second candle line.
If both price bars in the dance pattern are short and the breakout is upward, performance is better than for tall ones.
For grins, I tested the best combination of the two price bars: a tall first one and a short second one. The table shows the results in the "Bar 1 Tall, Bar 2 Short" column. As expected, reversals ($96.73) outperformed the continuation patterns ($65.44). The average profit per trade is the highest in the table.
I also added the reverse combination, a short bar 1 and tall bar 2. The column shows inferior results compared to the prior column.
What's a busted pattern? A pattern busts if it breaks out in the adverse direction, moves less than 10%, reverses, and shoots out the other side of the pattern. For the 2-dance, I wanted to test a busted downward breakout. That means, I waited for price to breakout downward, drop less than 10%, reverse, and rise above the top of the dance pattern. When it climbed above the top of the dance, I bought and traded the new breakout direction.
I tested busted 2-dance patterns using two ways to enter a trade. The first is to place a buy stop a penny above the top of the pattern. Price breaks out downward, drops less than 10% before moving back up. When price rises above the top of the pattern, we buy the stock and hopefully ride it to the target exit.
The second mechanism is to wait for price to close above the top of the dance pattern. The thinking here is to enter the trade once we're more certain of an uptrend starting. Because we don't adjust the target exit and are getting in late (compared to the prior entry mechanism), profits should drop but the win/loss ratio should tick up.
The win/loss ratio did improve from 35% (for entry a penny above the high) to 42% (while waiting for a close above the top of the pattern). However, profits also improved, which surprised me (especially for dance patterns in a downtrend). Even with these improvements, the results were below the benchmark for non-busted dance patterns.
Let me report briefly what I found in the following table, for busted downward breakouts in a bull market. The benchmark applies to non-busted dance patterns.
Configuration | Average Profit | Benchmark Profit |
ETFs uptrend, entry after close above dance high | $33.94 | $48.84 |
ETFs uptrend, entry a penny above dance high | $26.04 | $48.84 |
ETFs downtrend, entry after close above dance high | $24.92 | 51.31$ |
ETFs downtrend, entry a penny above dance high | $19.14 | $51.31 |
Stocks downtrend, entry after close above dance high | $11.75 | $68.70 |
Stocks uptrend, entry after close above dance high | $1.97 | $48.01 |
I do not show unprofitable trades (all cryptocurrency trades posted average losses). As the table shows, none of these busted combinations beat the non-busted benchmark. In other words, don't trade a busted dance pattern.
-- Thomas Bulkowski
Below are other short patterns...
Support this site! Clicking any of the books (below) takes you to
Amazon.com If you buy ANYTHING while there, they pay for the referral.
Legal notice for paid links: "As an Amazon Associate I earn from qualifying purchases."
My Stock Market Books
|
My Novels
|
I have flabby thighs, but fortunately my stomach covers them.