trading strategy backtest

Trading Strategy Backtest: Does It Beat Random Entry?

November 23, 2026 · 9 min read · Synergy Trading research
Trading Strategy Backtest: Does It Beat Random Entry? | Synergy Trading

A trading strategy backtest proves very little on its own. The real question is whether your entry signal beats random timing when you keep the same stops, targets, position size and costs. A random entry test answers that. You swap the signal for random entries, run it hundreds of times and see where your real result lands. If it sits in the middle of the random results, luck and your exit rules can explain it.

That's the short version. Here's why it matters, where the idea came from, and what it can and can't tell you.

Why a good backtest can still be luck

Most backtests you see online look good for reasons that have nothing to do with the entry signal. Three come up again and again.

The market went up. If you only take long trades in an index that rose over the test period, almost any entry makes money, and your signal gets the credit for a rising market.

The exits did the work. A tight stop or a trailing exit changes the shape of your returns a lot, whatever triggered the trade.

You tried a lot of versions. You changed a moving average from 20 to 21, added a filter or dropped a bad year. Each tweak is another lottery ticket, and the best of many tickets always looks better than it really is.

A random entry control fixes the first two problems directly. That means taking the same trade at random times, so you can see what luck alone produces. The third problem needs a separate fix, which we'll get to.

Where the random entry idea comes from

Most traders first meet this idea in Van K. Tharp's book Trade Your Way to Financial Freedom, now in its second edition. In a conversation with trader Tom Basso, Tharp describes a system that entered on a coin flip and relied on its exits and position sizing.

I'm relying on the book's figures as quoted in Daniel Rodriguez's replication on the Backtrader blog. The system flipped a coin to go long or short and was always in the market. It used a trailing stop at three times a 10 day exponential average of the Average True Range, a measure of how much price typically moves. The book reports that across 10 markets, it made money 80% of the time with a fixed stake of one contract. With a model that risked 1% per trade, it made money 100% of the time. About 38% of trades were winners.

That's a striking claim, so the replication is worth reading. Rodriguez rebuilt the rules on crude oil futures data from 1985 to 1990, with a $2 commission per contract for each round trip. On average only about 49% of the random runs were profitable, and about 39% of trades won. His own conclusion was that only the win rate was replicated.

Two fair points follow. One market over five years isn't the same test as the book's 10 markets, so the replication doesn't disprove the original. It does show how fragile the idea that random entries plus good exits make money can be. And it points to a more useful lesson: random entry works best as a yardstick, not as a strategy.

How to add a random entry test to your trading strategy backtest

The setup is simple. You keep everything about the trade except the moment you enter.

  • Run your real strategy and record its average return per trade, its win rate and its Sharpe ratio (return per unit of risk).
  • Keep exactly the same stop, target, holding time, position size, direction and costs.
  • Replace the entry signal with random entry times, using the same number of trades and, ideally, the same market and time of day.
  • Repeat the random version hundreds or thousands of times. That gives you the range of results luck alone produces.
  • Check where your real result falls. If it beats about 95% of the random runs, the entry is probably adding something. If it lands near the middle, it isn't.

Getting the details to match matters. If your strategy only trades the first hour of the session, the random version should too. If it only goes long, so should the random version. Otherwise you're comparing against the wrong baseline, and the test will make your strategy look better than it is.

Reading the numbers without a statistics degree

Two statistics come up a lot.

The t-statistic tells you how sure we can be that the average trade isn't really zero. It goes up when the average trade is bigger, when results are steadier and when there are more trades. For a single test, above about 2 is the usual bar.

The Sharpe ratio tells you how much return you got for the ups and downs you sat through. Two strategies can make the same money, and the one with the higher Sharpe ratio got there with fewer painful swings.

The random control adds a third, simpler number: the gap between your strategy and the random average. A t-statistic of 3 sounds impressive. But if random entries with the same exits score 2.8, most of that edge came from the exits or the rising market, not from your signal.

The many variants problem

This is where most retail backtests fail without anyone noticing. Campbell Harvey's article Backtesting for Man Group points out that a t-statistic of 2.0 is the benchmark for a single test. As the number of tests grows, the bar has to rise. He notes that researchers have documented at least 316 factors tested to explain stock returns. With that many attempts, some will clear 2 by chance.

