Importing Data
Import is the first step in any work in FxBacktester. Files are parsed in your browser and stored in your browser; no dataset is uploaded to a server when you import.
What you can import
- CSV from HistData and similar historical-data sites, and generic OHLC CSV files.
- MT4/MT5 Strategy Tester exports (exposed-mode exports) for M1 candles and tick archives, including zip bundles.
- Binary tick archives that keep bid/ask prices and real bar open times. With those, spread is not a constant you type in — it is the real spread the feed recorded, and a same-bar stop-loss / take-profit collision is resolved by the actual tick sequence instead of a convention.
- Batch import: drop several files or a whole folder at once. One run can import multiple instruments and multiple years, and the file name is used to preselect instrument and month when it can be parsed.
Pick the instrument and the base timeframe when the app asks; a tick or second-level archive is kept as the base series, and whatever replay timeframe you choose later is built on top of it rather than replacing it.
The validation report
Nothing is imported silently. After parsing, the app shows what it found before you trade on it:
- the covered date range and bar count;
- gaps in the series, so you know which periods are missing;
- time-of-day coverage, because many free sources are incomplete outside peak hours;
- malformed rows, which are skipped and reported rather than guessed at.
If a file cannot be recognized, import fails with a message and your library is left unchanged.
Sizing
- Roughly 48 bytes per candle (about 11 MB for one year of M1 data for a single instrument), plus a version index and a small backup manifest.
- Tick tiers are stored in compact binary chunks instead of objects, which is what keeps multi-year tick datasets usable in a browser.
- Large files are chunked so the browser never has to hold a whole multi-year array in memory at once.
Two years of M1 candles for four instruments is tens of megabytes, not gigabytes. If your browser is nearly full, the app tells you instead of losing data.
Dataset versions and sharing
Every dataset carries a version and the provenance it was imported with (source file, instrument, base timeframe, window origin). A test pins the dataset version it started on, so a result you saved weeks ago still describes the same data it was produced from, even after you import more of it.
You can export datasets for use in another browser, for a teammate, or for your own archive, in JSON, CSV, or zip formats, and import the same file on another machine. Datasets you imported are yours to keep; the raw files came from your data source, and the app does not redistribute historical data on your behalf.
Next
- Start a replay from a dataset with Creating a Replay.
- Understand where imported data lives in Data Storage.