Choose the export that matches your question
A .csv extension identifies a file format, not a dataset. Inspect the headers before importing a file into another tool. A trade list cannot supply all the bars between entry and exit.
- Pineify Backtest Deep Report accepts TradingView strategy trade CSV. A chart OHLC CSV is not its supported input.
- For price checks, start with standard candles. Heikin Ashi uses synthetic prices; a visually similar chart is not evidence of identical OHLC.
| Need | Export | What the rows describe |
|---|
| Recalculate an indicator or inspect prices | Supercharts: Download chart data | Bar timestamps, OHLC, and available plot values |
| Review strategy entries and exits | Strategy report: Trades tab Download button | Strategy trade records rather than a continuous price series |
| Keep the available strategy report | Strategy report context menu: Download data as XLSX | Report worksheets, a different format from chart CSV |
Download a reproducible chart sample
Set the symbol and interval first, then load the intended history. The official help page calls the command Download chart data; some documentation still calls it Export chart data. Both refer to the chart export workflow.
- 1. Record the exchange-qualified ticker, chart interval, standard or non-standard chart type, session selection, and any price adjustments.
- 2. Add the indicators you need and save their names, versions, and input values. Check that the expected outputs have values in the Data Window.
- 3. Scroll left or drag the time axis to load earlier bars. Wait for the chart and indicators to finish loading.
- 4. Open the upper-toolbar dropdown, choose Download chart data, select the intended chart in a multi-chart layout, and download.
- 5. Keep an untouched copy. Record the first and last timestamps, row count, column names, and download time in a separate notes file.
Separate plan access from market-data access
At the October 17, 2026 check, TradingView lists chart data export for Plus, Premium, and Ultimate; Essential does not include it. Confirm the current comparison and your signed-in account before buying a plan. An export entitlement does not include every exchange data subscription.
- TradingView platform plans do not cover separately charged exchange real-time data fees. Check the actual exchange and any delayed-data notice on your chart.
- Historical intraday coverage depends on the plan and available symbol history. Scrolling left loads accessible bars; it does not promise an unlimited archive.
- Use authorized downloads and respect the applicable data license. If the required history is unavailable, obtain it from a provider licensed for your intended use.
Audit columns, time, and missing values
Pine numeric plots can become CSV columns, including plots shown only in the Data Window. Their titles identify the exported series. A drawing, label, or an internal variable is not automatically a numeric plot column. Confirm the actual headers instead of assuming every visible annotation has an export.
- Pine time values use UNIX milliseconds, but that does not establish the format of every exported CSV time column. Verify the file you received.
- Chart timezone changes displayed clock labels and does not change Pine calculations. Preserve an explicit offset or normalize verified timestamps to UTC before merging datasets.
- Keep empty cells separate from zero. Investigate warm-up periods, missing source data, and conditional plots before choosing how to handle them.
| Check | How to verify it | Failure to avoid |
|---|
| Timestamp representation | Read a raw cell before spreadsheet conversion. Identify a date string and offset, or establish the numeric epoch unit using a known bar. | Treating seconds as milliseconds, or silently interpreting UTC as local time |
| Bar identity | Match timestamp and OHLC for a closed bar in the chart and file. Record the chart display timezone. | Joining different bars because both display 09:30 |
| Price columns | For each sample row, check low <= open and close <= high, with open and close also inside the full low/high range. | Shifted columns or decimal separators parsed as text |
| Indicator values | Compare the same named plot and settings at the same closed bar. | Comparing different inputs or replacing undefined values with zero |
| Coverage | Check first/last timestamps, duplicates, and gaps against the chosen session. | Assuming weekends or session breaks must contain bars |
| Final row | Check whether the latest bar was still open at download time. | Comparing a developing value with a later closed-bar value |
Worked example: verify three bars before a full analysis
This is an invented validation fixture, not downloaded market data. Assume standard five-minute candles on January 15, 2026, prices in USD, explicit UTC opening times, and a three-period SMA of close. For this exercise only, calculation history starts at the first row.
- OHLC check: the third row has low 101 <= open 102 <= high 104 and low 101 <= close 103 <= high 104.
- Time check: 14:35 minus 14:30 is 300 seconds. Repeat for the next pair; this verifies the assumed interval within this uninterrupted sample.
- Indicator check: (101 + 102 + 103) / 3 = 102. The third-row condition close > SMA(3) is true because 103 > 102.
- Warm-up check: the first two SMA cells are undefined under the stated starting-history assumption. A real export can start with valid SMA values because the chart calculated earlier bars outside your sample.
- Import check: preserve the untouched file and compare these calculations with your imported table. A mismatch is a reason to inspect parsing and context before changing the formula.
| UTC bar open | Open | High | Low | Close | SMA(3) of close |
|---|
| 14:30 | 100 | 102 | 99 | 101 | Undefined |
| 14:35 | 101 | 103 | 100 | 102 | Undefined |
| 14:40 | 102 | 104 | 101 | 103 | 102 |
Resolve a short file or a missing column
Use a small second export to isolate the problem. Change one setting at a time and compare the headers, first timestamp, and one known closed bar.
| Symptom | Next check |
|---|
| Export command unavailable | Check the signed-in plan and whether chart data has loaded. Use the supported account entitlement. |
| History starts too late | Load older accessible bars, then compare the new first timestamp. Check plan and symbol history limits if it does not move. |
| Expected indicator column missing | Confirm the script is on the selected chart and the value is a numeric plot. Ask the author if a protected script does not expose the output. |
| Spreadsheet dates look wrong | Re-import the original time cells without automatic conversion; verify unit and timezone against a known bar. |
| Values differ from another export | Compare ticker exchange, interval, session, adjustments, chart type, indicator inputs, and whether the last bar was closed. |
Turn a verified calculation into a script requirement
After the sample agrees, describe the intended OHLC condition to the Pine Script AI Coding Agent. Include the chart context, indicator inputs, missing-value rule, and expected output for several closed bars. Ask for a diagnostic plot so you can compare the generated calculation with the same sample.
- For the fixture above, specify a three-period SMA of close and a close-above-SMA condition evaluated after the bar closes. State that unavailable SMA values should not count as a signal.
- Review the generated source and check it in TradingView. Agreement on three rows is a calculation check, not evidence of profitable trading.
- Pineify helps write the rule. It does not supply a TradingView market-data download API or extend your TradingView data permissions.