HistData CSV Formatter & Candle Synthesizer

Files stay in your browser. Pure client-side streaming engine aggregates raw ticks and resamples M1 bars into M1, M5, M15, M30, or H1 candles with instant chart preview.

Target Candle Timeframe

Select target candle resolution. Raw tick or M1 data will be aggregated into your chosen timeframe.

No file chosen

The file you choose must be 50 MB or less. Text inside a ZIP is checked after unpacking, and that text must also be 50 MB or less. Tick files stop at 500,000 ticks.

HistData ASCII, MT, and tick times are EST without DST (UTC−5) and are converted to UTC. Ticker OHLC times are kept as written and labeled UTC.

How Pure Client-Side Tick-to-Candle Synthesis Works

Parsing, a fixed +5 hour shift to UTC, and candle aggregation run in the browser. The file is not uploaded.

1. In-Browser Streaming Decompression

Decompresses multi-megabyte ZIP archives directly in client memory via fast deflate streaming, bypassing backend upload queues.

2. US Eastern Standard Time to UTC (+5 hours)

Adds 5 hours. HistData ASCII timestamps are US Eastern Standard Time all year, with no daylight-saving switch to 4 hours.

3. Multi-Timeframe Tick & Bar Aggregation

Buckets ticks by floor(T_utc / ΔT) * ΔT, computing Open (first tick), High (max Bid), Low (min Bid), Close (last tick), and Volume.

4. Quality Auditing & Gap Detection

Detects chronologically reversed timestamps, purges duplicate minutes, drops corrupted rows, and flags weekend/holiday liquidity gaps.

Financial Tick & Bar Data Format Compatibility Matrix

Cross-platform data format specifications supported by BarionQuant, MetaTrader, and Python.

Target Platform / FrameworkRequired TimezoneDelimiterStandard Header FormatTypical Ingestion FeedsTimeframe AggregationOffline Practice Replay
BarionQuant DesktopUTC (Auto-aligned)Comma (,)time,open,high,low,close,volume1-Minute M1, Tick CSV, ZipM1, M5, M15, M30, H1✅ Direct Local Data Center
MetaTrader 4 / MT5Server Broker TimeComma (,)Date,Time,Open,High,Low,Close,VolHST, FXT, History Center CSVPeriod Conversion Scripts⚠️ Broker Connected Only
Python / BacktraderUTC / TimestampComma (,)datetime,open,high,low,close,volumePandas DataFrame CSVdf.resample()❌ Code script execution only
HistData Raw SourceUS Eastern Standard Time, +5h, no DSTSemicolon (;)None (Raw text rows)Raw tick/M1 archive filesRaw ticks or M1 only❌ Incompatible without formatter

Frequently Asked Questions About HistData Formatting

Parsing, the fixed +5 hour UTC shift, and what stays in the browser.

What timezone does this page use for HistData timestamps?▾
HistData ASCII files use semicolons and no header. Their timestamps are US Eastern Standard Time all year, with no daylight saving. This page adds 5 hours to reach UTC. It does not switch to a 4-hour offset in summer.
Does this page delete weekend rows?▾
No. Weekend gaps are counted when the gap is larger than the bar spacing and does not fall across Saturday. The formatter does not delete those rows. A gap count is a count, not a cleaned calendar.
Are my uploaded tick or M1 historical files sent to your servers?▾
100% Absolutely NOT. All file reading, decompression (.zip), string parsing, and format reconstruction execute entirely in-browser using client-side JavaScript Web Workers and memory buffers. Your data never touches a network server.
Can I use the formatted CSV with MetaTrader 4 / MetaTrader 5 History Center?▾
Yes. The generated CSV strictly complies with the MetaTrader History Center format: YYYY.MM.DD,HH:MM,Open,High,Low,Close,Volume. You can import it directly into MT4/MT5 Tools -> History Center to build custom offline charts.
How do I import this formatted CSV into BarionQuant Desktop?▾
Download the formatted CSV and load it in BarionQuant Desktop's local data folder for offline replay. Playback follows the bars in the file. This page does not promise tick-accurate or instant replay.
How does tick-to-candle synthesis calculate Open, High, Low, Close, and Volume?▾
Within each timeframe interval (e.g. 5 minutes), the tool identifies the first Bid price as the Open, the maximum Bid as High, the minimum Bid as Low, and the final Bid as Close. Volume represents the total count of ticks received in that bucket.
Can I convert 1-minute (M1) historical data into M5, M15, M30, or H1 candles?▾
Yes! When you upload an M1 CSV file and select M5, M15, M30, or H1, our engine automatically groups consecutive 1-minute bars into higher timeframe candles, summing the volumes and maintaining pristine price precision.

Related Professional Trader Tools

Explore quantitative calculators to manage position risk, drawdown recovery, and market liquidity.

Live tool

Prop Firm Challenge Risk & Drawdown Calculator

Estimate the daily loss buffer, overall floor, and lot size from the percentages you enter. Presets are starting points, not a live copy of any firm's rulebook.

Open Tool →
Live tool

Position Size Calculator

Calculate exact lot sizes, risk in cash, and pip values based on your account size and stop loss.

Open Tool →
Live tool

Drawdown & Recovery Calculator

Calculate the asymmetric gain required to recover from losses, R-multiples needed, and mathematical risk of ruin.

Open Tool →
Live tool

Trading Session Overlap Clock

Visual 24-hour timeline of Sydney, Tokyo, London, and New York market hours. Pinpoint peak volatility overlap windows.

Open Tool →
Live tool

Pip Value Calculator

See what one pip is worth in your account currency before you size a practice ticket.

Open Tool →
Live tool

Practice P/L Calculator

Cash result for the entry, exit, and size you type. Not a broker fill and not a live quote.

Open Tool →
Live tool

Binance Historical Data Formatter & Candle Synthesizer

Clean Binance Vision 11-column klines into M1, M5, M15, M30, or H1 in the browser. The file is not uploaded.

Open Tool →
Live tool

Crypto Liquidation Price & Margin Calculator

Estimate a Binance USD-M isolated liquidation price for BTC, ETH, and SOL from a built-in bracket table. Not a live exchange quote.

Open Tool →
Live tool

Binance funding-rate worksheet

Multiply the 8-hour rate you type by the days you type. Simple annualization. Not the live exchange rate.

Open Tool →
Live tool

Trader hindsight self-check

Ten self-report questions and a peeking index from your answers. Not a forecast of live results.

Open Tool →
Live tool

Replay Rubric Generator

Write the three public rubric lines after a sitting and copy them as Markdown.

Open Tool →

Calculated your position risk?

Put your rules to the test in BarionQuant Desktop. Rehearse entries, stop loss execution, and position management on local EURUSD & XAUUSD chart replays without risking real capital.

Download BarionQuant Desktop Free

The rule behind this number Import one practice session