Candlesticks · Three-candle patterns
Three white soldiers candlestick pattern: rules and real results
How to identify three white soldiers, the strict shadow rule that makes TA-Lib’s version rare, real examples from Walmart and Citigroup, and what 12 cases did next.
On this page
Three white soldiers are three strong up days in a row, marching higher in step. Each candle is green (or "white" in the older black-and-white charting convention), each opens inside or near the previous candle's body, and each closes at or near its high. After a decline or a long sideways stretch, the pattern is read as buyers taking firm control.
The image is military: a column of soldiers advancing in formation, no one falling out of line. Steve Nison's book calls the full name three advancing white soldiers, and that is also the label Finabase gives the pattern on its charts.
This page sets out the rules TA-Lib uses, including one strict requirement that makes the pattern unusually rare on daily charts, the cousin patterns that look similar but warn of weakness, two real cases from Walmart and Citigroup, and the results of all 12 detections in two years of data on 60 large US stocks and ETFs.
Anatomy of three white soldiers
What to look for:
- Three green candles in a row, each closing above the one before.
- Orderly opens. Each soldier opens above the previous soldier's open but not far above its close, so it starts inside, or just above, the prior body. There are no big gaps; the advance is built session by session.
- Closes at or near the high. Little or no upper shadow on any of the three. Buyers held the gains into each close instead of watching them fade.
- Healthy bodies. The candles should be substantial, and none should be much smaller than the one before it.
Context matters as much as shape. After a decline the soldiers are a potential reversal. After a long rally they can mean exhaustion is near; traditional sources warn that soldiers far above any support can be overextended.
The exact rules Finabase uses
Finabase detects the pattern with TA-Lib's CDL3WHITESOLDIERS, which returns +100 on the
third soldier when all of these are true. "Average range" means TA-Lib's default candle
settings: the average high-low range of the preceding candles (10 for the shadow test,
5 for the "near" and "far" tests).
| Rule | TA-Lib's test |
|---|---|
| Three green candles | Each closes at or above its open |
| Higher closes | Close 3 > close 2 > close 1 |
| Very short upper shadows | Each candle's upper shadow is under 10% of the average range of the 10 candles before it |
| Each opens within or near the prior body | Open 2 above open 1 and no more than 20% of the 5-candle average range above close 1; same for open 3 |
| No sharp shrinking | Body 2 not shorter than body 1 by more than 60% of the 5-candle average range; same for body 3 vs body 2 |
| Third soldier not short | Body 3 longer than the average body of the 10 candles before it |
Three things to notice about this test:
- The shadow rule is the bottleneck. All three candles must close within a tenth of a typical day's range from their highs. On daily charts of large stocks, three such closes in a row are uncommon, which is why there were only 12 detections in two years across 60 symbols.
- Only the third body is size-tested against the average. The first two only need to be green and not much smaller than their predecessor. Small first soldiers are allowed.
- No trend test. The source comment says the pattern is significant in a downtrend but the function does not check. Only 3 of our 12 cases came after a 10-session decline.
Why the soldiers matter to traders
A single strong green day can be a short squeeze, a reaction to news, or noise. Three in a row, each closing near its high, tell a more persistent story. Each morning, the stock opens roughly where it closed, so there is no overnight panic or euphoria. Each afternoon, buyers keep bidding into the close, so the people who bought during the session end it with a profit. Sellers are never given a gap to sell into or a fade to exploit.
That steady accumulation is what traders mean by "strength". It suggests buyers with conviction, perhaps larger institutions building positions over several days rather than a single burst of retail enthusiasm.
The same evidence can be read the other way. Three strong days use up a lot of buying power. If the soldiers arrive late in an advance, the people most eager to buy may already have bought.
Confirmation and warning signs
Because the pattern already spans three sessions of strength, traders tend to look for signs that it is not running out of steam:
- A further close above the third soldier's high, the confirmation rule in our test.
- Bodies that hold their size. If the third body is clearly smaller than the first two, or develops an upper shadow, the pattern is drifting toward an advance block or a stalled pattern, both read as weakening.
- Volume rising, or at least steady, across the three days.
- Momentum not overheated. A reading on the Relative Strength Index (RSI): how to read and use it far into overbought territory after the soldiers can mean the move is stretched.
Two real examples
Walmart, September 3, 2025 (worked). After a 1.8% dip over ten sessions, Walmart posted three green candles: $96.10 to $96.98 on August 29, $97.23 to $97.85 on September 2, and $97.85 to $99.44 on September 3. The last one closed exactly at its high. The next session closed at $100.93, above the pattern, which confirmed it. Five sessions after the pattern the stock was up 1.0%, and after ten it was up 4.9%. Notice how small the first two bodies were, under a dollar each on a $97 stock. TA-Lib accepts that because only the third body is compared with the average.
Citigroup, October 2026 (failed). Citi printed three white soldiers ending October 9, 2026 ($125.90 to $127.32, $126.61 to $128.08, $128.09 to $129.64), after a 3.5% ten-session decline. On October 12 it rose again to $131.92, which both confirmed the first pattern and completed a second, overlapping set of soldiers. The next day, October 13, the stock fell 5.6% to $124.53, below both patterns. Ten sessions after the first signal Citi was 7.0% lower, and ten sessions after the second it was 8.2% lower. Four consecutive strong closes did not protect against a single bad session.
What the data says
We ran CDL3WHITESOLDIERS over daily bars from October 30, 2024 to October 29, 2026 for 60
large US stocks and ETFs (29,760 day-samples). A hit is a higher close five sessions after
the pattern.
| Group | Cases | Higher after 5 sessions | Average 5-session return | Average 10-session return |
|---|---|---|---|---|
| Any trading day (baseline) | 29,760 | 53.1% | — | — |
| Every three white soldiers | 12 | 66.7% | −0.31% | −0.91% |
| Confirmed, measured from the confirmation close | 7 | 57.1% | −0.29% | — |
The 12 detections came from just 7 symbols, including three each for Citigroup and Netflix and two for PepsiCo. Eight of the 12 were higher a week later, yet the average return was negative, because the losers, such as Citi's October 2026 pair, fell further than the winners rose.
Three white soldiers versus look-alikes
| Pattern | Shape | Usual reading |
|---|---|---|
| Three white soldiers | Three rising green candles, steady size, closes near the highs | Strength, possible reversal up |
| Advance block | Three rising green candles with shrinking bodies or growing upper shadows | Advance losing steam |
| Stalled pattern | Two strong green candles, then a small one near the top | Advance pausing |
| Three black crows: meaning, TA-Lib rules and real examples | Three falling red candles with closes near the lows | The bearish mirror image |
| Three outside up and down: engulfing plus a follow-through day up | An engulfing pair plus a higher close | Reversal after a decline |
The difference between soldiers and an advance block is subtle: the same three green candles, but with the later ones getting smaller or leaving upper shadows. TA-Lib's "no sharp shrinking" rule exists precisely to keep the two apart.
An educational outline for trading it
This is an educational outline of how the pattern is commonly approached, not a recommendation. The numbers are invented.
- Look at what came before. Soldiers rising out of a decline or a base mean something different from soldiers appearing after a long rally.
- Inspect the third candle. A full body with no upper shadow keeps the pattern intact; a shrunken one is a warning.
- Account for the distance travelled. Three strong days can leave the price well above any support, which pushes a sensible stop a long way down.
- Common stop placements are below the second soldier's low or the midpoint of the three-day move.
- Size from that distance, not from conviction.
How Finabase shows three white soldiers
- Charts. In the chart's candlestick list the pattern is labeled Three Advancing White
Soldiers (
CDL3WHITESOLDIERS). Adding it marks the third soldier of every detection. - Scanner. The candlestick scanner sorts detections by the sign of TA-Lib's output. The soldiers always return +100, so they appear on the Bullish list, and only on the rare days the strict shadow rule is met.
- Signals tab. The Candlestick gauge on each symbol's Signals tab (for example AAPL's) turns the most recent detection of each of 61 patterns within the last eight bars into a vote. Three white soldiers counts as a Buy vote from the day it fires through the following seven bars.
Frequently asked questions
Is three white soldiers bullish or a continuation pattern?
Both, depending on where it appears. After a decline it is a potential bullish reversal. Within an uptrend it reads as continuation, and after a long, steep rally it can be a sign of exhaustion.
Why does Finabase call it "Three Advancing White Soldiers"?
That is the pattern's full traditional name, and the label the app's chart uses. It is the same pattern as three white soldiers.
Why is the pattern so rare in Finabase?
TA-Lib requires every one of the three candles to close within 10% of a typical day's range from its high. Three such closes in a row are unusual, so the pattern appeared only 12 times in 29,760 daily bars.
What is the opposite of three white soldiers?
Three black crows: meaning, TA-Lib rules and real examples: three consecutive red candles with lower closes, each closing near its low.
Summary
Three white soldiers capture a market climbing in disciplined steps: three green candles, orderly opens, closes pinned to the highs. TA-Lib's version enforces the "closes at the high" part strictly, which makes the pattern rare, and it ignores the trend before it. In our data it fired just 12 times; most were followed by gains, but the average was a loss, and the sample is too small to judge. Read the soldiers in context, watch the third candle for signs of tiring, and accept that a strong three-day advance often leaves the stop a long way below.
Sources and further reading
- Steve Nison, Japanese Candlestick Charting Techniques (New York Institute of Finance, 1991)
- Thomas N. Bulkowski, Encyclopedia of Candlestick Charts (Wiley, 2008)
- TA-Lib source code — CDL3WHITESOLDIERS and the default candle settings
- Finabase chart data — daily bars for 60 US stocks and ETFs, 2024-10-30 to 2026-10-29; patterns detected with TA-Lib CDL3WHITESOLDIERS