AAPL341.06+4.42 (+1.31%) session● CONNECTING
single-trade idea backtest — no look-ahead

Single-trade backtest of an entry, stop and target

The inputs are a direction and three levels — entry, stop, target. The plan is walked bar by bar (filled at the next open, then exited at stop, target or horizon — no look-ahead), and the run reports the trade: R-multiple, return, and maximum adverse excursion (the deepest unrealised loss it carried before exiting), plus an alert derived from the same plan. Replayed on recorded daily price history. It is one trade on one name, gross of every trading cost — not a hit rate, and not a forecast.

R:R —
entrystoptargetprice history
Default levels — not user-supplied

No levels were supplied. The run used a default rule: entry on a break above the highest high of the first 5 bars, stop 5% from entry (1R), target 2R, scored only on the bars after that lead-in. Levels entered above replace the default.

entry 334.37 · stop 317.65 · target 367.81
LOSS · exited via stop in 3 bars
R-multiple -2.11return -10.36%entry 340.03 → exit 304.81max adverse 2.39R
The bar gapped through the stop level; the exit is booked at the open (304.81), not at the level.
Hit rate, expectancy and profit factor are not reported for a single trade. They require at least 20 trades across names and windows. because a single outcome carries none. At least 20 trades across names and windows is what those figures would need.
Gross of costs. No commission, spread, slippage, borrow or financing is deducted. Net of execution costs the R-multiple would be below -2.11R. the same plan filled at a real broker keeps less than -2.11R.
Assumptions & limitations
Period
2026-07-20 – 2026-10-12
Out-of-sample from
—
Trades
1
Costs charged
0 bps per side 0 bps commission + 0 bps slippage, charged on every position change

Hypothetical, backtested results — not the record of a traded account. Past results do not predict future returns; the strategy set was chosen with knowledge of the history it is measured on, and no financing, borrow, tax or capacity constraints are modelled. One name’s result does not generalise.

Individual · $49 a month⚑ The live alert derived from this plan

The same entry, stop and target can be set as a live alert on the subscriber's watchlist and re-evaluated on every bar. The alert requires a seat. The backtest above does not.

Start checkout →
this idea did not work on this one path — it filled at $340.03 and exited via stop for -2.11R before costs. One path is not a hit rate. The same levels also arm a live "crosses $334.37" alert.
Below, Atlas turns a published idea into a runnable rule and an alert, then explains every number — what it is, what it means, and what it suggests. Evaluated on real price bars, gross of all trading costs — your decisions, your risk.
The idea, as a rule a computer can run
Risk per share is $16.72 (entry→stop) and reward is $33.44 (entry→target) — a planned reward:risk of 2:1.
A published idea is just levels until you make it mechanical. We compiled it into: BUY AAPL when price rises through $334.37 (the entry), with a stop at $317.65 and a target at $367.81.
→ The math is favorable before any trade: you risk 1 to make 2+.
No look-ahead: we fill at the NEXT bar's open
The entry filled at $340.03 on bar 6.
A signal that appears on a bar can only be acted on AFTER that bar closes. So when price reaches the entry level, the fill is taken at the open of the following bar — never inside the same bar. This is what stops a backtest from cheating.
→ If two backtests disagree, the one that fills same-bar is usually the one fooling itself.
Exit priority: stop, then target, then time
This trade exited via STOP at $304.81 after 3 bar(s), for -2.11R (-10.36%) before costs.
On every bar after the fill we check the STOP first, then the target, then whether we have run out of time (the horizon). Checking the stop first means a bar that touches both your stop and your target on the same candle is scored as a LOSS — the honest, conservative assumption when you cannot see the intrabar path.
→ It hit the stop: the idea was wrong, or the stop was too tight for the noise.
Every number here is before costs
So -2.11R (-10.36%) is the gross result. A real fill of the same plan keeps less, by an amount this page does not know: it depends on your broker, your size and the spread at the moment you traded.
This walk charges no commission, no spread or slippage, no borrow on a short and no financing. It books fills only at prices the bars actually traded — a level that the market gapped past is filled at the open instead — but it takes nothing off the top.
→ Costs fall hardest on plans with tight stops and fast turnover — the tighter the stop, the more of each R the spread eats.
1 trade is not a track record
What the run does support: the plan filled at $340.03 and exited via stop at $304.81 for -2.11R. That is one outcome on one path, gross of costs — not a rate, and not a forecast.
This run scored 1 trade on one window of one name. Hit rate, expectancy and profit factor describe a process repeated many times; over 1 they are arithmetic on a sample of 1, so this page does not report them — a "100% hit rate" from one winning trade is a coin that landed heads once.
→ Run the same rule across many names and many windows — at least 20 trades — before treating any of it as evidence of an edge.

Glossary

R (risk unit)
One R is the dollars you risk per share — the distance from entry to stop. Every result is measured in R so trades of any size compare apples-to-apples.
Look-ahead bias
Using information a real trader could not have had yet (e.g. acting inside the bar that produced the signal). It inflates results and is the #1 way backtests lie.
MAE (max adverse excursion)
The worst drawdown the trade endured before it exited, in R. High MAE on winners means you took a lot of heat — a sign the stop could be tightened.
Gross of costs
Before commission, spread/slippage, borrow and financing. A gross result is an upper bound on what the same plan would have kept.
Sample size
How many independent trades stand behind a statistic. Below roughly 20 trades, hit rate and expectancy are dominated by luck; a single trade carries no rate at all.