CustomTradingPlatform .com
Log in Get started free
Home / Technical Analysis / Candlestick patterns / Three White Soldiers

Candlestick formation · Bullish

Three White Soldiers

What is it, in one line

Three long green bodies, each closing above the last.

Bullish · 3 candles · verdict: rule and thresholds below

Bullish 3 candles Traditional claim
Three White Soldiers — 13 price bars ending on the bar where the Three White Soldiers completes. The last 3 bars are the formation, shaded; the bars before them are the prior context the rule requires.
Verified example · fires the Three White Soldiers rule · not a schematic

What has to be true

Three long green bodies, each closing above the last. The engine checks the formation as an executable condition over open, high, low and close, with a trend filter applied before the count is kept.

candles = 3 candles
direction = Bullish
trend filter = prior decline
forward window = 10 bars

Method

What the engine tests

Three consecutive up candles, each opening within the previous candle’s real body and closing above the previous close, each with a short upper wick. The opening constraint matters: three rising candles that gap apart are a different formation, and dropping it turns this into any three up days.

Family
Candlestick
Bars
3 bars
Direction
Bullish
Class
Reversal
Prior context
Downtrend
TA-Lib
CDL3WHITESOLDIERS

The traditional claim

Traditionally read as a bullish reversal or continuation signal depending on where it appears, and treated as a sign of steady rather than erratic buying.

How this detection is wrong

Each open must sit inside the prior real body — three rising candles that gap apart are a different formation. maxOpenOutsideAtr is how far outside the prior body an open may sit, in ATR units; at its default of 0 the classical rule is reproduced exactly. maxUpperPct enforces the classical 'shaven head' requirement; without it the pattern degenerates into any three up days, which is how most published counts are produced.

The thresholds the detector uses

Published so the count can be reproduced. Every figure below is a parameter of the rule, not a preference: change one and the occurrence count changes with it.

Detection parameters for the Three White Soldiers
ParameterMeaningDefault
trendPeriodbars of prior trend inspected5
maxPriorSlopeprior slope must be below-1
minBodyAtrbody, at least, in ATR0.4
maxUpperPctupper wick, at most, as a share of the range0.25
atrPeriodbars of ATR used to size everything below14
maxOpenOutsideAtrhow far the open may sit outside, in ATR0
strict
Tighter thresholds. Fewer detections, each a cleaner example.
maxPriorSlope -1.5 · minBodyAtr 0.7 · maxUpperPct 0.15
loose
Wider thresholds. More detections, more marginal ones.
maxPriorSlope -0.5 · minBodyAtr 0.2 · maxUpperPct 0.4
no-context
The prior-trend requirement removed, so the shape alone fires.
maxPriorSlope not applied
any-three-up-days
maxUpperPct 1 · minBodyAtr 0 · maxPriorSlope not applied · maxOpenOutsideAtr not applied

Easily mistaken for

These share enough geometry that a detector can return more than one of them on the same bar. The engine reports every match rather than picking a winner.

Every pair on the site that can be mistaken for another, and what separates each: the look-alikes index.

Common questions

What is a Three White Soldiers candlestick pattern?

Three consecutive up candles, each opening within the previous candle’s real body and closing above the previous close, each with a short upper wick. The opening constraint matters: three rising candles that gap apart are a different formation, and dropping it turns this into any three up days. The detector also requires a prior downtrend, so the same shape in the wrong context is not counted.

Is the Three White Soldiers bullish or bearish?

It is read as bullish. Traditionally read as a bullish reversal or continuation signal depending on where it appears, and treated as a sign of steady rather than erratic buying.

When is a Three White Soldiers not a Three White Soldiers?

Each open must sit inside the prior real body — three rising candles that gap apart are a different formation. maxOpenOutsideAtr is how far outside the prior body an open may sit, in ATR units; at its default of 0 the classical rule is reproduced exactly. maxUpperPct enforces the classical 'shaven head' requirement; without it the pattern degenerates into any three up days, which is how most published counts are produced.

How is a Three White Soldiers detected?

As an executable rule over open, high, low and close, with 6 named parameters — including bars of prior trend inspected 5, prior slope must be below -1, body, at least, in ATR 0.4 — all published on this page so the count can be reproduced. Strict and loose variants are defined as well, so the sensitivity of the count to those thresholds is visible rather than assumed.

Measurement pending re-run

No hit rate is published here yet. The run that would supply one was computed on engine ca6d9e36c81c; the engine is now cfb08765de7c. Its candlestick rows included the still-forming bar, and it predates the chart formations entirely, so those figures have been withdrawn rather than published with a caveat. The definition above is unaffected: it is what the detector tests, and no re-run changes it.

Same shape, opposite reading

Three Black Crows

The shapes are close, and the prior trend is what decides which one fired: this rule requires a preceding downtrend, its mirror a preceding uptrend.

Three Black Crows: Three down candles, each opening inside the previous body and closing lower, with short lower wicks.

How this was measured →

Other 3-candle formations

All 107 →
Three Black Crows Three long red bodies, each closing below the last.
Identical Three Crows Three red bodies, each opening at the previous close.
Two Crows A gap up, then two red bodies filling it back in.
Upside Gap Two Crows Two crows where the second engulfs the first.

Size a trade on this setup before you take it.