Stop 2 of 6 Data export
How to Export TradingView Candles to CSV
Download TradingView chart data, check which candles your CSV includes, and work through a sample candle file.
Pack a candle file for your next chart study and check exactly what made it into the bag.
In TradingView Supercharts, open the dropdown on the upper toolbar and choose Download chart data…. Select the chart you want and click Download to save a CSV. The file reflects the data loaded in the chart, so check how far the chart actually goes back before you export. TradingView’s export instructions
Export the right chart and date range
- Open the symbol and timeframe you need. For a candle-based test, use ordinary candlesticks and record the full symbol, including its feed or exchange if shown.
- Scroll left until the earliest date you want is loaded, or until the platform stops loading more data. TradingView’s documentation describes exporting what the chart shows. Check current access in your account if the download option is unavailable.
- Choose the chart to download. A layout can contain multiple charts, so double-check the selected one.
- Open the CSV in a spreadsheet or text editor and check the first and last timestamps. Confirm that the time zone and cadence match the test you plan to run.
TradingView can also include plotted indicators in its export. If you only need price candles, identify the price and timestamp columns before importing. Keep the original file so the import can be checked later. TradingView’s notes on exporting indicator data
Export candles with CandleTrek
With the extension installed and signed in, open a supported chart in Chrome. Select Export data, set Export format to CSV, and choose This timeframe or Several timeframes. Pick the range, check the coverage shown in the side panel, and select Export. Pay attention to the setting for the candle still forming. Use closed candles if your later analysis depends on what was known at the close.
Inspect a sample CSV
Download the synthetic hourly candles. CandleTrek’s CSV exporter produced this file from generated prices. The first two rows are one hour apart, and the datetime_utc column spells out the date and time.
time,datetime_utc,open,high,low,close,volume
1785715200,2026-08-03 00:00:00,1.07957,1.08029,1.07921,1.08,100
- Time is the candle’s opening time. In this file, the numeric field is in Unix seconds and the readable timestamp is in UTC.
- Open, high, low, and close describe prices within the interval. The high should be at least as large as the open and close, and the low should be at most as large as either.
- Volume is the value supplied by the feed, when available. Find out whether it represents traded volume, tick activity, or another measure before comparing files.
Build a sample CSV export
Pick 48 candles. Check the UTC coverage, then download your sample CSV.
The sample starts on 3 August 2026 at 00:00 UTC.
time,datetime_utc,open,high,low,close,volume
1785715200,2026-08-03 00:00:00,1.07957,1.08029,1.07921,1.08,100
Download selected candles
Ready? Take the trail check
Why the file can have fewer rows than expected
The chart may have loaded less history than the date range you picked. Your feed may also omit hours when the market is closed. Check loaded coverage first, then look for repeated timestamps, unexpected gaps during active sessions, and unfinished candles. Joining two exports with overlapping dates can create duplicate rows. Sort by time and investigate overlap before dropping rows.
Once the file looks right, use it to walk through a historical strategy test. For a Deriv chart, follow the Deriv candle export steps.
Trail check
Answer one question to earn Data Packer.
What tells you how far back your exported CSV actually goes?
What tells you how far back your exported CSV actually goes?
The earliest timestamp tells you where the exported data starts. Check the last timestamp for the other end of the range.
Data Packer earned
The earliest timestamp tells you where the exported data starts. Check the last timestamp for the other end of the range.
Find your next stop