1. Valmy
  2. Learn
  3. Technical analysis
  4. T1

What does a candle tell me, and what does it hide?

Beginner 14 min read

Short answerA candle summarizes every trade in one fixed interval, such as five minutes, with four prices: the open (first trade), high, low and close (last trade), usually with the volume traded. It shows where price started and finished and how far it ranged. It hides whether the high or the low came first, the path between them and where most of the volume traded. Two synthetic price paths below draw the same hourly candle, yet a buy at 100.00 with a stop at 98.80 and a target at 102.80 loses 1.2% on one path and gains 2.8% on the other. Act on a candle only after it closes, and check shorter candles before trusting a backtest of stops and targets.

Valmy's v1 strategies are evaluated on closed five-minute candles (as of 26 November 2026). This lesson shows how a candle is defined, when it counts as closed, how longer candles are built from shorter ones, and why two very different price paths can draw exactly the same candle.

The parts of a candle: open, high, low, close and wicks#

A candlestick, or candle, draws one interval of trading as a box with a line through it. The box is the body and spans the open and the close. The thin lines above and below are the wicks (also called shadows): the upper wick reaches the highest traded price and the lower wick the lowest. An up candle closes above its open, and a down candle closes below it. Charting apps usually color them, often green and red. In this library's charts, up candles are hollow and down candles are filled, so you can tell them apart without relying on color.

A synthetic up candle opens at 100.00, reaches a high of 103.00 and a low of 98.50, and closes at 102.00. Brackets mark an upper wick of 1.00, a body of 2.00 and a lower wick of 1.50. A filled down candle beside it closes below its open.
Figure 1. Synthetic data. The body spans open and close, and the wicks reach the high and the low. Notice that the down candle has the same high and low as the up candle: only the body's direction differs.

Measuring a candle's body, wicks and range#

Four subtractions describe a candle's shape. For the up candle in Figure 1 (open 100.00, high 103.00, low 98.50, close 102.00):

  • Body = |close − open| = |102.00 − 100.00| = 2.00. The candle closed 2.00, or 2%, above its open.
  • Upper wick = high − the larger of open and close = 103.00 − 102.00 = 1.00.
  • Lower wick = the smaller of open and close − low = 100.00 − 98.50 = 1.50.
  • Range = high − low = 103.00 − 98.50 = 4.50.
  • Close location = (close − low) ÷ range = 3.50 ÷ 4.50 ≈ 0.78. A value of 1.0 means the candle closed at its high, and 0.0 means it closed at its low.

Read together, these numbers say that price traded 1.50 below the open at some point, finished 2.00 above it, and gave back 1.00 from the high before the close. A long upper wick shows that higher prices traded but did not hold until the close. It does not say who sold there, how much traded at those prices, or why.

When a candle opens and closes: intervals and UTC time on Binance#

A candle covers a fixed interval that starts on a clock boundary. On Binance, where candles are called klines, each candle is identified by its open time, and timestamps are milliseconds since 1 January 1970 in UTC by default (as of 26 November 2026). A five-minute candle that opens at 10:05:00.000 UTC on 26 November 2026 has the open time 1795687500000 and the close time 1795687799999, which is 10:09:59.999 UTC: one millisecond before the next candle opens. Until that moment the candle is still forming, and its high, low, close and volume can change.

Binance Spot offers intervals of 1 second; 1, 3, 5, 15 and 30 minutes; 1, 2, 4, 6, 8 and 12 hours; 1 and 3 days; 1 week; and 1 month (as of 26 November 2026). By default the intervals follow UTC, so a daily candle runs from 00:00 to 23:59:59.999 UTC. The candle endpoint also accepts a time zone, and with one set, the intervals are cut in that time zone instead. A chart set to another time zone can therefore show daily candles with different opens, highs, lows and closes from the same trades.

Binance's live candle stream sends updates for the current candle every one or two seconds, depending on the interval, and each update includes a flag that says whether the candle is closed. A candle you look at two minutes into a five-minute interval is a draft: its close is simply the latest trade so far.

Besides open, high, low, close and volume, each Binance candle carries its close time, the volume in the quote asset (for example USDT), the number of trades and the volume bought by takers. The lesson What does volume add to a price chart? explains those fields.

What "closed candle" means for a strategy and a backtest#

A rule evaluated on a closed candle can act only after that candle's close time. Valmy's v1 strategy language evaluates one closed five-minute candle at a time (as of 26 November 2026). A rule that reads the 10:05 candle runs after 10:09:59.999 UTC, so any order it sends can fill only at prices available after that, such as near the open of the 10:10 candle or later. Valmy's backtests follow the same principle: they evaluate at each candle's close and simulate the earliest execution on a later candle. A backtest that fills a trade at the signal candle's own close is using a price that was already in the past when the signal became known.

How stock candles differ: sessions and gaps#

