6.1 Price Data (OHLCV), Session Boundaries, and Data Biases

Key Takeaways

  • OHLCV summarizes the first, highest, lowest and final eligible prices and total trading volume for a defined bar; the feed and session definition determine those fields

  • Session boundaries—such as U.S. regular trading hours (09:30–16:00 ET) versus extended hours, or 17:00 New York rollover in spot foreign exchange versus 00:00 UTC in digital assets—alter open/close prints, overnight gaps, and indicator readings

  • Survivorship bias can distort backtest performance by omitting securities that disappeared or left the historical selection universe

  • Look-ahead bias invalidates historical simulations whenever a rule uses future bar data, restated fundamentals, or retroactively assigned index constituents before they were publicly known

  • Data-snooping bias, backfill bias, and uncleaned bad or stale ticks distort chart extremes, volatility measures, and automated trade triggers unless controlled with out-of-sample validation and tick-filtering rules

Last updated: December 2026

Technical analysis depends entirely on the integrity of the historical price and volume records plotted on a chart or fed into a quantitative model. Even the soundest trend-following rule or momentum oscillator fails if the underlying Open, High, Low, Close, and Volume (OHLCV) dataset mixes incompatible session hours, omits failed companies, or leaks future information into past signals. For Chartered Market Technician (CMT) Level I candidates, understanding how market data is constructed—and where historical databases break down—is a foundational requirement.

Anatomy of OHLCV Market Data

Every standard price bar or candlestick summarizes trading activity over a defined interval using five core fields. These fields summarize observed transactions (or quotes if the data source uses quotes). They do not separately identify the participants or motives.

OHLCV fieldDefinition for a trade-based barAnalytical use
OpenFirst eligible traded price in the intervalCompare with preceding close for a gap
HighHighest eligible traded priceUpper observed extreme
LowLowest eligible traded priceLower observed extreme
CloseLast eligible traded price or official close per feed rulesReference for close-based indicators
VolumeUnits traded during the interval, each transaction counted onceActivity measure; does not alone identify direction or depth

Opening and Closing Conventions

The opening price can be influenced by overnight earnings releases, macroeconomic announcements, and market-on-open orders accumulated before the bell. Because dealers and market makers adjust quotes to clear those accumulated imbalances, the opening price can differ from the preceding close.

The closing price provides a consistent reference for many daily indicators and benchmark calculations. Official closes may be auction prices rather than the final transaction. Futures exchanges establish settlement prices separately, which may differ from the last trade or cash-equity close. Dow Theory uses daily closing levels for its confirmation rules; other methods may use intraday prices. No closing print reveals which participants will hold positions overnight.

Intraday Range vs. Volume

The distance between the High and the Low defines the period's trading range, measuring intraday volatility and the tug-of-war between buyers and sellers. Comparing the close against that range may suggest buying or selling pressure: a close near the high differs from one near the low. That observation is not proof of accumulation or distribution. Volume complements price by quantifying participation. Technicians also track dollar volume (sum of each trade’s price times quantity; price times aggregate volume is an approximation if one representative price is used) when comparing activity across high-priced and low-priced securities or across multi-year eras.

Session Boundaries Across Asset Classes

An OHLCV bar is meaningful only when the analyst knows precisely when the bar starts and ends. Different asset classes use distinct session boundaries that materially change chart appearance and indicator outputs.

  • U.S. Equities (Regular vs. Extended Hours): Regular Trading Hours (RTH) usually run from 09:30 to 16:00 Eastern Time (ET) on full trading days, subject to exchange calendars and early closes. Pre-market (typically 04:00–09:30 ET) and after-hours (16:00–20:00 ET) sessions operate on various venues, with lower liquidity and wider spreads possible. Some venues also offer overnight trading. Charts restricted to RTH display overnight price gaps between yesterday's 16:00 ET close and today's 09:30 ET open. Including eligible extended-hours trades may reduce the visual gaps and may expose real but thinly traded price extremes that distort Average True Range (ATR), Bollinger Bands, and intraday moving averages.
  • Futures Contracts: Many futures—such as U.S. equity index futures—trade electronically nearly 23 hours a day on platforms like CME Globex, with contract-specific hours, maintenance breaks and official settlement calculations. Cash-equity regular-session bars and extended-session futures bars are not the same. Mixing RTH-only bars with 24-hour electronic bars changes opening gaps, volume profiles, and daily pivot calculations.
  • 24-Hour Spot Foreign Exchange (FX): Because spot FX trades over-the-counter globally from Sunday evening through Friday afternoon with no central exchange closing bell, vendors must impose a daily boundary. A common data convention is 17:00 New York Time (5 PM local time), such as the default daily alignment documented by OANDA. Another feed may use 00:00 UTC. A short Sunday bar can result from this second convention, with duration depending on the opening time and daylight saving. Check whether the feed uses the same boundary for chart bars and rollover.
  • 24/7 Digital Assets: Many spot cryptocurrency venues trade continuously, subject to outages. A common daily-bar convention is 00:00 UTC, not a required market-wide closing time. There is usually no routine weekend closure, but gaps and thin liquidity can still occur.