Harvey also says the common habit of just cutting a backtested Sharpe ratio in half is "a serious mistake". His adjustment isn't a flat cut. The highest Sharpe ratios get only a moderate penalty, while borderline ones get a heavy one. Put simply, a strong result can survive scrutiny, but a borderline one found after lots of tweaking probably won't.

The academic work on this goes back further. In A Reality Check for Data Snooping, published in Econometrica in 2000, Halbert White looked at the same trap. When you reuse one dataset to pick the best model, its good results may come from chance rather than real merit. He notes this is hard to avoid with time series data such as market prices, because there's usually only one history to test on. His procedure tests whether the best model found in a search really beats a benchmark.

The practical takeaway is to count how many versions you tried, honestly. The more you tried, the further your real result has to sit above the random runs before it means anything.

How Synergy uses this

Synergy Trading runs a private research lab that tests popular trading strategies with the same rules for every idea. Those rules are realistic costs, a random entry control, a look ahead check and a correction for testing many variants. About 290 strategy ideas have been tested this way so far. Only 2 are clean survivors.

We share that as a reality check, not a boast: most ideas that look good on a chart don't hold up once they have to beat random timing after costs. This post explains the method. It isn't a verdict on any particular strategy, and we haven't published any test numbers for it here.

What this test can't tell you

A random entry test is a strong filter, but it has limits.

It's only as good as the data period. A test run during one bull market says little about a sideways or falling one. It only covers the markets you include, so beating chance on one futures contract doesn't mean the idea works on stocks or currencies.

The costs in a backtest are assumptions. If your real fills, slippage or commissions are worse than the test assumed, a thin edge can disappear. The test also won't catch look ahead errors. If the backtest uses information that wasn't available at the time, the real runs and the random runs can both be wrong.

Finally, passing the test doesn't prove anything about the future. The real check is forward results, meaning trades taken live or on paper after the test was done, and those take time to build up.

Frequently asked questions

What is a random entry test in trading?

A random entry test compares your strategy with the same trade taken at random times. You keep the stops, targets, holding time, position size and costs, replace the entry signal with random timing and run it many times. If your real result doesn't clearly beat the random runs, your entry signal isn't adding much.

Can you make money with random entries and good exits?

Van Tharp's book reports that a coin flip system with a volatility based trailing stop and 1% risk per trade made money across 10 markets. A later replication on crude oil futures from 1985 to 1990 found only about 49% of random runs profitable, so the claim looks fragile rather than reliable.

What t-statistic should a backtest have?

For a single test, the usual bar is a t-statistic above about 2, which means we're fairly sure the average trade isn't zero. If you tried many versions of a strategy, the bar should be higher, because some versions will clear 2 by chance alone. Campbell Harvey argues that the penalty should grow with the number of tests.

Why do so many backtested strategies fail in live trading?

Often the backtest was rewarding a rising market, good exits or heavy tweaking rather than a real edge in the entry. Live trading costs can also be higher than assumed. Of about 290 ideas Synergy Trading's lab has tested with realistic costs, random entry controls and corrections for testing many variants, only 2 are clean survivors.

Sources

Want your own strategy checked against chance? You can request a verdict by emailing hello@synergytrading.net with the subject "Verdict request". It's a waitlist: there's no price, no promised date, and nothing is sold yet. Synergy Trading isn't a registered broker-dealer or investment adviser, and nothing on this blog is a recommendation to buy or sell.

Educational research only, not investment advice. Past results do not guarantee future results.

backtestingrandom entrytrading statisticsdata snoopingstrategy testing

Want your strategy tested?

We run the same test on any rule set: realistic costs, a random-entry control and a look-ahead check. Email us the rules to join the waitlist. Nothing is for sale yet.

Request a verdict

More verdicts

Volume Profile vs Market Profile: A Day Trader's Guide | Synergy Chart
volume profile vs market profile

Volume Profile vs Market Profile: A Day Trader's Guide

How to Read Order Flow in a Selloff: Selling vs Absorption | Synergy Chart
how to read order flow

How to Read Order Flow in a Selloff: Selling vs Absorption

Survivorship Bias Inflates Your Trading Strategy Backtest | Synergy Trading
trading strategy backtest

Survivorship Bias Inflates Your Trading Strategy Backtest