Upload your own price file for a strategy test
Your own intraday history in the Strategy test, ready to test on as many years as the file holds.
Trial or ProAbout 3 minutesStudio

Before you start
- The Strategy test comes with the free fourteen-day trial or Pro: sign in to Studio with Google.
- Export your bars as CSV or TXT from your platform: a date (and usually a time), open, high, low, close, and volume if you want
vwap(). NinjaTrader's headerless export, Build Alpha and TradeStation's date and time columns, MetaTrader's angle-bracket headers and TradingView's unix times all work. - Know two things about the file: the time zone of its clock, and whether a bar is stamped at its open or its close. NinjaTrader and TradeStation stamp the close: their 09:30 to 09:35 bar reads 09:35.
Steps
- 1Open Strategy test from the strip on the right edge of Studio.
- 2In the on menu, choose upload a file….
- 3Choose file, pick your export, and give it a name such as MES 5m.
- 4Set clock to the zone of the file's times: UTC, America/New_York, America/Chicago or Europe/London.
- 5Set bars stamped at to close for NinjaTrader or TradeStation, open for most others.
- 6Press upload. When it's read, the file is chosen in on; run a test as usual.
⌥ is Alt on Windows and Linux.
Reading it
Under the menu Studio says what it read: the bar length worked out from the file (5m for a 5-minute file), the number of bars, and the first and last bar in UTC. In winter New York's 09:30 open is 14:30 UTC, 13:30 in summer.
To check the zone and the stamp, run opening(ny, 30): about one trade a day means the sessions line up. None, or an hour off, means delete the file (delete file) and upload it again with the other setting.
Dates are read one way for the whole file. If 03/04/2024 could be day-first or month-first and the file's order doesn't settle it, the upload is refused: save the dates as YYYY-MM-DD.
Up to 400,000 bars a file (about six years of 5-minute bars around the clock, or eight-plus of the regular session) and ten files an account. The file is yours alone: nobody else can see or test on it, and deleting your account deletes it.
What it looks like

