MT5 CSV Validator — Free OHLC Data Quality Check
Drop any MT5, broker or vendor CSV and get a full quality report in seconds: duplicate timestamps, OHLC violations, unexpected gaps, weekend and maintenance classification, outliers, spread anomalies, timestamp alignment and a transparent quality score. Then download a cleaned CSV and a JSON report.
Your file is parsed locally. Nothing is uploaded, stored or logged.
Results appear here
Load a file or click Load sample to see the full report: score, errors, warnings, gap classification, duplicates and a cleaned CSV.
Cleaned CSV = duplicates removed (first kept) + chronological sort. OHLC errors are reported, never rewritten.
What the validator checks
Exact duplicates are listed with the first row number. Cleaned CSV keeps the first occurrence.
High must be ≥ Open/Close, Low ≤ Open/Close, High ≥ Low. Negative prices are allowed (WTI 2020) and reported as info.
Weekend, daily maintenance, session gaps and real data gaps are separated using the selected asset profile.
Ranges above 20× the median and O=H=L=C bars are flagged for review.
Negative spreads are errors; spreads above 5× the median are warnings.
Seconds and minute alignment are checked against the detected timeframe.
Supported CSV formats
| Source | Delimiter | Columns |
|---|---|---|
| AlgoSpecial crypto / indices / energy ZIPs | , | Timestamp, Open, High, Low, Close, TickVolume, Spread |
| AlgoSpecial forex ZIPs | ; | Time; Open; High; Low; Close |
| Generic MT5 exports | , or ; | 5 to 7 columns, header optional |
Encoding is detected automatically: UTF-8, UTF-8 with BOM and UTF-16 LE. Quoted fields and CRLF line endings are handled.
FAQ
Are my files uploaded?
No. Everything runs in your browser; the file never leaves your device.
Which asset profile should I choose?
Forex/metals/indices/energy expect weekend and daily maintenance gaps. Crypto is 24/7, so any gap above one bar is flagged.
Does it fix bad data?
It removes duplicates and sorts rows. OHLC violations are reported but never silently rewritten.
What is the quality score?
A transparent formula: 100 − 0.7×errorRate − 0.3×warningRate, clamped to 0–100. Rates are relative to row count.
Related tools & data
Turn the calculation into an EA
If the tool exposed a profitable or risky condition, convert it into a coded rule with testing and guardrails.
Go deeper before you build, download or automate
Hand-picked engineering articles, indicator breakdowns and trading-system tools so visitors keep exploring instead of leaving after one page.
Pine Script to MT4/MT5 Conversion Planner
Analyze Pine strategies, repainting risk, TradingView alert bridges, MTF synchronization and the correct MQL4/MQL5 build path before paying for conversion.
Open planner
3-in-1 MT5 Indicator Bundle
12H Bias Engine, Smart Money Institutional Flow Dashboard and D1/H1 pending-signal logic with MQ5 + EX5 source included via Etsy.
MT5 Bank Orders Institutional Flow Dashboard
Supply/demand zones, BOS/CHoCH, liquidity levels, FVG, equal highs/lows and confirmed trade-plan logic explained with EX5 download.
MT5 Asia London NY Liquidity Engine
Asia range, London raid and New York continuation/reversal planning with internal session backtest stats and entry/SL/TP dashboard.
Interactive Brokers RSI Pair Trader
Tkinter desktop trading workflow, TWS API connection handling, RSI pair logic, risk controls and custom IBKR development positioning.
XAUUSD M30 CSV Data For Backtesting
Use clean MT5 historical data for Python backtests, strategy validation, spread checks and realistic gold EA research workflows.