Skip to main content

How to Export Data from TradingView (Strategy Trades & Chart Data)

Two Types of TradingView Export

TradingView offers two different export functions. Make sure you're using the right one:

Export TypeWhat You GetFile FormatBest For
Strategy Tester ExportList of trades, P&L, performance metricsXLSX (Excel)Analyzing backtest results
Chart Data ExportRaw OHLCV price candlesCSVBuilding datasets, manual analysis

Looking for chart data? Jump to Chart Data Export →

Want to analyze backtest results? Keep reading - this is your guide.

Export your list of trades from TradingView Strategy Tester in seconds: Open Strategy Tester → click the strategy name dropdown → select "Download data as XLSX." The file includes all data from every tab automatically. (Save as CSV from Excel if needed.)

But here's the problem: most traders export dozens of strategies, then lose track of files, make Excel formula errors, and can't properly compare performance across strategies.

Updated 16 December 2025·15 min read·Beginner
01

What is TradingView Strategy Tester Export?

TradingView Strategy Tester export is the process of downloading your backtest results—including every trade entry, exit, P&L, and performance metric—from TradingView's built-in backtesting engine into Excel (.xlsx) or CSV format. This allows traders to analyze strategies outside TradingView, compare multiple strategies, and run advanced stress tests like Monte Carlo simulations.

02

How to Export Chart Data from TradingView

If you need raw price data (OHLCV candles) for external analysis, here's the quick process:

1

Open your chart in TradingView

2

Click the "Manage layouts" dropdown arrow in the top-right area (near "Save layout")

3

Select "Download chart data..." from the dropdown menu

4

In the dialog, choose your preferred time format (UNIX timestamp or ISO)

5

Click "Download" to save the CSV file

Tip

The export only includes data visible on your chart. Zoom out as far as possible before exporting to capture the maximum history.

Requires paid plan: Chart data export is only available on TradingView Pro, Pro+, and Premium plans.

Wait - Are You Exporting to Backtest Manually?

If you're downloading chart data to build a spreadsheet and manually log trades... stop.

There's a faster workflow:

1

