Every EA that goes live eventually has a bad stretch. When it does, there is one question that matters: is this the kind of drawdown the strategy has always had, or has something changed?
The two feel identical from the inside. Both look like a falling equity curve. The difference is statistical, and it can only be answered by comparing what the EA is doing now with what its testing said it would do, at the same point in its life.
This guide covers how to make that comparison as live trades arrive: which baseline to compare against, how to build expected ranges for the number of trades you actually have, how many trades a judgement needs, and how to write a stop-review rule you have tested before you rely on it.
One point up front: no monitoring method can prove an edge is intact. It can only tell you whether live results are still consistent with the testing. The ranges below describe what the backtest distribution allows. They are not a forecast, and a strategy can stop working while its results are still inside them.
First, rule out the boring explanations
A live result that looks worse than the test has three broad causes, and they need different responses.
- Execution and costs. Spreads, slippage, missed or extra trades, an EA that went offline. This is a fault in how the strategy is being run, not in the strategy. It is covered in why an EA trades worse live than in its backtest, including how to match live trades to tester trades one by one.
- Normal variance. The strategy is behaving as tested and you are in one of its bad stretches.
- A changed edge. The pattern the strategy relies on has weakened or gone, or the market has moved into conditions the strategy never handled.
Check the first before you think about the other two. If the EA is not executing the strategy you tested, no statistical comparison of results means anything. The rest of this guide assumes execution has been checked and costs in the baseline have been updated to what you actually measured live.
Step 1: Choose the right baseline
Everything that follows compares live trades with a reference set. Pick the reference before going live and write down which one it is.
- Use out-of-sample or walk-forward trades, not the optimised backtest. The in-sample backtest is the set the parameters were tuned on, so it is the most flattering version of the strategy. Live trades should be compared with trades the strategy produced on data it never saw. See out-of-sample testing for EAs.
- Adjust the baseline for measured costs. If live spreads and slippage are higher than the test assumed, re-run the test with the measured costs. Otherwise the comparison mixes a known cost gap with any change in the edge.
- Express every trade in R. R is the trade's result divided by the risk taken at entry (the distance to the initial stop, in money). Working in R removes the effect of changes in lot size or account balance, so trades from different periods are comparable.
Then write down the baseline's key numbers: average R per trade, the spread of R across trades, win rate, trades per week, average holding time. These are what the live results will be measured against.
Step 2: Compare behaviour before results
Results are noisy. Behaviour is much less noisy, and it changes first when something is wrong with the EA or its market.
| Behaviour measure | Question to ask |
|---|---|
| Trades per week | Is the EA trading about as often as in testing? |
| Holding time | Are trades lasting about as long? |
| Win rate | Is it inside the range the baseline's trade count allows? |
| Average win and average loss in R | Are losses still the size the stops imply? Are wins still the size the exits imply? |
| Long/short split, session split | Is the mix of trades the same? |
| Worst adverse move per trade | Are trades going further against the position before they resolve? |
A strategy whose behaviour is unchanged but whose results are poor is more likely to be in a normal bad stretch. A strategy whose behaviour has shifted, such as trading half as often, holding twice as long, or taking losses larger than its stops imply, needs investigating even if the results so far look acceptable.
Compare the live distribution with the baseline's distribution side by side, using percentiles (the 10th, 50th and 90th, for example), not just averages. With a small live sample, formal tests that two distributions differ have little power: they will usually fail to find a real difference. A clear shift in the percentiles is often easier to read.
Step 3: Build expected ranges for the trades you actually have
The most common mistake in live monitoring is to compare a live drawdown with the backtest's maximum drawdown, or with the 95th-percentile drawdown from a Monte Carlo test over the whole test period.
Those figures describe a full-length history. After 40 live trades, the question is different: what range of results does the baseline allow over 40 trades? The answer changes with the trade count. Early on, the range is wide in both directions, because a handful of trades can land almost anywhere. Over more trades, cumulative results spread further in absolute terms, and the deepest drawdown seen so far tends to grow.
The way to get the right range is to simulate it. Resample the baseline trades into many paths of the same length as your live record, and record at each trade number:
- cumulative R: the band that, say, 90% of simulated paths stay inside at that trade number;
- drawdown so far: the depth that only 5% of simulated paths exceed by that trade number.
Plot the live record over those bands. A live curve inside the bands is consistent with the baseline at its current length. A live curve below them is unusual for a strategy behaving as tested.
Monte Carlo testing a trading strategy explains the resampling methods and how to read a full-path drawdown tail for sizing. The difference here is that the bands are built for the live record's length, and they are updated as it grows.
Step 4: Know how many trades a judgement needs
How long before the live record can tell a working edge from a broken one? The honest answer is often "longer than you would like".
The standard error of the average R is roughly the spread of R per trade divided by the square root of the number of trades. That gives a rough guide to how many trades it takes to tell a given average from zero.
A hypothetical example: a baseline averages 0.15R per trade, and the spread (standard deviation) of R per trade is 1.2R. To tell, with conventional statistical confidence, that the live average is below 0.15R when the edge has actually fallen to zero takes roughly 400 trades. (Hypothetical arithmetic for teaching purposes, using a one-sided test at 95% confidence with 80% power. Not from any strategy or account.)
For a strategy that trades a few times a week, that is years. Three practical consequences follow:
- A few weeks of live results rarely prove anything about the edge. They can tell you a lot about execution and behaviour, but very little about whether a small average edge is still there.
- Large problems show up much sooner than small ones. If the edge has turned clearly negative, results fall out of the bands far earlier than 400 trades. Small decays can take a very long time to detect.
- Stop rules can't wait for statistical proof. They have to be risk-based, deciding in advance how much evidence of underperformance you are prepared to absorb, rather than waiting until a decline is proven.
For why small samples give unreliable win rates and averages in the first place, see how many trades a backtest needs. The same arithmetic applies to the live record, with the added problem that you are checking it repeatedly.
Step 5: Account for checking every week
Bands like "only 5% of paths are deeper than this at trade 40" are pointwise. They describe one trade number. If you check the live record against the bands after every trade, a healthy strategy gets many chances to touch the edge of a band by chance. The probability that it crosses the 5% line at some point in 200 trades is much higher than 5%.
This is the live version of testing many strategy variants: look often enough and something will look significant. There are two honest ways to handle it.
- Measure the false-alarm rate of your rule directly, by running the rule on simulated healthy paths and counting how often it fires. The code below does this.
- Use a stricter trigger than the pointwise band suggests, such as a 1% band, or a requirement that the breach lasts for a set number of trades, and then measure its false-alarm rate in the same way.
Step 6: Test the stop-review rule before you rely on it
A stop-review rule is a strategy for managing the strategy. It can be tested like one. Run it on two kinds of simulated paths:
- healthy paths, resampled from the baseline as it is, to measure how often the rule fires when nothing is wrong (false alarms);
- broken paths, the same resampling with the average R shifted to zero (same spread of outcomes, edge removed), to measure how often the rule catches a real problem within the live horizon, and how quickly.
import numpy as np
def drawdown_paths(r_trades, n_trades, n_paths, rng, shift=0.0):
"""Resample R-multiples into equity paths; return drawdown so far at each trade."""
draws = rng.choice(r_trades, size=(n_paths, n_trades), replace=True) + shift
equity = draws.cumsum(axis=1)
peak = np.maximum.accumulate(np.maximum(equity, 0.0), axis=1)
return peak - equity
def test_stop_rule(r_trades, n_trades=200, band_pct=95, n_paths=5000, seed=7):
"""Rule tested: pause if drawdown so far exceeds the simulated band_pct
percentile at the same trade number. Returns the band, the false-alarm rate
on healthy paths, and the detection rate and median trades-to-trigger on
paths with the average R removed."""
rng = np.random.default_rng(seed)
r = np.asarray(r_trades, dtype=float)
healthy = drawdown_paths(r, n_trades, n_paths, rng)
band = np.percentile(healthy, band_pct, axis=0)
def fires(paths):
hit = paths > band
first = np.where(hit.any(axis=1), hit.argmax(axis=1) + 1, -1)
return hit.any(axis=1), first
false_alarm, _ = fires(drawdown_paths(r, n_trades, n_paths, rng))
caught, first = fires(drawdown_paths(r, n_trades, n_paths, rng, shift=-r.mean()))
median_wait = np.median(first[caught]) if caught.any() else None
return band, false_alarm.mean(), caught.mean(), median_wait
The false-alarm rate is measured on a fresh set of healthy paths, so it isn't computed on the same paths that defined the band. Read the four outputs together:
- The band is the drawdown-so-far line to plot the live record against.
- The false-alarm rate is how often the rule would pause a strategy that is working as tested, within the horizon. With a pointwise 95% band it will be well above 5%, for the reason in Step 5.
- The detection rate is how often it pauses a strategy whose edge has gone.
- The median wait is how many trades that usually takes.
Then adjust the rule, for example by moving to a 99% band or requiring the breach to persist for several trades, until the trade-off between false alarms and detection is one you are prepared to accept. Write that trade-off down. It is the real content of the rule.
The broken scenario here is only one version of failure: the same trades with the edge removed. Real decay can also change the shape of the distribution, for example larger losses or fewer trades. That is what the behaviour checks in Step 2 are for.
Step 7: Write the stop-review rule down
The EA pre-live checklist says to set stop rules before the first live trade. Here is one way to structure them so they connect to the tests above. The levels and numbers are placeholders to show the structure, not values to copy; the right ones depend on the strategy, the account and your own risk limits.
Level 1: review, keep trading. Triggered by any behaviour measure moving outside its baseline range, or the live cumulative R falling below the lower band. Action: check execution logs, costs and matched trades; check whether the current market sits in a regime the strategy historically struggled in (see market regime testing for EAs). Record what you found.
Level 2: pause and investigate. Triggered by drawdown so far beyond the tested pause band, for as many trades as your tested rule requires. Action: stop opening new trades. Re-run the baseline comparison with all live trades to date. Look for an execution fault, a data change or a market change. Don't change parameters during the investigation.
Level 3: retire or rebuild. Triggered by a Level 2 investigation that finds no execution fault and a live record that is still outside the bands, or by any account-level loss limit being reached. Action: stop the strategy. A rebuild is treated as a new strategy, with new out-of-sample evidence, not as a re-optimisation on the live trades.
Then add three lines that make the rule hold up under pressure:
- The date it was written, and the baseline it was tested against.
- What may not change: for example, no re-optimising parameters in response to recent losses, and no resetting the bands to start from the current drawdown.
- Who decides, if more than one person is involved, and how a restart is approved.
If the account has fixed loss limits, such as a daily loss limit or a maximum loss on a prop-firm account, those apply regardless of what the bands say. A result can be statistically normal and still breach an account rule. Drawdown metrics explained covers how those limits are measured.
What about results that are better than expected?
The same bands apply upwards. A live record well above the top band is also inconsistent with the baseline. It might be luck, a favourable regime, or something wrong: an EA taking more risk than intended, a lot-size bug, or a cost assumption that has changed. Treat an unexpectedly good stretch as a reason to check behaviour, not as evidence that the edge has improved, and don't increase risk because of it alone.
Common live-monitoring mistakes
- Comparing with the in-sample backtest. It is the most optimistic version of the strategy.
- Using the full-test maximum drawdown as the alarm. It describes a different length of history from the one you have.
- Judging the edge on a few weeks of trades. Small samples say a lot about execution and little about edge.
- Checking after every trade without allowing for it. Repeated looks turn a 5% band into a much higher false-alarm rate.
- Moving the rule during a drawdown. A rule rewritten under pressure is no longer the rule you tested.
- Re-optimising on live trades. That fits the strategy to the most recent noise.
- Ignoring behaviour because results look fine. Behaviour usually changes before results do.
Live monitoring checklist
- Execution checked: live trades matched to tester trades, costs measured
- Baseline set from out-of-sample or walk-forward trades, re-run with measured costs
- All trades recorded in R
- Baseline behaviour ranges written down: frequency, holding time, win rate, average win and loss
- Bands for cumulative R and drawdown so far simulated for the live horizon
- Trade count needed to detect a meaningful decline estimated
- Stop-review rule tested on healthy and broken simulated paths; false-alarm and detection rates recorded
- Rule written down with levels, actions, date and baseline
- Account-level loss limits listed separately from the statistical rule
- Review schedule set, and the rule left unchanged during drawdowns
Frequently asked questions
How many live trades do I need before I can judge an EA?
It depends on how large the edge is compared with the spread of results per trade. Large failures can show up within tens of trades. Telling a small edge from no edge can take hundreds. Estimate the number from your own baseline before going live, so you know in advance what a few weeks of results can and can't tell you.
My EA's live drawdown is bigger than its backtest maximum. Is it broken?
Not necessarily. The backtest maximum is one historical path, and over enough trades a deeper drawdown is normal for most strategies. Compare the live drawdown with simulated drawdown bands for the same number of trades, and check behaviour and execution, before concluding the edge has gone.
Should I re-optimise my EA after a losing month?
Re-optimising on recent live trades fits the strategy to the most recent noise. If the investigation finds that the market or the edge has changed, treat any new version as a new strategy and validate it on data it hasn't seen.
What is the difference between this and a Monte Carlo test?
A Monte Carlo test before going live usually looks at the full test period to size risk and see the drawdown tail. Live monitoring uses the same resampling idea, but builds the ranges for the number of live trades you have so far, updates them as trades arrive, and tests the stop rule itself.
What if my EA is doing better live than in testing?
Check it the same way. Results far above the expected range can come from luck, a favourable market, or a fault such as an EA taking more risk than intended. Look at behaviour and position size before treating the improvement as real.
Want a second pair of eyes?
Start with our free Sample Stress-Test Report. It walks one anonymized, illustrative strategy through a full stress test, start to finish, so you can see what rigorous validation looks like before you test your own.
Read the Sample Stress-Test ReportWant your own backtest checked? The Strategy Audit + 60-minute call is a paid service at a launch price of £100, credited in full against our build and portfolio offers. You send an MT4/MT5 Strategy Tester report or trade-list CSV; what we can check depends on the files you supply, and walk-forward and parameter sweeps are not included because they need the strategy itself. It is analysis of strategy testing, not investment advice, and does not promise any trading or evaluation outcome. See the Strategy Audit
Disclaimers
CollosoTrading provides educational content and analytical services for retail and professional algorithmic traders. We do not provide regulated investment advice, financial advice, or personal recommendations. Trading derivatives, leveraged products, and CFDs carries a high level of risk and may result in losses exceeding deposits. Past performance, including any verified or unverified historical results referenced on this site, is not indicative of future results. Consult an independent regulated financial adviser before making investment decisions.
All figures are backtests or simulations unless marked LIVE. Hypothetical or backtested performance results have inherent limitations and may not reflect actual trading. No representation is made that any account will or is likely to achieve profits or losses similar to those shown. Individual results vary. Any figures in this article are hypothetical arithmetic for teaching purposes, not results from any strategy or account. We do not guarantee the outcome of any prop firm challenge.