Stock candles are built the same way during a trading session, but the session ends. On the New York Stock Exchange, the core session runs from 9:30 a.m. to 4:00 p.m. Eastern Time (as of 26 November 2026), so a daily stock candle usually covers those hours, and the next day can open far from the previous close, leaving a gap between two candles. Some stock charts also include early and late trading sessions, which changes the daily open, high, low and close. A crypto pair that trades around the clock has no such break, so its daily candle depends instead on which time zone cuts the day.

Building an hourly candle from twelve five-minute candles#

A longer candle can be built from shorter candles that fill the same interval exactly. Its open is the first short candle's open, its high is the highest high, its low is the lowest low, its close is the last close, and its volume is the sum of the volumes. Twelve five-minute candles from 10:00 to 10:55 UTC make one hourly candle covering 10:00 to 11:00. This works only when the short candles line up with the longer interval's boundaries and none is missing.

The table lists the twelve synthetic five-minute candles of Path A, which the next sections compare with a second path. Volume is in units of the base asset.

Start (UTC) Open High Low Close Volume
10:00 100.00 100.20 99.40 99.60 900
10:05 99.60 99.70 98.90 99.10 1,300
10:10 99.10 99.30 98.50 98.80 1,800
10:15 98.80 99.60 98.70 99.50 1,500
10:20 99.50 100.30 99.40 100.10 1,100
10:25 100.10 100.80 99.90 100.60 950
10:30 100.60 101.40 100.50 101.20 900
10:35 101.20 101.90 101.00 101.70 850
10:40 101.70 102.30 101.50 102.10 800
10:45 102.10 102.70 101.90 102.60 900
10:50 102.60 103.00 102.20 102.30 1,000
10:55 102.30 102.60 102.00 102.40 600
Twelve synthetic five-minute candles from 10:00 to 10:55 UTC. Price dips to a low of 98.50 at 10:10, climbs steadily to a high of 103.00 at 10:50 and closes the hour at 102.40. To the right, the single hourly candle they form has open 100.00, high 103.00, low 98.50, close 102.40 and volume 12,600.
Figure 2. Synthetic data. The hourly candle keeps only four prices and a volume total from the twelve five-minute candles. Notice how much of the path disappears.

Checking the hourly candle by hand#

Apply the four rules to the table:

  • Open = the 10:00 candle's open = 100.00.
  • High = the highest of the twelve highs = 103.00, in the 10:50 candle.
  • Low = the lowest of the twelve lows = 98.50, in the 10:10 candle.
  • Close = the 10:55 candle's close = 102.40.
  • Volume = 900 + 1,300 + 1,800 + 1,500 + 1,100 + 950 + 900 + 850 + 800 + 900 + 1,000 + 600 = 12,600 units.

The hourly candle is an up candle with a body of 2.40, an upper wick of 0.60 (103.00 − 102.40) and a lower wick of 1.50 (100.00 − 98.50). The same rules build a daily candle from 24 hourly candles, or a weekly candle from daily ones.

What a candle hides: the order of the high and the low#

A candle records the high and the low but not which came first, or the path between them. Path B is a second synthetic set of twelve five-minute candles. It reaches 103.00 first, at 10:15, then slides to 98.50 at 10:40 and recovers to close at 102.40: the opposite order from Path A, which made its low at 10:10 and its high at 10:50. Both paths produce exactly the same hourly candle: open 100.00, high 103.00, low 98.50, close 102.40 and volume 12,600.

Two synthetic five-minute paths, each drawn beside the hourly candle it forms. Path A falls first and reaches the 98.80 stop at 10:10. Path B rises first and reaches the 102.80 target at 10:15, then falls to 98.50 at 10:40. Both hourly candles are identical: open 100.00, high 103.00, low 98.50, close 102.40.
Figure 3. Synthetic data. Two paths designed to give the same hourly candle. Notice which dashed level each path reaches first.

Why the order of the high and low decides a trade's result#

Suppose a trader bought at 100.00, the 10:00 open, with a stop order to sell at 98.80 and a target order to sell at 102.80. The hourly candle shows that price traded at or beyond both levels during the hour, so on its own it cannot say which order executed.

  • Path A first reaches 98.80 in the 10:10 candle. Assuming the stop sells at about 98.80, that is a loss of 1.20 per unit, or 1.2%, before fees. The target level is reached later, at 10:50, after the position was already closed.
  • Path B first reaches 102.80 in the 10:15 candle. The target sells at 102.80: a gain of 2.80 per unit, or 2.8%, before fees. The fall to 98.50 at 10:40 no longer matters.

The same candle hides a loss in one path and a gain in the other. In a fast market a stop order can also fill below its trigger, so the real loss on Path A could be larger; the lesson What is a stop order, and why can it fill worse than its trigger price? explains why.

Five-minute candles have the same blind spot#

Shorter candles narrow the uncertainty but do not remove it. In this example no single five-minute candle reached both the stop and the target, so the five-minute data settle the order. If one five-minute candle had a high above 102.80 and a low below 98.80, its four prices could not say which came first. Valmy's strategy specification states this limit directly: a five-minute candle cannot establish the order of prices inside it, so backtests use a documented conservative tie-break for simultaneous events (as of 26 November 2026). One conservative assumption is that the worse outcome, here the stop, happened first. Only trade-by-trade data can settle it.

