Random Entry Test: Does Your Edge Beat a Placebo?
Compare a trading signal to matched random entries with the same exits and holding time. If the placebo does as well, your edge is drift or exit geometry.
Part 12 of 20 · How to Algo · Previous: Multiple testing · Next: Walk-forward and out-of-sample
A positive backtest answers “did this make money?”. It does not answer “did the signal make money?”. A long-biased rule on an index that rose for seven years makes money. A tight target makes a high win rate. A trade held overnight collects the overnight drift. None of those is the signal.
A placebo answers the second question. Remove the signal, keep everything else, and see whether the result survives. If the placebo does as well, the edge was in the structure of the test.

The chart is simulated on seven years of daily index returns with an upward drift. Signal B has no information at all and still returns +46%, because random entry sets earn about +25% at the median from drift alone; it beats only 83.6% of them. Signal C, with weak information, makes +70% and beats 97.8%. Signal A, with real information, makes +212% and beats all 1,000. Zero was never the bar.
What a good placebo keeps
A placebo should differ from the strategy in exactly one thing: the information the signal claims to use. Everything else is matched:
- trade count (or exposure: the same number of days in the market),
- holding period distribution,
- session and time of day,
- side mix (the same share of longs and shorts),
- exit rules and bracket geometry,
- costs and fill model.
Then run it many times, a few hundred is usually enough, and report the share of placebo runs that beat the real strategy. That share is your empirical p-value. We treat anything above 5% as a failure.
Four kinds of placebo
Random entries, matched. Random entry times with the same count, holding period, session and side mix. The default test for any timing signal.
On NQ we tested a popular Asian-session sweep reversal. Random entries in the same nights with identical stop and target geometry earned $36 a trade on their own, and 7.0% of 200 placebo runs beat the real sweep. Above the 5% line: the sweep could not be distinguished from being long at night. That fit two other facts: longs made +$97.3 a trade while the symmetric shorts lost $12.7, and one year carried 78% of the P&L.
Shifted or random levels. For any claim about a price level, the placebo is a level nobody watches: shifted by a fixed or random distance, on the same side of the market.
On NQ a candle-body level rule made +$30.9k over seven years at t = 0.63. The same rule with the level shifted at random by half an ATR made +$57.9k at t = 1.24. Taking the retest without the required break made +$60.2k. Only entering immediately, without waiting for a pullback, did worse. The level and the break were decoration. The same test works on flow: option flow at gamma walls looked identical at 918 placebo levels on the same side of the market.
Ordinary instead of special. For claims that a special kind of event matters, the placebo is the ordinary version. The viral “wickless candle” retest on NQ loses money with a fair bracket. Ordinary candle lows with wicks, under identical rules, earned +$575k. The wickless test shows the curves. The claim had it backwards.
Exposure-matched random, and the anti-signal. For daily strategies, draw random entry days with the same number of trades and holding period. Our ES RSI-2 test was beaten by 0 of 500 exposure-matched random entry sets, whose median was $64,406 against the strategy’s $250,678. A related trick is to trade the opposite condition. Testing an overnight drift “only after down days” on NQ, the anti-signal (only after up days) scored t = 1.66 against the signal’s 1.26. The conditioning was worthless; it was all unconditional drift.
The control that lies: mirrors
The most important lesson we learned about placebos is that a bad one is worse than none, because it produces a large number with a small p-value pointing the way you hoped.
The mirror control is the common culprit. To test a support level, you compare it with a level the same distance from price on the other side. That changes two things at once: the price, and the direction of the trade. On an index where down-moves are faster than up-moves, direction alone creates large differences.
It manufactured a significant result for us three times:
| Claim | Against mirror | Against same-side control |
|---|---|---|
| Pivot S2 on ES | 76.0% vs 51.8%, t = 8.83 | +0.4 points, p = 0.87 |
| Value area 80% rule on ES | +21.2 points, t = 11.67 | beaten by a borrowed distance in 200 of 200 runs |
| Gamma put wall on ES | +10.1 points, t = 4.03 | +1.9 points, p = 0.47 |
The tell was in the pivot table: every resistance-side level showed an equally large negative edge. A real level effect cannot be signed by which side of yesterday’s close the level sits on. Use a control on the same side of the market, nudged far enough that nobody is watching it.
Across our published tests, the share of random or shuffled runs that did as well as the claim ranges from 0% to 100%, and only one of the six clears the 5% bar:

