Skip to content
Algo Trade Analytics Docs

Backtest vs Alerts

All Plans

The Backtest vs Alerts analysis tool identifies logic divergence between your TradingView strategy’s backtested performance and the actual alerts it generates in real-time. This is your first line of defense against deploying a strategy that looks profitable in backtesting but fails to execute correctly in live markets.

Many traders assume that if their backtest shows profit, their live alerts will replicate those results. In reality, several factors cause drift:

  • Repainting signals that look perfect historically but disappear in real-time
  • Bar timing differences between historical and live data feeds
  • Complex conditional logic that behaves differently on closed vs. forming bars
  • Timezone mismatches between your data sources

This tool gives you visibility into exactly where and why your strategy diverges.



The analysis follows a structured 4-step workflow:

  1. Data Scope — Define your analysis window (date range) and select your alert data source (webhooks or CSV import)

  2. Strategy Properties — Identify your strategy by name and symbol for tracking and reporting

  3. Backtesting Results — Upload your TradingView Strategy Tester CSV export as the baseline

  4. Analysis Configuration — Set time and price tolerances for signal matching

Once all steps are complete, click Run Analysis to generate your comparison report.


Before starting, ensure you have:

  • A TradingView strategy with backtesting results
  • Alert data from one of these sources:
    • Webhook events received in Algo Trade Analytics
    • A CSV file of your alert history
  • Access to TradingView’s Strategy Tester export feature

After running an analysis, you’ll receive:

MetricDescription
Match RatePercentage of backtest trades that found a corresponding alert
Missed AlertsBacktest signals that never generated a real-time alert
False AlertsReal-time alerts with no corresponding backtest trade
Time DriftAverage timing difference between expected and actual signals
Price DriftAverage price difference at signal time
Match RateStatusRecommendation
95%+✅ Production ReadyStrategy logic is stable
80-95%⚠️ Minor IssuesReview timing settings and edge cases
Below 80%❌ Needs InvestigationDo not trade live until resolved