Where the volume traded inside the candle#

A candle's volume is a total for the whole interval, so it does not show at which prices the trading happened. Both paths traded 12,600 units. In Path A, 5,500 units (44%) traded in five-minute candles that closed below the hour's open of 100.00. In Path B, only 3,700 units (29%) did. Two hours with the same candle can therefore have different average prices paid by the people who traded in them. The volume-weighted average price measures that average; see What is VWAP, and why does it reset?.

Candle patterns: useful vocabulary, weak evidence as signals#

Names for candle shapes, such as doji, hammer and engulfing, are best treated as vocabulary that describes an interval, not as trading signals. Whether a shape predicts what happens next has to be tested, and tests on US stocks disagree: one study of Dow Jones stocks found no value in candlestick strategies, while another found that some one-day patterns may have been profitable. A pattern needs a precise definition and a test on fresh data before it is used in a rule.

A doji has an open and a close that are almost equal, so its body is tiny. A hammer has a small body near the top of its range and a long lower wick. A bullish engulfing pattern is an up candle whose body covers the previous down candle's body.

Candlestick charting comes from Japan. Ben Marshall's doctoral thesis dates its development to rice trading in the 1700s. Marshall, Young and Rose (2006) tested candlestick trading strategies on the stocks of the Dow Jones Industrial Average from 1992 to 2002. They used a bootstrap, a method that compares the strategies' results with those on many simulated random price series, and found no evidence that the strategies created value for investors. Lu and Shiu (2016) tested every one-day candle pattern on the 30 Dow stocks from 1974 to 2009 and reached a different conclusion: several patterns may have been profitable, and their predictive power became stronger after 1992. The two studies define patterns, holding periods and tests differently, which is one reason their results disagree. Neither tested crypto pairs or five-minute candles.

A pattern also depends on the interval and on where each interval starts. Because the same trades form different candles on five-minute, hourly and daily charts, and in different time zones, a shape that appears on one chart may be absent from another. To use a pattern in a rule, define it with numbers, for example "lower wick at least twice the body and close location above 0.7", then test it on data you did not use to design it. The lesson How do I turn something I noticed on a chart into a rule I can test? shows how.

What could change how you read a candle#

A candle is only as informative as its interval, its data source and the trading behind it. Before reading much into one candle, check these points:

  • Is it closed? Before the close time, everything except the open can still change.
  • Which interval and time zone? On Binance's default, a daily candle runs from 00:00 to 24:00 UTC. A chart that cuts the day in another time zone draws different daily candles from the same trades.
  • How much traded? In a thinly traded market, a single small trade can set the high or the low, leaving a long wick at a price few traders could have used. The lesson What makes a market liquid, and why does it matter for my order? covers this.
  • Which venue? Each exchange builds candles from its own trades, so another exchange's candle for the same asset can differ, especially in its wicks.
  • Is any data missing? A longer candle built from short candles with a gap is wrong. Valmy's backtests refuse periods with data gaps (as of 26 November 2026).
  • Is there a session break? Stock candles can gap between sessions, and charts differ in whether they include early and late trading.

The same candle can support different readings. One trader sees Figure 2's hourly candle, a close near the high after a deep dip, as buyers taking control. Another notes that the candle cannot say whether the dip came first (Path A) or last (Path B), and looks at the five-minute candles before deciding anything.

Check your understanding: reading one candle and its hidden path#

Question. An hourly candle for a token has open 50.00, high 51.50, low 49.20 and close 50.90.

  1. What are the candle's body, upper wick, lower wick and close location?
  2. A trader bought at 50.00, the hour's open, with a stop at 49.40 and a target at 51.30. From the hourly candle alone, which order executed?
  3. The five-minute candles for the same hour show that price first traded at or above 51.30 in the 10:20 candle and first traded at or below 49.40 in the 10:35 candle. What happened to the trade?
Show the answers

Answer.

  1. Body = 50.90 − 50.00 = 0.90, an up candle. Upper wick = 51.50 − 50.90 = 0.60. Lower wick = 50.00 − 49.20 = 0.80. The range is 51.50 − 49.20 = 2.30, so the close location is (50.90 − 49.20) ÷ 2.30 = 1.70 ÷ 2.30 ≈ 0.74.
  2. You cannot tell. Both 49.40 and 51.30 lie inside the 49.20 to 51.50 range, so price reached both during the hour, but the candle does not record the order. The result was either a gain of 1.30 per unit (2.6%) or a loss of 0.60 per unit (1.2%), before fees and any slippage.
  3. The target was reached first, at 10:20, so the position closed with a gain of 1.30 per unit, or 2.6%, before fees. The later fall to 49.20 did not affect it. If both levels had first been reached inside the same five-minute candle, even the five-minute data could not decide, and a backtest would need trade data or a conservative assumption that the stop came first.