Analyze TradingView CSV: From Trade List to 16-KPI Strategy Report
You ran the backtest in TradingView. Now you need to know if those results are real. One CSV upload gives you Sharpe, Sortino, Monte Carlo simulation, rolling analysis, and a full breakdown of your strategy's risk profile.
What You Get When You Analyze a TradingView CSV
TradingView's Strategy Tester gives you the basics: net profit, win rate, profit factor, max drawdown, and a few more. Those are useful starting points, but they leave a lot of risk on the table. A strategy can show 80 percent win rate and 2.0 profit factor but still have a terrible Sharpe ratio and ruinous tail risk that only shows up when you look deeper.
When you upload that same CSV to Pineify, the tool calculates 16 KPI metrics from your trade list automatically. No configuration, no spreadsheet formulas, no Python scripts. You drop the file in and get the report.
When I first uploaded my own CSV from a mean reversion strategy on EURUSD, the Sharpe ratio came back at 0.7, not the 1.3 I had estimated from the win rate and average trade size. That single number changed how I thought about the strategy. The rolling window analysis confirmed it: the strategy worked well for 6 months, then decayed hard during the low-volatility period in early 2023. I would have caught none of that from the basic TradingView panel alone.
The 16-KPI Dashboard: What Each Metric Tells You
The dashboard groups your metrics into categories: performance, risk-adjusted returns, drawdown and recovery, distribution analysis, and trade efficiency. Here is a practical walkthrough of what each section means for your strategy.
Risk-adjusted returns: Sharpe, Sortino, Calmar, SQN
These four ratios tell you whether your profits came from skill or from taking on more risk. Sharpe ratio divides your average return by its volatility. A Sharpe above 1 is decent. Above 2 is rare and probably overfitted. Sortino only penalizes downside volatility, which matters more for most trading strategies because upside volatility is not really a problem. The Calmar ratio compares annualized return to maximum drawdown, so it directly penalizes strategies that blow up. The SQN, or System Quality Number, normalizes your average trade by its standard deviation and adjusts for trade count.
The Calmar ratio calculator and the SQN calculator give you a standalone deep dive on each metric if you want to understand the math behind them.
Drawdown and recovery: Ulcer Index, Recovery Factor, UPI
Max drawdown from TradingView tells you one number: the worst peak-to-trough drop. But one number does not tell you how deep the drawdowns were on average or how long they lasted. The Ulcer Index measures the depth and duration of drawdowns over the full period. Recovery Factor divides net profit by max drawdown to show how well the strategy bounces back. The UPI, or Martin Ratio, combines the Ulcer Index with returns for a risk-adjusted metric that only penalizes downside.
For a detailed breakdown of each, the Ulcer Index calculator and the Recovery Factor calculator walk through the formulas and interpretation.
Tail risk: Value at Risk and CVaR
VaR at 95 percent confidence tells you the worst loss you can expect 95 percent of the time. The other 5 percent falls in the tail. That tail is where strategies blow up. CVaR, or Expected Shortfall, goes further and tells you the average loss in that worst 5 percent. Two strategies with the same VaR can have very different CVaR numbers. I saw this firsthand comparing two trend-following strategies on ES futures: both had VaR around 2 percent, but one had CVaR of 3.8 percent and the other 7.2 percent. The difference was a few outlier trades that would have been catastrophic. The CVaR calculator and the Value at Risk calculator explain each in more depth.
Distribution: Skewness and Kurtosis
Skewness tells you if your returns lean positive or negative. Positive skew means you have more big wins and small losses. Negative skew means small wins and the occasional blow-up. Kurtosis measures how frequently extreme outcomes happen. Higher kurtosis means fatter tails, which means the strategy carries more tail risk than a normal distribution would suggest. I have a strategy on NQ that showed a perfectly flat equity curve with a 1.5 profit factor and Sharpe of 1.1. The kurtosis was 12.4, which is extremely high. That told me the strategy was coasting on a few lucky trades. Without kurtosis, I would have called it solid.
Monte Carlo simulation: Stress-testing your trade sequence
Your backtest results depend heavily on the sequence of winning and losing trades. If you got lucky with the order, your equity curve looks better than the strategy deserves. Monte Carlo simulation runs 1,000 randomized reorderings of your actual trades to see what the strategy would look like under different sequences.
The output is a probability distribution of outcomes: best case, worst case, median, and confidence intervals at 95 and 99 percent. If fewer than 60 percent of the runs are profitable, the strategy is fragile. I typically set my bar at 80 percent: if fewer than 800 out of 1,000 simulations come out positive, I do not trust the strategy with real money.
A strategy I tested on gold futures looked incredible: 2.3 profit factor, 22 percent annual return, only 8 percent max drawdown. The Monte Carlo simulation crushed it. Only 52 percent of the 1,000 runs were profitable, meaning the strategy was almost as likely to lose money as make it. The good backtest was a fluke of favorable trade ordering. Without Monte Carlo, I would have deployed it.
Rolling window analysis: Watching your strategy decay
A single backtest covers years of data, but markets change. A strategy that crushed it in 2021 might fail in 2022. Rolling window analysis slides a 20-trade window across your trade history and recalculates Sharpe, Sortino, and win rate at each step. You see how your strategy performs through different market regimes.
When I ran this on a trend-following strategy on SPY, the rolling Sharpe ratio stayed above 1.0 for the first three years. Then it dropped to 0.3 over a period of 40 trades and stayed there. The equity curve was still going up, but the quality of the returns had degraded. The rolling analysis caught the decay 3 months before the total returns started to flatten. That heads-up alone saved me from doubling down on a strategy that was quietly dying.
MFE and MAE: Where to set your stops and targets
Maximum Favorable Excursion measures how far price moved in your favor during a trade. Maximum Adverse Excursion measures how far it moved against you. When plotted on a scatter chart, each trade becomes a point: X-axis is MAE, Y-axis is MFE. Winning trades are colored green, losing trades red.
The scatter plot shows you patterns. If most of your winning trades develop a large MFE but you exit early, you are leaving profit on the table. If losing trades hit a consistent MAE level, that is where your stop should sit. I optimized my stop-loss on a mean reversion strategy by looking at where losing trades clustered on the MAE axis. Moving the stop from 2.5 percent to 1.8 percent cut the average loss by 22 percent without reducing win rate. The MFE and MAE analysis tool explains the full methodology.
Returns heatmaps and distribution analysis
Heatmaps break your returns down by time: monthly, weekly, daily, and by time of day. A monthly heatmap shows you which months your strategy actually makes money. I saw one strategy that made 70 percent of its annual profit in January and February alone. The other 10 months were essentially flat. That is a seasonal strategy, not a year-round edge. The heatmap caught it.
The returns distribution histogram plots your trade returns as bars and overlays a normal distribution curve. If your distribution has fatter tails than the normal curve, your strategy carries more extreme-event risk than a naive assessment would suggest. If it is skewed left (more mass on the negative side), the strategy has more losing days than winning ones, even if the win rate looks fine. These visual checks are immediate flags I look for before checking any single metric.
Kelly criterion: Bet sizing from your CSV data
The Kelly Criterion calculates the optimal fraction of your capital to risk on each trade based on your strategy's win rate and average win-to-loss ratio. The formula is straightforward: f = (p * b - q) / b, where p is your win rate, q is your loss rate, and b is the average win divided by the average loss.
Full Kelly is usually too aggressive for most traders. I have never actually run full Kelly on any of my own strategies. A common approach is to use fractional Kelly: one-quarter or one-half of the full Kelly number. If Kelly says 18 percent, you risk 4.5 percent per trade. This gives you the compounding benefits while keeping the drawdown manageable. The tool calculates the full number, but you decide how much of it to use.
AI verdict: A structured read on your strategy
Click one button and the tool generates a structured AI report on your backtest. It scores the strategy from 0 to 100, lists strengths and weaknesses based on your actual metrics, rates the risk level, and suggests specific improvements. Every claim in the AI report ties to a number in your KPI dashboard.
I am honest about the limits here. The AI does not know your market or your trading style. It reads the numbers and flags what stands out statistically. A strategy that scores 70 might be perfect for a specific regime you know how to trade but the AI does not recognize. Use the verdict as a second opinion, not a final ruling. One of my best strategies, a volatility breakout on crude oil, consistently scores around 55 on the AI analysis because its returns are lumpy. But I know the strategy well enough to trade through the drawdowns, and it has been profitable for 3 years.
Export to Excel: 8-sheet workbook from your CSV
One click exports everything to a formatted Excel workbook with 8 sheets: KPI Overview, List of Trades (with added efficiency columns), Monthly Returns, Weekly Returns, Daily Returns, Rolling Statistics, Distribution Data, and Monte Carlo Results. The workbook is structured so you can drop it into your own reporting, share it with a team, or file it for compliance.
I use the Excel export to build a running library of strategy reports. Each time I test a new idea, I save the workbook. Over time I have built a reference set of 40+ strategies with their actual metrics, which makes it easy to compare new ideas against historical baselines. Without the export, I would have to screenshots and manual spreadsheets like I did before.
Practical workflow: From TradingView CSV to strategy decision
Here is the workflow I actually follow. Not the theory version, but what I do every time I test a new strategy.
- Run the backtest in TradingView. I use at least 5 years of data, on daily or 4-hour timeframe. I look for at least 200 closed trades.
- Export the List of Trades CSV. Only the trade list matters. I ignore the default metrics tab.
- Upload to Pineify. I check the KPI dashboard first. If the Sharpe ratio is below 0.5, I stop. If it is above 0.8, I dig into the other tabs.
- Check Monte Carlo. I want at least 75 percent profitable runs. Below that, I move on to the next idea.
- Check rolling analysis. I look for consistent Sharpe across the full period. If the rolling Sharpe drops below 0 for more than 20 trades, the strategy has regime problems.
- Check MFE and MAE. I look at where losing trades cluster and whether my stops make sense.
- Check the heatmap. If the strategy only makes money in 3 months of the year, it is seasonal, not consistent.
- Export the Excel workbook. Save it to my strategy folder. Then I decide whether to paper trade for another month or allocate real capital.
This process takes about 5 minutes per strategy. Without the tool, checking these metrics manually would take hours of spreadsheet work or require Python. The 100 percent client-side processing means I can do this from any machine without worrying about my strategy data ending up on someone else's server.
FAQ
Upload Your TradingView CSV and Get the Full Report
Free tool. No account needed. Your data never leaves your device. Upload your Trade List CSV and get 16 KPI metrics, Monte Carlo simulation, rolling analysis, and an 8-sheet Excel export.
Analyze My Backtest Now