Automate your logic in Pine Script (TradingView's strategy language)

2

Load the strategy on your chart - results appear automatically in the Strategy Tester panel

3

Export the List of Trades (covered below) with all entries, exits, and P&L calculated

4

Upload to BacktestBase for Monte Carlo simulations, Risk of Ruin analysis, and risk management tools

This approach saves 100+ hours of manual Excel work and eliminates calculation errors.

Ready to try the automated workflow? Keep reading for the Strategy Tester export guide.

03

How to Export List of Trades from Strategy Tester (Step-by-Step)

To get your list of trades, you can export directly from the TradingView Strategy Tester panel. The export downloads as an XLSX file containing every entry, exit, signal, and P&L metric across 5 comprehensive sheets—everything needed for professional analysis.

1

Strategy Tester Setup

Configure your TradingView Strategy Tester with proper data range and settings for comprehensive analysis.

  • Use at least 2 years of data for statistical significance
  • Verify commission and slippage settings match your broker
2

Performance Review

Verify all performance metrics are calculated correctly before proceeding with export.

  • Check Net Profit and Win Rate calculations
  • Verify Maximum Drawdown accuracy
  • Review Profit Factor and total Trades count
3

Download XLSX Export

Export to Excel with proper formatting and complete data capture across all 5 sheets.

  • Open Strategy Tester panel in TradingView
  • Click the strategy name dropdown
  • Select "Download data as XLSX" (not CSV)
  • XLSX contains all 5 sheets automatically (List of Trades, Performance, Properties, Trades Analysis, Risk Ratios)
  • Keep the original formatting intact—do not open in Google Sheets or modify before uploading
4

Professional Analysis

Upload to BacktestBase for systematic analysis, monte carlo simulations and more.

  • Drag & drop supported for easy upload
  • Automatic data validation and error checking
  • Instant analysis, monte carlo and risk of ruin simulations
04

Common TradingView Export Mistakes to Avoid

Incomplete Data Export

Missing sheets means missing 60% of analysis potential

Wrong File Format

Opening XLSX in Google Sheets or modifying data breaks analysis compatibility

Data Modification

Editing exported data breaks analysis consistency

Poor File Naming

"Strategy1.xlsx" tells you nothing after 6 months

05

The Real Problem with Strategy Files

The Pain

Lost Strategy Files: "I had 15 great strategies but can't find half the Excel files" — Research shows poor file organization significantly impacts decision-making

No Strategy Comparison: "Which of my 10 strategies actually performs best?"

Manual Calculation Errors: "Spent hours calculating portfolio risk and got it wrong"

Version Control Chaos: "Strategy_v3_final_FINAL_new.xlsx - which version works?"

The Solution

Cloud Strategy Database: All strategies organized in one place, never lose a file again

Instant Comparison: Side-by-side strategy ranking with automatic performance metrics

Auto-Calculated Metrics: Professional risk analysis without manual Excel formulas

Monte Carlo Testing: 1,000+ simulation stress tests for strategy validation

Why We Built BacktestBase

We built BacktestBase because we experienced these exact frustrations ourselves. After years of managing strategy files across folders, losing track of which version performed best, and spending hours on manual calculations that should take minutes—we knew there had to be a better way. BacktestBase turns your exported TradingView data into organized, actionable insights so you can focus on what actually matters: improving your trading.

06

Which Method Gets You Real Results?

FeatureBacktestBaseManual Excel
All 5 data sheets
Instant visualizations
Auto-calculated metricsManual formulas
Monte Carlo simulation
Strategy comparisonComplex
Time to analyze2 minutesHours
07

Which Workflow Fits Your Trading Style?

Here are three common scenarios that illustrate why systematic strategy management matters. See if you recognize yourself in any of these situations.

Strategy Developer

20+ strategies per month

Struggles with file chaos, version control, and identifying best performers across dozens of strategy iterations.

How BacktestBase helps:

  • Organized strategy database
  • Automatic performance ranking
  • Instant comparison dashboard
Portfolio Trader

Multi-strategy portfolios

Needs to combine multiple strategies but struggles with optimal strategy allocation and understanding portfolio-level performance.

How BacktestBase helps:

  • 3 weighting methods for capital allocation
  • Portfolio metrics (Return, Drawdown, Profit Factor)
  • Risk reduction vs worst strategy analysis
Risk-Focused Trader

Validation before deployment

Needs comprehensive robustness validation before committing capital, but lacks proper stress testing tools.

How BacktestBase helps:

  • 1,000+ Monte Carlo simulations
  • 30-point robustness scoring
  • Risk of ruin simulations
  • Drawdown recovery analysis

TradingView Export Glossary

Strategy Tester
TradingView's backtesting engine that runs trading strategies against historical data. Access via the Strategy Tester tab to view backtest results and export data.
List of Trades
Complete record of individual trade entries and exits with P&L data. Critical for Monte Carlo simulations and trade-by-trade analysis.
Performance Summary
Overall strategy metrics including net profit, drawdown, and win rate. Primary data for strategy comparison and ranking in professional dashboards.
Risk/Performance Ratios
Advanced risk-adjusted metrics like Sharpe ratio, Sortino ratio. Professional risk assessment and institutional-grade strategy evaluation.
Strategy Properties
Complete configuration parameters used in the backtest. Strategy replication, optimization tracking, and parameter documentation.
Monte Carlo Simulation
Statistical method that tests strategy robustness using random trade variations. Validate strategy performance across 1,000+ different market scenarios.
Chart Data Export
Raw OHLCV price candle data downloaded as CSV from TradingView charts. Used for building custom datasets or external analysis tools.
XLSX vs CSV
XLSX (Excel) preserves multiple sheets and formatting; CSV is single-sheet plain text. Strategy Tester exports as XLSX with 5 sheets.

Frequently Asked Questions

Can I export TradingView data with a free account?

Chart data export requires a paid TradingView plan (Pro, Pro+, or Premium). Strategy Tester export may also require a paid plan - if you do not see the Download data as XLSX option, check your subscription level.

What is the difference between exporting chart data and Strategy Tester results?

Chart data export downloads raw price candles (OHLCV) as a CSV file. Strategy Tester export downloads your complete backtest results as an XLSX file, including every trade entry/exit, P&L, and performance metrics across 5 sheets.

How do I export TradingView data to Excel or CSV?

For Strategy Tester results: Open the Strategy Tester panel, click the strategy name dropdown, select Download data as XLSX. For chart data: Click the Manage layouts dropdown, select Download chart data, choose time format, click Download.

Why cannot I find the export button in TradingView?

Three common reasons: You may need a paid plan, you are looking in the wrong place (Strategy Tester export is in the Strategy Tester panel dropdown), or you do not have a strategy loaded on your chart.

How do I export backtests from TradingView for professional analysis?

  1. Open your TradingView Strategy Tester tab with completed backtest results
  2. Click the strategy name dropdown
  3. Download data as XLSX
  4. Download the complete .xlsx file containing all 5 sheets
  5. Upload directly to BacktestBase without modifying any data

Pro Tip: The Excel export contains 60+ data points across 5 sheets - most traders only use 20% of available data.

Do I need to modify my TradingView export files before uploading?

No, never modify the original export files. BacktestBase automatically processes all 5 sheets from TradingView's Excel export format. Any modifications can break the analysis accuracy and prevent proper data validation.

How can I organize multiple TradingView strategy exports systematically?

Manual Excel management leads to 60% strategy loss over time. Professional systematic traders use dedicated platforms like BacktestBase for automated organization, tagging, comparison, and portfolio optimization. This prevents file chaos and enables proper strategy ranking.

Can I compare strategies from different timeframes and markets?

Yes, BacktestBase allows you to upload strategies from any market or timeframe and view them together in your strategy dashboard. This makes it easy to compare performance metrics side-by-side, though differences may reflect varying market conditions.

How does Monte Carlo stress testing work with my actual trade data?

The Monte Carlo engine uses your actual trade sequences from TradingView, then skips exactly your selected percentage of trades (randomly chosen) and randomizes the remaining sequence to test strategy robustness under different market scenarios. This provides realistic stress testing based on your actual trading data with 1,000+ simulation runs.

Is my trading strategy data kept private and secure?

Yes, all strategy data is encrypted and isolated with Row Level Security. Only you can access your strategies. BacktestBase never shares or analyzes your proprietary trading strategies for any commercial purposes.

What if TradingView changes their export format?

BacktestBase continuously monitors TradingView export formats and automatically updates the parsing system. The platform maintains backward compatibility with previous export formats while supporting new enhancements.

Related TradingView Export Articles

Transform Your Trading Analysis Today

Stop losing strategies in Excel chaos. Join systematic traders who use professional analysis tools to optimize their trading performance.

Free Account No Credit Card 2-Minute Setup

Disclaimer: This guide is for educational purposes only and does not constitute financial advice. TradingView® is a registered trademark of TradingView Inc. BacktestBase is not affiliated with TradingView. Trading involves substantial risk of loss. Past performance does not predict future results.