reference · Technical analysis
OHLC Candlesticks: Read the Bar Without Inventing the Price Path
An OHLC candle summarizes an interval's open, high, low and close. It shows the range and endpoint change, but it does not reveal every price, the sequence of the high and low, or the prices at which your order could fill.

Key points
- A candle is a summary of a defined price series and interval.
- Identical OHLC values can come from different sequences of prices.
- Confirm bid, ask or last-price construction before using a bar to diagnose execution.
Scope and assumptions
- The examples use ordinary time-based OHLC bars, not transformed charts such as Heikin Ashi or synthetic range bars.
Four values and a defined interval
Open is the interval's first price in the selected series; close is its last available price. High and low are the extremes between them. The bar's timestamp convention matters: a label may identify the start of the period rather than the time of its closing price. For example, MetaQuotes documents the time field in MqlRates as the period start.
A candle body spans the open and close. Its upper and lower wicks extend to the high and low. Colors are presentation settings, so read the values rather than assuming that a particular color always means an increase.
Calculate one candle
Suppose a completed bar has open 100, high 104, low 98 and close 102. The following distances are in the instrument's quoted price units, not automatically in dollars:
| Measure | Calculation | Distance |
|---|---|---|
| Full range | 104 − 98 | 6 |
| Body | |102 − 100| | 2 |
| Upper wick | 104 − max(100, 102) | 2 |
| Lower wick | min(100, 102) − 98 | 2 |
The close is two price units above the open. That observation does not establish a profitable trade: an entry could have occurred elsewhere, the position could have been short, and executable bid or ask prices may differ from the chart series.
The sequence that the candle hides
Both 100 → 104 → 98 → 102 and 100 → 98 → 104 → 102 produce those same four values. Imagine an existing long position with a stop at 99 and a target at 103. In the first path, 103 is crossed before 99; in the second, 99 is crossed first. A backtest that sees only this bar cannot recover which path actually occurred.
This matters when a simulation fills several orders inside one interval. Choosing the favorable sequence without evidence inflates the result. A conservative assumption, a clearly described uncertainty rule, or appropriate finer data is needed. Even tick data must represent the relevant quote side and execution rules; more rows do not by themselves guarantee a realistic fill model.
Validate the series before diagnosing an order
Record instrument identity, timeframe, timezone, session and price type. A bid candle reaching a price does not necessarily show that the ask reached it at the same moment. For market orders, the last traded price also need not be the executable price, a distinction explained in Investor.gov's order guide.
Check whether the final candle is still forming and whether any periods are missing. Transformed charts can use calculated values rather than actual transaction prices, so their displayed open and close need separate interpretation.
Use the chart to locate a period of interest, then inspect order and execution records for acceptance, trigger and fill evidence. The related bid–ask reference and volume-field comparison cover two other common reasons that visually similar bars describe different data.
Questions and answers
Does a green candle prove more buyers than sellers?
No. Its color usually describes the close relative to the open under the chart's color settings. Every completed transaction has two sides; the candle does not count all participants or their motives.
Can I know whether the stop or target was reached first from one candle?
Not when both prices fall inside its range and the available data does not preserve their sequence. Assumptions about the intrabar sequence can change a backtest result; use suitable finer-grained data or disclose the ambiguity.
Why do two platforms show different daily candles?
They can use different price sources, bid or last prices, session boundaries, timezones or incomplete data. Compare those definitions before treating a visual difference as an execution error.
Sources and further checks
Use the current source for your exact instrument, account and platform. Referencing a general specification does not establish support for every TradeCopier workflow.
- MetaQuotes: MqlRates Data Structure · Checked September 19, 2026
- MetaQuotes: Basic Principles of Trading · Checked September 19, 2026
- Investor.gov: Types of Orders · Checked September 19, 2026
Found an error? Send a correction with this page's address and a primary source. See our editorial standards for how we handle examples, claims and revisions.