Placebos for filters and discretion
Random filter at the same keep rate. To test a filter, compare it with a filter that removes the same number of trades at random. On our ES trend pullback, the wick filter lost $24.46 a trade; a random filter with the same trade count lost $23.58. Whatever the wick selected, it was not trades that lost less. Part 16 is built on this test.
The oracle. When a strategy depends on a discretionary judgement you cannot code, replace the judgement with perfect hindsight. If the strategy loses even with an oracle, discretion cannot be the edge. A VWAP limit scalp on NQ was taught for “trend days only”, a call the trader made by feel. We gave it each day’s actual direction and trend strength from the full day’s data. It still lost; with dollar-equivalent brackets the best it managed, with lookahead, was roughly zero. The Rother VWAP test.
When the market’s drift is the result
Many placebo failures on index futures have the same cause: drift. A long-biased rule on a rising index makes money; so does a random long. Some checks:
- Compare long and short sides separately. A symmetric rule with an asymmetric result is often capturing drift.
- Subtract the unconditional return over the same holding windows.
- Compare with always-long at the same exposure.
On ES, a buy-the-dip rule made $345.50 a trade over 103 trades, positive and plausible. A random-day placebo’s 95th percentile was $380.78. The rule was inside its own placebo band; the profit was index drift. Buy the dip on ES.
What placebos cannot catch
A placebo tests the signal. It does not test the engine both the signal and the placebo run on. Our ES trend pullback passed a random-entry placebo, a passive-limit placebo, a train/holdout split and a cost ladder, and was still a bug: the fill engine chose resting-order fills with hindsight, and every control inherited the same favourable selection. Part 6 covers the engine checks that caught it.
Checklist
- Match trade count or exposure, holding period, session, side mix, exits and costs.
- Run at least a few hundred placebo draws; report the share that beat the strategy.
- Fail anything above 5%.
- For level claims, use same-side shifted levels, never mirrors.
- For “special event” claims, test the ordinary version of the event.
- For filters, compare with a random filter at the same keep rate.
- For discretionary claims, test an oracle; if it loses, stop.
- Check longs and shorts separately and compare with always-long.
- Remember that placebos share the engine; run engine checks separately.
Placebos test whether a signal beats structure. They do not test whether it will still work on data you have not seen. Part 13: Walk-forward and out-of-sample testing.
Frequently asked questions
What is a random entry test in trading?
A version of the strategy with the signal removed and everything else kept: the same number of trades, the same holding period, the same session, the same mix of longs and shorts, the same exits and costs. Run it a few hundred times. If the real strategy does not beat most of those runs, its profit came from the structure of the test, such as market drift or exit geometry, not from the signal.
Why can random entries be profitable?
Because a long-biased rule on a rising index makes money whatever the signal says, and random longs collect the same drift. On ES, a buy-the-dip rule made $345.50 a trade over 103 trades, but a random-day placebo's 95th percentile was $380.78. The profit was index drift.
What percentile should a strategy beat its placebo at?
We treat beating at least 95% of placebo runs as the minimum, and report the exact share. Our Asian-session sweep test on NQ failed at this step: 7.0% of 200 matched random entries in the same nights beat it, so it could not be distinguished from simply being long overnight. Our ES RSI-2 test was beaten by 0 of 500 exposure-matched random entry sets.
What is a mirror-level or shifted-level control?
A mirror compares a level with one the same distance away on the other side of price; a shifted level stays on the same side, moved far enough that nobody watches it. The mirror changes the trade direction too, so it misleads: pivot S2 on ES reacted on 76.0% of touches against 51.8% for its mirror, t = 8.83, but against a same-side control the edge was +0.4 points, p = 0.87.
Do placebo tests catch backtest bugs?
Only bugs in the signal. If the placebo runs through the same flawed fill engine, it inherits the same flaw. Our ES trend pullback passed a random-entry placebo and was still a bug, because both used the engine that chose fills with hindsight. Engine bugs need engine checks.