Critical Market-Data Biases and Tick Errors

Even when OHLCV fields and session boundaries are consistent, historical testing and multi-decade charting suffer from severe structural distortions if raw databases are not properly curated.

Data HazardMechanismDistortion EffectMitigation Practice
Survivorship BiasDatabase retains only currently active securities, omitting delisted, bankrupt, or acquired firmsCan bias performance, risk and drawdown measures; direction depends on the omitted observationsUse survivorship-free, delisting-inclusive databases that track merged and bankrupt tickers
Look-Ahead BiasRule uses information not yet knowable at the simulated trade timestampProduces invalid estimates of performance; simulated trades may use unavailable informationEnforce strict timestamp ordering, point-in-time (PIT) data, and lagged execution (e.g., signal at Close, fill at next Open)
Data-Snooping BiasExhaustively testing many rules or parameters on one dataset until random patterns look significantMistakes historical noise for predictive edge; causes severe out-of-sample decayLimit parameter sweeps, apply statistical penalties, and validate on out-of-sample data
Backfill BiasDatabases retroactively add pre-inclusion history of successful funds or indexes while ignoring failed onesCreates an upward-sloping illusion during the pre-inclusion periodSeparate pre-inclusion history from live reporting; use point-in-time inclusion dates
Stale / Bad TicksOff-market prints, decimal errors, crossed quotes, or zero-volume carried-forward pricesTriggers phantom stop-outs, false breakouts, and distorted volatility or oscillator spikesCheck timestamp, trade-condition and correction flags; compare reliable feeds and investigate unusual prices

Survivorship Bias

Survivorship bias is one of the most deceptive pitfalls in equity backtesting. If an analyst tests a trend-following or mean-reversion strategy across the current constituents of the S&P 500 or Russell 3000 over the past 25 years, the test excludes every company that went bankrupt, delisted for poor performance, or was dropped from the index. This makes the sample depend on later outcomes, often inflating performance but not necessarily in every study. Removed securities can include successful acquisitions as well as failures.

Look-Ahead Bias

Look-ahead bias occurs whenever a simulation accesses future information before it occurred in real time. Common examples include computing a moving average or breakout signal using today's Close and assuming the trade executed at today's Open, using a bar's High or Low to know which extreme happened first inside the bar, or backtesting restated corporate earnings and retroactively assigned index memberships instead of point-in-time (PIT) records. Even centering a moving average (averaging prices both before and after date tt) introduces look-ahead bias if used as a live trading signal.

Data-Snooping, Backfill, and Bad Tick Errors

Data-snooping bias happens when repeated testing across the same historical series turns coincidence into a seemingly robust rule. Closely related is backfill bias (also called instant-history bias), which arises in hedge fund, Commodity Trading Advisor (CTA), and smart-beta index databases when newly added constituents bring along favorable pre-inclusion track records while poor performers never enter the database.

Finally, raw records can contain bad ticks—such as delayed reports assigned to the wrong bar, erroneous trades or decimal errors (printing $10.00 instead of $100.00), or stale quotes repeated during illiquid halts. An erroneous extreme can materially distort ATR or a simulated stop. Genuine trades can occur outside a displayed quote under applicable venue rules, so do not delete every outlier or trade outside NBBO without checking its conditions and timing.

Important

Reliable historical testing requires three data safeguards before a single indicator is computed: a survivorship-free universe including delisted securities, point-in-time constituent and fundamental records to prevent look-ahead bias, and automated bad-tick filtering synchronized to consistent session boundaries.

Source conventions: NYSE calendar, CME settlement, OANDA’s daily bar alignment, and CRSP data guide.

Loading diagram...
Market Data Cleaning Pipeline Before Technical Analysis
Test Your Knowledge

Why does classical Dow Theory use daily closing levels rather than intraday extrema when checking confirmation?

A

Intraday highs and lows are never recorded in exchange OHLCV feeds

B

Opening auctions always match the closing price in liquid stocks

C

Closing levels are the consistent price reference for the method; intraday penetrations alone do not establish confirmation

D

Closing prices automatically remove survivorship bias from historical databases

Test Your Knowledge

A charting platform switches a 24-hour spot EUR/USD daily feed from a 17:00 New York rollover boundary to a 00:00 UTC boundary. Which consequence is most likely on the daily chart?

A

Daily OHLC values and candlestick shapes can change; Sunday bar length may change despite identical underlying trades

B

Historical forward stock splits are automatically reversed across the currency pair

C

Spot FX begins experiencing regular NYSE opening and closing auction imbalances

D

Total weekly trading volume disappears from the feed

Test Your Knowledge

An analyst backtests a breakout strategy from 2000 to 2025 using only the current constituents of the S&P 500 index, entering at the same day's Open whenever the stock's Close finishes above its 50-day moving average. Which pair of biases compromises this backtest?

A

Backfill bias and bad-tick errors

B

Stale-quote bias and currency-conversion bias

C

Volume-aggregation bias and rights-offering bias

D

Survivorship bias and look-ahead bias

Sections you finish are checked off in the contents.