AmiBroker backtesting metrics tell you far more than net profit. The numbers that matter most in the AmiBroker backtest report are annual return (CAR), max system drawdown, CAR/MDD and RAR/MDD, profit factor, payoff ratio, expectancy and recovery factor. Together they show whether a system beats simply holding NIFTYBEES and whether you could survive its worst phase. This guide explains each metric in plain language, with AmiBroker’s exact definitions and a calculator.
“Backtesting isn’t about finding the prettiest equity curve. It’s about finding a system that can survive real trading.”
When you “Backtest” your trading strategies in Amibroker, a detailed report appears, filled with numbers, percentages, and stats. For most traders, this screen is either exciting or overwhelming. But here’s the thing: learning how to read these metrics might be the difference between a strategy that works and one that breaks your capital.

This article simplifies those numbers so even part-time or self-taught traders can confidently read their results and avoid the most common backtesting traps.

- Judge a system on return per unit of pain: CAR/MDD and RAR/MDD above 2 are good, below 1 is a warning.
- AmiBroker’s RAR is CAR divided by exposure; it rewards systems that make money while using capital less of the time.
- Profit factor of 1.3 to 2 is solid; below 1.3 a system is fragile to slippage and costs.
- A low win rate is fine if payoff ratio and expectancy are strong.
- Every number in the report is in-sample; confirm with walk-forward tests and realistic costs.
AmiBroker backtesting metrics at a glance
| Metric | Formula (AmiBroker) | Rule of thumb |
|---|---|---|
| Net Profit % | Net profit / initial equity | Look at it last, never alone |
| Annual Return % (CAR) | Compounded annual growth of equity | Beat NIFTYBEES (10 to 12% long term) |
| Exposure % | Average value of open positions / equity, per bar | Lower exposure for the same return is better |
| Risk Adjusted Return % (RAR) | CAR / Exposure % | Compare between systems |
| Max. system % drawdown | Largest peak to valley fall in equity | Must fit your own pain limit |
| CAR/MDD | CAR / max system % drawdown | Above 1 acceptable, above 2 good |
| RAR/MDD | RAR / max system % drawdown | Above 2 good |
| Profit Factor | Profit of winners / loss of losers | 1.3 to 2 solid, above 2 strong |
| Payoff Ratio | Average win / average loss | Higher allows a lower win rate |
| Expectancy | Average profit per trade (₹ and %) | Positive after costs |
| Recovery Factor | Net profit / max system drawdown | Above 2 strong |
| Sharpe Ratio of trades | Annualised (avg trade return – risk-free) / std dev | Above 1 good |
| Ulcer Index | Root mean square of % drawdowns | Lower is better |
Why Backtesting Metrics Matter?
Backtesting shows how your strategy might have worked in the past. But it can also be deceptive. Metrics help answer deeper questions:
- Is your strategy stable or just lucky?
- What’s the worst-case drawdown?
- Can you handle those bad days emotionally and financially?
- Is your system too good to be true (i.e., overfitted)?
- Can it survive real-world market noise?
If you skip reading the report properly, you’re likely to put real money into an illusion.
The Core Metrics That Matter (Explained Simply)
Let’s break down Amibroker’s backtest metrics with real-world meaning:
1. Net Profit %
How much your system earned overall.
Nice to look at, but don’t stop here. This number hides the emotional cost of getting there.
2. Annual Return % (CAGR): Is Your Strategy Better Than Just Holding NIFTYBEES?
Let’s be real: if your backtested strategy can’t beat buying and holding an index ETF like NIFTYBEES, then why bother?
NIFTYBEES (which tracks the NIFTY 50) has delivered 10% to 12% CAGR over the long term. And it requires zero effort, just one click and chill.
So here’s the benchmark:
| Strategy | Approx. Annual Return (CAGR) |
|---|---|
| NIFTYBEES (Buy & Hold) | 10-12% |
| Warren Buffett (since 1965) | ~20.1% |
| Renaissance Medallion Fund | ~66% (before fees) |
If your strategy earns 8% a year with 25% drawdown, you’re doing a lot of work to underperform BUY and HOLD Investors
Ask yourself:
Is this system doing better than a passive index fund?
Does it justify the extra risk, time, and stress?
If the answer is no, you may be better off sticking to long-term investing with NIFTYBEES and revisiting your strategy.
3. Max System Drawdown %: The Pain You Can’t Ignore
Most traders get excited about profits. But smart traders focus on losses, specifically, how deep and how long those losses last.
That’s exactly what Max System Drawdown tells you:
The worst dip from your portfolio’s peak to its lowest point during the backtest.
If your backtest shows a 35% drawdown, it means that at some point, your ₹10 lakh capital became ₹6.5 lakh.
Would you have stuck around?
Here’s why this matters
- It’s not just about how much you lose. It’s how long you stay in the red.
A -20% drawdown that recovers in 10 days feels very different from one that takes 6 months to bounce back. - Length of drawdown = psychological pressure
Even a “good” strategy becomes unbearable when your equity curve is underwater for months. Traders start second-guessing, skipping trades, or switching systems. - Your Emotional Quotient (EQ) is tested more than your IQ.
The markets will test your patience before they reward your logic.
“Most people don’t blow up their accounts because their strategy was bad, they blow up because they couldn’t sit through the tough phases.”
Real Talk: Drawdowns Are Personal
Some traders are okay with 30% dips. Others can’t sleep if they lose 5%.
Your system’s drawdown should match your emotional capacity, not just theoretical risk.
4. Exposure %
Tells you how often your strategy is active in the market.
If you’re only exposed 30% of the time but earning solid returns, that’s a sign of efficiency.
5. RAR/MDD: Are You Being Rewarded for the Risk You Take?
Let’s say two strategies both make 20% annual returns.
- Strategy A runs 24/7, always in the market, exposed to every possible swing.
- Strategy B only takes trades 30% of the time, and earns the same 20%.
Which one’s smarter?
The answer: Strategy B.
Because it earned the same return while taking far less risk. That’s exactly what Risk-Adjusted Return shows you.
This shows if your system is making good use of risk.
If this value is over 2, the strategy is both smart and safe.
Below 1? Risk might outweigh reward.
How AmiBroker defines these two numbers. In the report, Risk Adjusted Return % (RAR) is the annual return divided by exposure: RAR = CAR / Exposure %. A system that makes 20% a year while in the market only 30% of the time has an RAR of about 67%, because in theory the idle capital could be used elsewhere. RAR/MDD then divides RAR by the maximum system % drawdown, so it rewards systems that are both capital efficient and shallow in drawdown. AmiBroker’s own guide calls a value above 2 good for both CAR/MDD and RAR/MDD (AmiBroker report guide).
6. Profit Factor: The Classic Test of Whether Your System Actually Works
Profit Factor = Total Profits from Winning Trades ÷ Total Losses from Losing Trades
This is one of the simplest but most powerful metrics in your backtest report.
It answers a basic question:
“For every ₹1 I lose, how much do I make?”
Example
- If your profit factor is 1.5, you’re earning ₹1.50 for every ₹1 lost.
- If it’s 0.9, you’re losing more than you make, even if your strategy feels profitable.
What to Aim For
| Profit Factor | What It Means |
|---|---|
| > 2.0 | Very strong, high edge |
| 1.3 to 2.0 | Solid, dependable system |
| 1.0 to 1.3 | Needs work, may be sensitive to slippage/costs |
| < 1.0 | Losing strategy, even if it’s winning often, it’s bleeding money overall |
Real-World Insight
Some strategies have high win rates but terrible profit factors.
For example:
Winning 90% of trades but earning ₹10 and losing ₹100 when you’re wrong = disaster.
That’s why profit factor is so valuable, it ignores win rate hype and zooms in on net impact.
7. Expectancy (Average Profit Per Trade)
Expectancy, How Much Do You Really Make Per Trade?
This is the heart of any backtest. Expectancy tells you, in plain language:
“On average, how much do I win (or lose) each time I take a trade?”
It combines win rate, average win, loss rate, and average loss into one powerful number.
Formula
Expectancy = (Win Rate × Avg Win) − (Loss Rate × Avg Loss)
You can also look at it in percent terms or absolute ₹ value (Amibroker shows both).
Example
- Win rate = 40%
- Avg win = ₹500
- Loss rate = 60%
- Avg loss = ₹200
Expectancy = (0.4 × 500) − (0.6 × 200) = ₹200 − ₹120 = ₹80 per trade
That means if you take 100 trades, your strategy is expected to make ₹8,000, even with just a 40% win rate!
Why It’s So Useful
- Cuts through noise. Doesn’t care how “beautiful” the equity curve looks.
- Shows whether your edge is real.
- Tells you if scaling up makes sense.
Even with low accuracy, a positive expectancy can be profitable.
Expectancy × Number of Trades = Long-term edge.
What’s a “Good” Expectancy?
- Positive and rising = your system is reliable
- Flat or negative = system needs improvement
- Combine this with Profit Factor and Payoff Ratio to get a clear view of trade quality
Trading Psychology Angle
A system with high expectancy but low win rate will test your discipline.
You’ll lose more often than you win, but when you win, you win big.
“Expectancy helps you focus on process over outcome. It reminds you: a single trade doesn’t matter, your edge plays out over time.”
8. Recovery Factor: How Fast Can Your Strategy Bounce Back?
Let’s say your trading system went through a rough patch and lost ₹1,00,000.
Now imagine it took ₹3,00,000 in profit just to climb back from that hole.
That’s what Recovery Factor is about.
Recovery Factor = Total Net Profit ÷ Maximum Drawdown
It shows how well your system recovers from its worst moment.
And in live trading, recovery speed matters just as much as profitability.
Why It’s Crucial
Every strategy will fall at some point. The real question is: how fast does it get back up?
- If a system takes a ₹1 lakh loss and makes only ₹1.5 lakh overall, that’s weak recovery.
- If it makes ₹5 lakh after a ₹1 lakh drawdown, that’s solid.
What’s a “Good” Recovery Factor?
| Recovery Factor | Meaning |
|---|---|
| > 2.0 | Strong system, recovers well from drawdowns |
| 1.0 to 2.0 | Average, not bad, but recovery might be slow |
| < 1.0 | Caution, you may spend more time digging out than building wealth |
Emotional Angle
Ever held a position during a drawdown and waited… and waited… and waited for it to come back?
That emotional fatigue is real.
- A low Recovery Factor means longer wait times, more self-doubt, and higher chances of you abandoning the system right before it turns profitable again.
- A high Recovery Factor means your system is resilient. It doesn’t just survive pain, it comes back swinging.
“In the markets, resilience isn’t just about avoiding losses, it’s about how fast you recover from them.”
9. Payoff Ratio
How big your wins are compared to your losses.
Even a 30% win rate can work if your average win is 3x your average loss.
10. Sharpe Ratio: Are Your Returns Worth the Rollercoaster?
The Sharpe Ratio isn’t just another fancy number, it tells you something deeply important:
“Is this strategy giving me smooth, consistent returns, or is it making me rich one day and miserable the next?”
It measures how stable your returns are in relation to the amount of risk you’re taking.
The higher the Sharpe Ratio, the more peaceful your trading life will be.
Let’s simplify this:
It shows whether your strategy’s returns are steady or all over the place.
- Above 1 = Good
- Above 2 = Very reliable
- Below 1 = Could be too bumpy to handle in live trading
Note on AmiBroker’s Sharpe. The report shows the “Sharpe Ratio of trades”: AmiBroker takes the average and standard deviation of percentage trade returns, annualises both using bars per year divided by average bars per trade, and subtracts a risk-free rate (set in the report settings). Because it is built from trades, not daily equity, it is not directly comparable with a mutual fund’s Sharpe ratio. Use it to compare your own systems with each other.
11. CAR / Max Drawdown: The Ultimate Risk-to-Reward Test
If you had to pick just one number to judge a trading strategy, this might be it.
CAR/MDD = Compounded Annual Return ÷ Maximum Drawdown
It tells you how much return you’re getting for every unit of pain the strategy puts you through.
Think of it Like This
You’re comparing two systems:
- System A returns 18% per year with a max drawdown of 9%
- System B returns 25% per year but with a drawdown of 30%
Let’s do the math:
- System A: CAR/MDD = 2.0
- System B: CAR/MDD = 0.83
Even though B looks more profitable on paper, A is the better long-term bet, it gives more return per unit of risk.
What’s a Good CAR/MDD?
| CAR/MDD Value | Interpretation |
|---|---|
| > 2.0 | Excellent, returns far outweigh the pain |
| 1.0 to 2.0 | Acceptable, balanced risk and reward |
| < 1.0 | Caution, you’re taking on more pain than it’s worth |
Why Traders Love It
- Combines return and drawdown into a single, powerful ratio
- Easy to compare across strategies and timeframes
- Forces you to think like a fund manager: “Is the juice worth the squeeze?”
“High profits are great. But if you had to sit through months of losses to get there, would you still do it?”
A high CAR/MDD answers “yes” more confidently than any other metric.
12. Ulcer Index: The Anxiety Score of Your Strategy
“How much time does your equity curve spend making you nervous?”
The Ulcer Index doesn’t just look at losses, it looks at the depth and duration of every drawdown.
In short: it measures the pain of holding on.
Where max drawdown shows the worst dip, the ulcer index tells you how often and how long you were underwater.
Think of it like a stress meter
- Did your strategy fall and bounce back fast? Low ulcer index.
- Did it dip, drag for weeks, and only slowly crawl back up? High ulcer index.
Why This Matters
Two systems can have the same max drawdown, but totally different experiences.
| System A | Drawdown: -20%, Recovery in 3 days |
|---|---|
| System B | Drawdown: -20%, Recovery in 4 months |
Both show -20% drawdown. But System B causes more ulcers.
“The longer you’re underwater, the harder it is to follow the system.”
In AmiBroker the Ulcer Index is computed from the percentage drawdown at every bar (square the drawdowns, average them, take the square root). Lower is better; compare it between systems tested over the same period rather than looking for a universal “good” number.
Enter the summary numbers from any backtest. The calculator works out CAR, RAR, CAR/MDD, RAR/MDD, profit factor, payoff ratio, expectancy and recovery factor, and flags weak spots.
Formulas follow AmiBroker’s report definitions. Colours use the rules of thumb in this article: teal = good, amber = acceptable, coral = needs work.
Worked example: reading AmiBroker backtesting metrics
Suppose a positional system on Nifty stocks starts with ₹10 lakh and runs for 5 years. It takes 300 trades: 120 winners averaging ₹25,000 and 180 losers averaging ₹8,333. The report shows a max system drawdown of 15% (₹3 lakh at its worst) and exposure of 40%. These are the default values in the calculator above.
- Net profit: ₹30 lakh gross profit minus ₹15 lakh gross loss = ₹15 lakh, so equity ends at ₹25 lakh.
- CAR: (25 / 10) to the power 1/5, minus 1 = about 20.1% a year, comfortably above a NIFTYBEES benchmark.
- RAR: 20.1% / 0.40 = about 50.3%, because the system is in the market only 40% of the time.
- CAR/MDD: 20.1 / 15 = 1.34. Acceptable, not excellent. RAR/MDD: 50.3 / 15 = 3.35, good.
- Profit factor: 30 / 15 = 2.0. Payoff ratio: 25,000 / 8,333 = 3.0. Win rate: 40%.
- Expectancy: ₹15 lakh / 300 trades = ₹5,000 per trade. Recovery factor: ₹15 lakh / ₹3 lakh = 5.
Verdict: a low win rate system with a strong payoff ratio and positive expectancy. The weakest number is CAR/MDD at 1.34, so the next step is to check whether position sizing or a market filter can reduce the 15% drawdown without cutting returns, then confirm the result with walk-forward testing.
Common Mistakes to Avoid
1. Overfitting
If your strategy looks perfect on past data, it’s probably too customized, and might fail going forward.
Solution: Use simple rules and fewer parameters.
2. Using Future Data by Mistake
If you use today’s close price to make a decision today, you’re cheating.
Always use the next bar for actions like entry or exit.
3. Ignoring Trading Costs and Slippage
What looks profitable on paper may fail once you add brokerage fees and missed fills.
Always include realistic costs, especially if you’re an intraday trader.
4. Forgetting Statistical Confidence
Even if your results look good, ask: Was it just luck?
Tools like Monte Carlo simulations and bootstrapping can help test if your strategy is truly reliable.
5. Skipping Market Regime Analysis
Your strategy may shine in bull markets and collapse in sideways ones.
Always test performance across different market conditions, bull, bear, sideways.
How to Read Amibroker’s Color Codes
Amibroker gives you a visual nudge:
- Green = Strong performance
- Blue = Neutral
- Red = Caution
But don’t just follow the colors blindly. A 25% drawdown in red might be fine for your risk appetite, if recovery is strong.
Final Take: Don’t Just Chase Profits, Read the Story
Think of backtest reports like a health check. Net profit is your weight.
But drawdowns? That’s your blood pressure.
Profit factor? That’s your stamina.
Sharpe ratio? Your stress level.
The better you understand these, the more confidently you can trade live, without sleepless nights.
TL;DR for Busy Traders
- Focus on drawdown, risk-adjusted return, expectancy, and payoff ratio.
- Avoid overfitting and ignoring slippage.
- Backtesting isn’t about perfect past results, it’s about building trust in your system.
- Test across market conditions. Use walk-forward tests.
- If you can’t survive a 30% drawdown on paper, don’t expect to survive it live.
Would you like a printable backtesting checklist? Or maybe a walkthrough on using Amibroker’s Report Explorer for side-by-side strategy comparisons?
Drop a comment or reach out, I’ll be happy to write that next.
Related reading: introduction to backtesting a trading system using AmiBroker, enhancing AmiBroker backtest metrics with QuantStats, and how Michael Burry survived a two-year drawdown, a reminder of what drawdown feels like in real life.
Frequently Asked Questions
What is a good CAR/MDD ratio in AmiBroker?
AmiBroker’s own guide calls a CAR/MDD above 2 good. Between 1 and 2 is acceptable, and below 1 means the drawdowns are large compared with the return.
What is RAR in an AmiBroker backtest report?
RAR (Risk Adjusted Return) is the annual return divided by exposure. If a system earns 15% a year while invested half the time, its RAR is 30%.
What does exposure mean in AmiBroker?
Exposure is the average share of your equity tied up in open positions across all bars of the test. 100% means fully invested all the time.
What is a good profit factor?
Above 2 is strong, 1.3 to 2 is solid, 1 to 1.3 is fragile once costs and slippage are added, and below 1 is a losing system.
How do I see the AmiBroker backtest report?
Run a backtest from the Analysis window, then open the Report (or Report Explorer for several runs). The Statistics tab shows all these metrics for all trades, longs and shorts.
Learn by watching: free videos every week
Market Profile, order flow, Python, AI and OpenAlgo tutorials on YouTube.


send me checklist ….