In this article
After this article, you can
- Reconstruct a larger interval’s OHLC from complete component candles.
- Explain how candle shape changes when the aggregation period changes.
Terms at hand: Backtesting · Trading Journal · Demo account · Doji Candle
Candlestick patterns name price shapes and sequences. They help describe a chart; a name does not establish a probability of profit. Start by measuring bodies and shadows and recording when the completed pattern is known. OHLC values describe the selected price series and interval, rather than the identity, intentions or continuous control of buyers and sellers.
What the shape of a candle actually tells you
O is the interval’s first price, H its highest, L its lowest and C its last. Body length is |C − O|; upper shadow is H − max(O, C), lower shadow is min(O, C) − L and total range is H − L. A rising body has C above O and a falling one C below O; colours depend on chart settings. These formulas do not reveal whether H or L was reached first.
A long body or shadow is a measurement, not proof of conviction or rejection. Identical OHLC can come from different intrabar paths, so a large rising body does not establish uninterrupted buying control. A shadow records an extreme outside the body without naming the traders involved. The guide to candlestick patterns worth knowing first provides terminology; keep interpretation separate from the measured shape.
A doji made from two other candles
A candle’s shape describes its chosen time interval. Changing that interval can give the same history a different label.
Scroll sideways to see the full diagram
Our own data: Two consecutive fictional H1 candles from one series, without missing observations. First: O 100, H 101, L 89, C 90. Second: O 90, H 102, L 88, C 100. Combine exactly 09:00–10:00 and 10:00–11:00 into 09:00–11:00; keep the time zone and price type unchanged.
Aggregation takes the first O, highest H, lowest L and last C. This gives O 100, H 102, L 88, C 100: a zero body. Neither H1 was a doji under the strict O = C definition. A larger interval does not preserve its component candle labels. OHLC documentation defines the period’s first, highest, lowest and last prices. This is an aggregation example, not a trade signal.
Single-candle shapes and their preceding context
Hammer and hanging man share a small body near the top, a long lower shadow and little upper shadow; the classic hammer description asks for a lower shadow at least twice the body. The name depends on a preceding decline or rise. Inverted hammer and shooting star instead have a long upper shadow and small body near the low, distinguished by preceding decline or rise. None forecasts a bounce by shape alone. The hammer pattern guide separates geometry from its context.
| Name | Shape | Context in the cited glossary |
|---|---|---|
| Hammer | Small upper-position body; long lower shadow | After decline |
| Hanging man | Hammer-shaped candle | After rise |
| Inverted hammer | Small lower-position body; long upper shadow | After decline |
| Shooting star | Inverted-hammer-shaped candle | After rise |
| Doji | Equal or nearby O and C | No direction from the body alone |
| Spinning top | Small body | Assess relative size |
| Bullish engulfing | Rising body contains earlier falling body | After decline |
| Bearish engulfing | Falling body contains earlier rising body | After rise |
| Morning star | Large falling body; small body gapped lower; rising close deep inside first body | Three-bar sequence after decline |
| Evening star | Large rising body; small body gapped higher; falling close deep inside first body | Three-bar sequence after rise |
A doji has equal or nearly equal O and C; a spinning top has a small body. Define “near” and “small” numerically in a scanner. A body at most 5% of its own high–low range is one possible invented rule, not the universal doji standard. Handle a zero range without division by zero. The doji and market indecision guide explains the terminology; equal prices do not prove weakened confidence or a future direction.
Multi-candle sequences and boundary rules
An engulfing candidate compares the second candle’s body with the first, rather than erasing every price in the first candle’s full High–Low range. A bullish second body contains the earlier bearish body under a stated boundary convention; the bearish version mirrors it. The shape alone does not establish a reversal probability. The engulfing guide develops the recognition rule.
The classic morning-star description includes a gap between the first large falling body and the second small body, followed by a rising close well inside the first. Evening star mirrors it. A no-gap detector is a modified rule rather than silently identical. Three white soldiers have three rising candles with progressively higher closes near their highs; three black crows have relatively long falling bodies closing near their lows. More candles do not automatically establish more reliable signals. The morning star and three white soldiers guides develop these different definitions.
Hesitation patterns: harami and half retracements
Harami compares a small second real body with an unusually large preceding body. The second body, rather than necessarily its entire high–low range, lies inside the first. The cited glossary permits either colour for the second candle; stricter scanners may choose another convention. Describe the trend context separately instead of treating a later candle as a guaranteed direction decision. See the harami pattern for explicit rules.
Two additional names use penetration into the previous body. In the cited piercing description, a long falling body after a decline is followed by a lower opening and a rising close more than halfway into that body. Dark cloud cover has a rising first body, a higher opening and a falling close well into it, preferably more than halfway. “Roughly halfway” alone is incomplete, and a partial penetration does not establish weaker performance than engulfing. Specify the gap and penetration convention.
Why no candle is a signal on its own
No verified FX reversal probability is supplied for these candle shapes. A historical stock-study percentage requires its source, sample, definition and outcome horizon before comparison with another market. Specify chart context and confirmation rules, then test the full strategy, including costs, rather than infer an edge from a pattern name.
Define any context filter rather than assume that support, a higher-timeframe trend and a later candle provide independent evidence. Several labels may use the same prices. Adding conditions changes the eligible sample and requires a comparison after costs. The guide to draw support and resistance helps record levels, but no level or extra label multiplies signal quality by definition.
Use fictional EUR/USD data: O = 1.1000, H = 1.1006, L = 1.0980 and C = 1.1005, with a 0.0001 pip. Body = 5 pips, upper shadow = 1, lower shadow = 20 and range = 26; 1 + 5 + 20 = 26. The lower shadow is four times the body. To choose a hammer context in this exercise, define a prior decline as three lower closes: 1.1050, 1.1030, 1.1010. That is our context rule, not a universal trend definition or evidence of a bounce.
A second fictional pair distinguishes body engulfing from full-range engulfing. Candle A: O = 1.1020, C = 1.1000, H = 1.1040, L = 1.0990. Candle B: O = 1.0998, C = 1.1022, H = 1.1030, L = 1.0995. B’s rising body contains A’s falling body, while B’s entire high–low range lies inside A’s range. Both statements are true; preceding context and boundary conventions remain separate.
Two labels can also share one observation. Take 12 fictional warm-up candles O/H/L/C = 100/110/98/105, then 100/101/96/98 and 97/102/85/101. On the final bar the pinned TA-Lib C 0.6.4 engulfing and hammer conditions each give code 100 with default settings. The last body has length 4, lower shadow 12 and upper shadow 1; its body 97–101 contains the previous 98–100 body. The two codes are classifications of one bar, not two independent observations or probabilities. Those functions do not themselves check the preceding trend.
The site’s published comparison of 120 completed Kraken EUR/USD trade-price H1 bars from 21–25 September 2026 reports 83 labels across 59 bars using 18 detectors; 19 bars have multiple labels. These are counts from that saved sample, not a Forex-wide frequency or profit study. Keep one instrument/interval/time identifier per bar and pattern labels as separate columns. Testing trades additionally requires quote-side fills, exits, costs and signal availability; a later confirmation cannot justify an earlier entry at that candle’s best price.
What to do tomorrow
- Fix the data and definitions. Record instrument, price basis, interval, time zone, pattern thresholds and context rule before classifying a chosen chart segment.
- Measure bodies and shadows. Calculate |C − O|, both shadows and H − L. Check the sum and handle zero-range candles separately.
- Record detection time and shared labels. Distinguish a pattern’s bar location from when it becomes known, and keep one observation identifier even if several detectors flag it.
- Test complete rules on later data. Keep failures and costs and avoid selecting only attractive examples. A week on demo or repeated labelled shapes does not establish live readiness or profitable execution.
If you want to organise your knowledge of candles within a broader course, a good starting point is the chapter on technical analysis in our library.
Check your understanding
One short exercise
About 2 min · you can try again
The first H1 opens at 100 and the second closes at 100. Combined H2 has High 102 and Low 88. What is its body size?
- 20, because each H1 body spans 10.
- 0, because the first O and final C both equal 100.
- 14, because 102 − 88 = 14.
Check the answer and explanation
0, because the first O and final C both equal 100.
|100 − 100| = 0. The full candle height of 14 is a different quantity from its body.
Frequently asked
What does recognising a candlestick pattern establish?
It establishes that a specified shape or sequence meets a definition on a given data series. It does not establish a probability of profitable trades. Historical stock-pattern statistics require their exact sample, outcome and horizon; they are not automatically Forex returns after costs. Our cited 120-bar Kraken comparison counts detector labels rather than profits. Define context, confirmation time, fills, exits and costs separately, retain failed cases and compare frozen rules on later data.
Which candlestick pattern is most important for a beginner?
Start with differences you can calculate: the body and shadows of one candle, body containment across two candles, then a defined three-candle sequence. The fictional EUR/USD candle here has a 5-pip body, 1-pip upper and 20-pip lower shadow. Its shape alone does not decide between hammer and hanging man; preceding context matters. In the second example B engulfs A’s body but stays inside A’s full range. These checks teach recognition without ranking a pattern as best or requiring a trade.
What does a long candle shadow (wick) mean?
An upper shadow is H − max(O, C); a lower shadow is min(O, C) − L. It records an extreme outside the real body, not who traded there or why. “Rejection” is an interpretation. OHLC alone does not identify the order of the high and low or uninterrupted control by one side. A long shadow may help meet a chosen pattern rule; the prior context, scanner thresholds and subsequent trading outcome are separate questions.
Sources & bibliography
-
Thomas N. Bulkowski Candlestick Patterns — index · An index of candlestick-pattern descriptions with links to the author's sample statistics. thepatternsite.com ↗
-
Thomas N. Bulkowski Bullish Engulfing — performance statistics · Describes bullish engulfing and the author's comparative pattern analysis. thepatternsite.com ↗
-
Thomas N. Bulkowski Morning Star — performance statistics · Describes the morning-star pattern and the author's sample results. thepatternsite.com ↗
-
Thomas N. Bulkowski Evening Star — performance statistics · Describes the evening-star pattern and the author's performance analysis. thepatternsite.com ↗
-
Steve Nison / CandleCharts Candlestick pattern glossary · Defines real bodies/shadows, context-dependent names, body containment and classic star gaps. Descriptive interpretations are separated from measured profit probabilities. candlecharts.com ↗
-
TA-Lib C 0.6.4 CDLENGULFING — pinned source · Body-only containment and one matching-edge codes are explicit; the function does not check the preceding trend. Integer codes classify shapes rather than win probabilities. raw.githubusercontent.com ↗
-
TA-Lib C 0.6.4 CDLHAMMER — pinned source · Adaptive body/shadow/previous-low conditions are documented in code. Two detectors can classify the same bar; no market-wide effectiveness claim follows. raw.githubusercontent.com ↗
