Stock backtests, with the honest number
Check a stock you own, then test a rule on it. See an example →
Several? Separate with commas.
Or test a rule
HK and US stocks · daily bars · long only.
Or pick a rule
Moving-average trend
Enter when price crosses the fast average, fast above slow; exit below the slow or at the stop.
Buy and hold with a stop
Hold a basket; a stopped-out name returns once it is back above its 200-day average.
Quality at a fair price
Each month, hold each industry's leaders on profit and price; drop names that slip well down.
4 more rules
52-week-high momentum
Enter at a new high on heavy volume in an uptrend; exit on a trailing low, time limit or stop.
Short-term pullback (RSI 2)
In an uptrend, enter after a sharp two-day dip; exit on the bounce, time limit or stop.
Volume breakout
Enter on a high-volume break of a recent high; exit below the 20-day average or on a trailing stop.
Cheap with the trend turning up
Each month, hold each industry's cheapest names while their trend is at least average.
Why trust the number
Costs are charged
Every trade pays commission, fees and the spread.
Luck is discounted
The more settings you try, the more we take off.
Delisted stocks stay in
US data includes delisted stocks; Hong Kong data mostly lacks them.
1,918 stocks (Hong Kong · US), daily prices 2018–2026.
Built by an independent trader. No advice. No affiliates. We don't sell your data. How it works →