Skip to content
Algo Trade Analytics Docs

Backtesting Data Upload

The Backtesting Results section is where you upload your TradingView Strategy Tester export. This trade history becomes the baseline against which your real-time alerts are compared.


Your backtest data represents the “expected” behavior of your strategy — the trades it should generate based on historical data. By comparing this to actual alerts, you can identify where and why your strategy diverges between testing and live execution.


Follow these steps to export your trade history:

  1. Navigate to TradingView and open the chart with your strategy applied. Make sure the strategy is actively running on the chart (you should see position markers and the Strategy Tester panel).

  2. At the bottom of your TradingView screen, locate and click the Strategy Tester tab. If you don’t see it:

    • Click the three-dot menu (⋮) near the bottom panel tabs
    • Select “Strategy Tester” from the list

    The Strategy Tester panel shows your strategy’s performance metrics.

  3. Within the Strategy Tester panel, you’ll see several tabs:

    • Overview
    • Performance Summary
    • List of Trades ← Click this one
    • Properties

    The List of Trades tab displays a table of all executed trades.

  4. In the top-right corner of the trades table, look for the Export icon (a download arrow or ”↓” symbol).

    Click it to download the CSV file. The file will be named something like Strategy Tester Trade List.csv.

  5. Open the downloaded CSV to verify it contains:

    • Trade # column
    • Type (Entry/Exit)
    • Signal name
    • Date/Time
    • Price
    • Profit information

    If any columns are missing, check your TradingView version or strategy settings.


Once you have your CSV file:

  1. Locate your downloaded CSV file
  2. Drag the file over the upload zone (dotted border area)
  3. Drop the file when the zone highlights
  4. Wait for validation to complete

The system expects TradingView’s standard export format:

ColumnDescriptionExample
Trade #Sequential trade number1, 2, 3
TypeEntry or ExitEntry Long, Exit Long
SignalStrategy signal nameBuy Signal, Take Profit
Date/TimeTrade timestamp2024-01-15 09:30:00
PriceExecution price245.50
ContractsPosition size100
ColumnDescriptionUsed For
Profit %Trade profit percentagePerformance analysis
ProfitTrade profit in currencyPerformance analysis
Cum. Profit %Cumulative profitEquity curve
Cum. ProfitCumulative profit valueEquity curve
Run-up %Maximum favorable excursionRisk analysis
Drawdown %Maximum adverse excursionRisk analysis
Trade #,Type,Signal,Date/Time,Price,Contracts,Profit %,Profit,Cum. Profit %,Cum. Profit
1,Entry Long,Buy Signal,2024-01-15 09:30:00,245.50,100,,,,
1,Exit Long,Take Profit,2024-01-15 14:45:00,248.20,100,1.10%,$270.00,1.10%,$270.00
2,Entry Long,Buy Signal,2024-01-16 10:15:00,242.80,100,,,,
2,Exit Long,Stop Loss,2024-01-16 11:30:00,241.50,100,-0.54%,-$130.00,0.56%,$140.00

Your backtest data and alert data may be in different timezones:

Data SourceTypical Timezone
TradingView BacktestExchange timezone or UTC
Webhook AlertsUTC (server time)
Your Local CSVYour local timezone

Use the Timezone Offset slider to align your data:

OffsetUse Case
0 hoursBoth sources are already in UTC
-5 hoursConvert EST → UTC
-8 hoursConvert PST → UTC
+1 hourConvert CET → UTC

How to determine the offset:

  1. Find a trade that appears in both backtest and alerts
  2. Compare the timestamps
  3. Calculate the difference
  4. Apply that offset to the slider

After upload, the system:

  1. Parses the CSV structure
  2. Validates required columns exist
  3. Extracts trade information
  4. Normalizes dates and formats
  5. Displays trade count and date range
  • ✅ Green checkmark appears
  • Trade count displayed (e.g., “247 trades loaded”)
  • Date range shown (e.g., “Jan 1 - Jan 31, 2024”)
  • Step marked as complete in workflow
ErrorCauseSolution
”Invalid CSV format”File is corrupted or wrong formatRe-export from TradingView
”Missing required columns”CSV doesn’t have standard headersVerify TradingView export
”No trades found”CSV is empty or filtered outCheck date range, re-export
”Parse error on row X”Invalid data in specific rowCheck/fix that row manually

The Backtesting Results step is marked complete (✓) when:

  • A valid CSV file is uploaded
  • At least one trade is successfully parsed
  • Trade count is displayed

Once complete, the Analysis Configuration step automatically expands.


  1. Set your chart date range to match your intended analysis period
  2. Verify your strategy settings are the same as when alerts were generated
  3. Check trade visibility — ensure all trades are displayed in the Strategy Tester
  1. Verify trade count seems reasonable for the period
  2. Spot-check timestamps against your expectations
  3. Confirm symbol matches your strategy properties entry

Causes:

  • TradingView limited the export
  • Chart date range is narrower than you think
  • Strategy has fewer historical signals than expected

Solutions:

  1. Extend chart date range and re-export
  2. Check TradingView plan export limits
  3. Verify strategy was active for the entire period

”No Trades in Date Range” After Upload

Section titled “”No Trades in Date Range” After Upload”

Cause: Your uploaded trades don’t overlap with your Data Scope date range.

Solutions:

  1. Adjust Data Scope dates to match your backtest data
  2. Re-export backtest with a different date range
  3. Check timezone offset isn’t shifting dates outside your range

Cause: Multiple entries/exits share the same trade number (this is normal — each trade has an entry and exit).

Note: This is expected behavior. Trade #1 will have both an “Entry” and “Exit” row.