Skip to content
◈MingZhang
市场 新闻 方法 价格 留言 EN 登录开始
Home / Blog / How a Backtest Flatters a Signal System

How a Backtest Flatters a Signal System

2026-11-30

Share X Telegram Reddit LinkedIn

The score threshold is a dial, not a discovery

The most common way a backtest lies is by letting you turn a dial until the past looks good. My system has a current score threshold of 80. That number was not handed down; it was chosen. If I sweep the threshold across a range and keep the value that maximized expectancy on the same data I measured on, I have not found an edge. I have found the threshold that best fits one particular history. The honest test is to pick the threshold on one window and evaluate on a later one, and to expect the later result to be worse. It usually is.

  • A single tuned threshold on one dataset tells you almost nothing about future performance.
  • Report the whole sensitivity curve, not just the peak, so the reader can see how flat or fragile it is.

Survivorship and instrument selection

I scan 518 crypto perpetuals and 205 US-stock perpetuals on Binance USDT-M. That universe exists today. A backtest run over the full history quietly assumes every instrument that trades now was tradable and liquid the whole time. Newly listed perpetuals often have thin early books, wide spreads, and violent first weeks. If those instruments are in the historical sample with the same cost assumptions as mature ones, the backtest is flattered. Delisted or depegged contracts tend to vanish from the dataset entirely, which removes the worst outcomes.

  • Point-in-time universe membership matters more than most parameter choices.
  • Early-life liquidity is not the same as steady-state liquidity, and the cost model should reflect that.

Costs that look conservative but are not

The cost model is 0.05% taker each side plus slippage, about 0.14% round trip. That is a real number and I use it. The trap is applying it uniformly. Slippage is not constant. It widens when volatility spikes, when the book is thin, and when the signal fires at the same moment many others do. A backtest that charges a flat round-trip cost on every fill will overstate results precisely in the conditions where the strategy trades most. My stops are the further of structure and 2×ATR for crypto, 3×ATR for US stocks, which means position size and dollar risk vary; a flat percentage cost interacts with that in ways that are easy to get wrong.

  • Flat slippage assumptions flatter high-frequency, high-volatility entries the most.
  • Model fills at the price you could realistically get, not the mid or the touch.

Look-ahead hiding in the timeframe stack

The stack is 15m entry, 1h direction, 4h regime. This is where subtle leakage lives. If the 4h regime is computed from a candle that has not closed at the moment the 15m signal fires, the backtest is reading the future. The same applies to the 19 independent pattern detectors on 15-minute candles: each one must use only closed bars, and the aggregation of their scores must be timestamped consistently. A one-bar shift in any layer can turn a losing system into a winning one on paper. I check this by replaying signals bar by bar and confirming that every input was available at the decision time.

  • Every feature must be timestamped at or before the decision bar.
  • Recompute indicators on closed bars only and diff against the live path.

Exit logic that only works in hindsight

Exits are half at TP1 (1R), then a trail at peak minus 0.5R. Trailing exits are especially easy to flatter. If the backtest trails off the true peak within a bar rather than the peak observable in real time, it captures moves that a live system could not. Intrabar path assumptions also matter: whether the stop or the target was hit first inside a single candle is unknowable from OHLC alone, and choosing the favorable ordering inflates results. I try to resolve ambiguity against the strategy, not for it.

  • Assume the worse of stop-first or target-first when a bar contains both.
  • Trail from the peak that was actually observable, not the eventual high.

What the live numbers actually say

Over the last 7 days there were 73 closed signals, expectancy 0.101R, win rate 56%. I publish these, and I publish the losing trades too. Seventy-three signals is a small sample. An expectancy of 0.101R on that count is consistent with a real but modest edge, and also consistent with noise around zero. I do not treat it as proof. The backtest is a hypothesis; the live record is the evidence, and it is still thin.

  • Small samples produce wide confidence intervals; do not over-read a good week.
  • Keep publishing losses, because a record with no losses is a record you should distrust.

The discipline is not finding a backtest that looks great. It is assuming the backtest is flattering the strategy and working backward to find where.

Share X Telegram Reddit LinkedIn
Trade on Binance with fee rebates
Use the invite link and pay lower fees on every fill.
Open Binance →
Invite link: you may earn a fee rebate; we earn a referral reward.

Membership More posts

◈ MingZhang

A research and technical-analysis tool. Not investment advice; no returns are promised.

Pricing Methodology Glossary FAQ Blog Risk disclosure Privacy Terms Log in
Crypto trading carries extreme risk and may result in loss of all capital. Past performance does not indicate future results.