The short answer: the download inside the Strategy Tester writes out whatever tab you are currently viewing. If you want to analyze trade by trade, open the List of Trades tab first, then export. This guide walks through the three kinds of CSV you may meet, the export steps, how to fix import errors, and how to load the file into a free Lab.
Key takeaways
The download inside the Strategy Tester writes out the data for the tab you are currently viewing. When you want to analyze each trade’s entry, exit and profit or loss, open the List of Trades tab first, then export. If you only need aggregate KPIs, that is Performance Summary; if you only want a price history, that is a chart-data CSV. Because button names and icons can change by version and language, confirm the current label in the official help just before you export.
Right after you run a backtest in TradingView, it is common to be stuck at “I can open the Strategy Report, but I am not sure which data to export.” The reason is simple: the same download icon produces a completely different file depending on which tab is active. If you want the full picture first, reading the parent article on the complete TradingView backtesting workflow (BT01) makes it easier to see where this lesson fits.
The goal of this guide is to help you pull the right CSV from the right tab, tidy up its encoding and columns, and move on to external analysis. From here we work through the differences between the three kinds of CSV and resolve, one at a time, the places where people most often get stuck.
The CSV files you can obtain around TradingView fall broadly into three kinds. Their names look similar, but their contents and uses differ, so separating them at the outset saves confusion later.
The KPIs and trade detail produced by the Strategy Tester. From the List of Trades tab you get one row per trade.
Best for trade analysisPrices over time (OHLC and volume). Useful for reading market conditions, but it contains no record of trades.
Not suited to trade analysisExecution history from a live or paper account. Good for recording real activity, but it is a different file from a backtest result.
Separate from a backtest| Kind | Main contents | Export source | Trade-level analysis |
|---|---|---|---|
| Strategy-report CSV | KPI aggregates / trade detail (tab-dependent) | Strategy Tester | Possible (choose List of Trades) |
| Chart-data CSV | Prices over time (OHLC, volume) | Chart export | Not possible (no trade history) |
| Broker trading-data CSV | Fills from a live or paper account | Trading panel / account history | For real-activity records (separate data) |
In short, when you want to analyze backtest trades, the file to choose is the List of Trades from the strategy-report CSV. Everything below assumes this file.
The overall flow has four stages: open the strategy, show the Strategy Tester, choose the tab, download, and then load into the Lab. Let us fix the big picture with a diagram first.
Add your strategy to the chart and set the symbol, timeframe and period as you intend. The conditions you pick here become the assumptions baked into the CSV.
Show the Strategy Tester below the chart. Tabs such as Performance Summary, Trades Analysis and List of Trades sit side by side.
If you want per-trade detail, open List of Trades. The download exports the active tab, so this choice matters most.
Use the download control at the top of the panel to save the CSV (XLSX in some environments). Once it opens, confirm that the encoding, delimiter and date format are what you expected. Because button names and export formats can change, confirm the current label in the official help on exporting strategy data.
Each tab in the Strategy Tester differs in granularity and purpose. Choose the tab according to what you want to analyze. The example below uses fictional, illustrative data.
| Tab | Granularity | Example output (fictional) | Main use |
|---|---|---|---|
| Performance Summary | Overall aggregate | 128 trades · PF 1.42 · Max DD -8.6% | Grasp the strategy at a glance |
| Trades Analysis | Grouped aggregate | Win rate 57.8% · Avg profit +1,425 | See the breakdown of wins and losses |
| List of Trades | Per trade | 128-row detail (entry/exit, P&L, cumulative) | Use for detailed external analysis |
Performance Summary is convenient for the overall picture, but because it has no detail you cannot study the sequence of losing streaks or verify individual trades. Per-trade analysis needs List of Trades. How to read each KPI itself is covered in depth in the guide to profit factor, expectancy and other metrics (BT03).
A CSV may look like a string of numbers, yet you cannot interpret it correctly without knowing the assumptions behind it. Before you open the file, note the following. Each one is essential for reproducing or comparing the backtest conditions.
A backtest that leaves out commission and slippage tends to look better than live trading. How to apply them and how to stress-test them is covered in modeling slippage, spread and fees (BT09).
A List of Trades CSV lines up columns such as trade number, type, date and time, price, quantity and profit or loss. Because column names can vary by version and language, they cannot be asserted as a fixed specification. The Lab supports generic column mapping, so you can map the original CSV columns to analysis fields and load the file.
If the file has Run-up (the peak of unrealized profit) and Drawdown (the trough of unrealized loss) columns, you can use them to analyze exit efficiency. This angle is also touched on in the overview of the backtesting workflow (BT01). Even when column names differ from what you expected, mapping each one manually to the analysis field with matching meaning is all it takes.
The CSV will not load, the columns drift, the text is garbled — most of these come down to one of the following. Working through them in order resolves nearly every case.
We provide the pre-import checks both as a static table and as an interactive checklist. Everything is tallied on this device only; no file or entered value is ever sent over the network.
| Category | Check |
|---|---|
| Tab | Confirmed the export source is List of Trades |
| Assumptions | Noted the period, symbol and timeframe |
| Assumptions | Noted the position currency and initial capital |
| Assumptions | Noted the order sizing (fixed / percent / compounding) |
| Cost | Noted the commission and slippage settings |
| Time | Checked the time zone (chart / exchange) |
| Format | Checked that the encoding is UTF-8 |
| Format | Checked the delimiter (comma / semicolon) |
| Integrity | Checked for open (unclosed) trades |
| Safety | Removed personal data and unnecessary columns |
Tick each item you have confirmed and the “ready” and “check again” counts update. Nothing is submitted.
Tick each item you have confirmed (currently 0 / 11).
Once the assumptions and the file are in order, load the CSV or XLSX into SG Group’s TradingView Backtest & Robustness Lab. The free plan lets you try core KPIs, equity and drawdown, Monte Carlo and stress tests, with no cap on the number of runs (the free scope can change, so confirm the latest on the plan page).
Drag and drop the List of Trades CSV or XLSX into the Lab. Removing personal data and unnecessary columns before uploading gives you peace of mind.
With generic column mapping, assign date and time, type, price, quantity and profit or loss to the analysis fields. Even if names differ, you can map by meaning.
KPIs, the equity curve, drawdown, Monte Carlo and more appear automatically. Compare files with different assumptions separately so you do not misread the results.
Load your List of Trades CSV and the Lab visualizes KPIs, equity, drawdown and Monte Carlo in line with the assumptions you just confirmed. Start with the basic analysis for free, then move to saving, comparison and deeper diagnostics when you need them.
Once the CSV loads, the next task is interpreting what is inside. Reading the following in this order lets you check the reliability of a backtest step by step.
For all of these, the List of Trades CSV you exported in this guide is enough to review straight away in the free Lab.
TradingView button names, specifications and plan contents may change. Confirm the current labels in the official help before you act. For SG Group features and free scope, the current plan page takes precedence.