Basics

Open, high, low and close (OHLC)

Every candle is built from exactly four prices. Learn what each one records, where it sits on the candle, and what the four of them leave out.

High 104Close 103Open 100Low 98High 104Open 103Close 100Low 98Upper shadowBodyLower shadow▲ Bullish▼ Bearish
Both candles have the same high, low and body. Only the open and the close swap places.

Traders often write the four prices of a period as OHLC: open, high, low, close. A candle is nothing more than a drawing of these four numbers. If you know them, you can draw the candle; if you see the candle, you can read them back.

The four prices

  • Open: the first traded price of the period. On a daily stock chart it is the first trade of the regular session.
  • High: the highest price traded at any moment during the period.
  • Low: the lowest price traded at any moment during the period.
  • Close: the last traded price of the period. While the period is still running, the “close” is just the latest price and can still change.

The high and the low are always the outer limits: the open and the close always sit somewhere between them, or exactly on them.

Where each price sits on the candle

The body runs between the open and the close. The shadows run from the body to the high and the low.

  • On a bullish candle the close is above the open, so the open is at the bottom of the body and the close at the top.
  • On a bearish candle the close is below the open, so the open is at the top of the body and the close at the bottom.
  • The tip of the upper shadow is the high; the tip of the lower shadow is the low, whichever way the candle closed.

A worked example, drawn in the figure above: a period opens at 100, trades up to 104, down to 98, and closes at 103. The body runs from 100 to 103 and is bullish. The upper shadow runs from 103 to 104, the lower shadow from 100 down to 98. Swap the open and close (open 103, close 100) and you get a bearish candle with exactly the same outline.

What OHLC leaves out

Four numbers cannot describe everything that happened in a period. A candle does not record:

  • The order of events. You cannot tell whether the high came before the low or after it.
  • The path in between. The price may have crossed the open ten times or never returned to it.
  • How much was traded. That is what volume is for; see Volume and candles.

This is why very different periods can produce the same candle. The How a candle is born lesson lets you draw two completely different price paths that end in an identical candle.

Longer candles from shorter ones

OHLC also explains how time frames work. To turn five 1-minute candles into one 5-minute candle, take the open of the first, the close of the last, the highest high and the lowest low. Everything else is dropped. The Time frames lesson shows how patterns appear and disappear as candles are merged this way.

Candles, bars and lines

The same four prices can be drawn in different ways:

  • Candlestick chart: a body between open and close, shadows to the high and low. The body makes the direction of each period easy to see.
  • OHLC bar chart: a vertical line from low to high, with a small tick to the left for the open and to the right for the close. Same information, less ink.
  • Line chart: usually a line through the closes only. It shows the overall path but hides what happened inside each period.

Candlestick patterns need all four prices, which is why they can only be read on candle or bar charts.

How the patterns use OHLC

Every rule in the Candlewise rule engine is a comparison between these four prices. A doji is a candle whose open and close are almost equal. A hammer has a close and open near the high, far above the low. A piercing line compares the second candle’s open with the first candle’s low. The judging criteria page lists every comparison with its exact numbers.

Frequently asked questions

Is the open the same as the previous day’s close?

Not necessarily. The open is the first trade of the candle’s own period. A daily candle’s open can be above or below the previous day’s close. When it opens beyond the previous candle’s whole range and stays there, the chart shows empty space between the two candles, called a gap. The page on price gaps covers this in detail.

Why do different apps show slightly different opens and closes?

Data providers can define a period differently, for example whether trading before or after the regular session is included, or which time zone a day starts in. The candle is always a summary of whatever trades the provider counted.

What does OHLC stand for?

Open, high, low, close: the four prices that make up one candle or one bar.

Candlestick patterns mentioned on this page

Educational content only. Candlewise does not give investment advice, buy or sell opinions, or price targets. Read the full disclaimer