Learning CenterScreening and process‹ Learning Center
Your spreadsheet is fine until the stop and the size fall out of step
A spreadsheet sizes a position correctly. Shares are your dollar risk divided by the distance from the price to the stop level, rounded down. A sheet drifts where cells are linked by hand. If the stop on ZQXT, a made-up stock, moves to $37.50 while the size cell reads $39.00, 66 shares put $297.00 at risk instead of $198.00.
A size cell reading an old copy of the stop keeps 66 shares and $297.00 at risk
ZQXT at $42.00 with $200 of risk: the stop cell, an old copy of it, the shares and the loss at the stop.
Your rule puts the stop 2 × ATR below the price, as in the ATR stop article. On Monday you change N, the multiple, to 3, and the stop cell updates. The size cell reads a copy pasted last week, so it keeps 66 shares when the new stop works out to 44.
What does a spreadsheet do well?
It gets the arithmetic right. With the same formula and the same inputs, a sheet gives the same stop level, to the cent, and the same share count. It also keeps your log in the columns you choose, and every cell is yours to change.
For one position you type in capital, risk per position, maximum position, price, ATR(14) and N. Your risk per position sets what the position would lose at its stop, and your maximum position caps what it costs.
Everything else is a formula. The Definitions page writes the stop level, the shares and the loss at the stop like this.
Stop level = price − N × ATR
Shares = ⌊ min( amount × risk% ÷ 100 ÷ (price − stop level), amount × max% ÷ 100 ÷ price ) ⌋
Loss at stop $ = (price − stop level) × shares
In a sheet, × is typed as an asterisk, ÷ as a slash, and rounding down as ROUNDDOWN(…, 0).
| Cell | Holds | Typed, or the formula | Shows |
|---|---|---|---|
| B1 | Capital | Typed | $20,000 |
| B2 | Risk per position, % | Typed | 1 |
| B3 | Maximum position, % | Typed | 25 |
| B4 | Price | Typed | $42.00 |
| B5 | ATR(14) | Typed | $1.50 |
| B6 | N | Typed | 2 |
| B7 | Stop level | B4 − B6 × B5, rounded to the cent | $39.00 |
| B8 | Shares | The smaller of B1 × B2 ÷ 100 ÷ (B4 − B7) and B1 × B3 ÷ 100 ÷ B4, rounded down | 66 |
| B9 | Loss at stop $ | (B4 − B7) × B8 | $198.00 |
Every formula cell points back at a typed cell, so changing N in B6 moves the stop, the shares and the loss together.
Where does the stop drift from the size?
So the arithmetic holds. The drift comes from the links a person keeps up by hand, between cells and between days.
The stop and a copy of it
The size cell should point at the stop cell. When it reads a copy instead, typed in or pasted as a value, the two agree only until the stop changes.
Change N from 2 to 3 and the stop cell moves to $42.00 − 3 × $1.50 = $37.50, which is $4.50 below the price. The right count is $200 ÷ $4.50 = 44.44, rounded down to 44 shares, which lose $198.00 at the stop.
The copy still says $39.00, so the size stays at 66 shares. They lose 66 × $4.50 = $297.00 at the stop, about one and a half times your risk per position.
In Raymond Panko's review of spreadsheet research, slips such as pointing a formula at the wrong cell were common in every experiment that looked for them [1]. He also describes hardwiring, where a number is typed over a formula cell, and says that locking every cell except the inputs prevents it.
An ATR pasted last week
If you paste ATR in by hand, the stop is only as current as the paste. Suppose ZQXT's ATR(14) was $1.20 when you pasted it and is $1.50 today.
The sheet puts the stop at $42.00 − 2 × $1.20 = $39.60, which is $2.40 below the price. It works out $200 ÷ $2.40 = 83.33, rounded down to 83 shares, which lose 83 × $2.40 = $199.20 at the stop. The risk checks out.
But the stop is only $2.40 ÷ $1.50 = 1.6 times today's ATR below the price, closer than the 2 your rule says. A date beside each pasted figure shows how old it is.
Where does the log drift from the plan?
The other two weak spots are off the sizing tab, one in the log and one across your positions.
A plan that never reached the log
A log row often holds only what happened. Say you planned ZQXT with the stop at $39.00 and 66 shares, bought at $42.00 and sold at $38.00.
The log shows a loss of 66 × $4.00 = $264.00. Without the plan beside it, nothing in the row says the plan's loss at the stop was $198.00, or that $66.00 of it came from selling below the planned stop.
Columns for the plan's stop and shares, kept beside what you recorded, fix that. What to record in a trading journal works through the columns, and Aetherscreener's Journal keeps the plan's figures beside yours.
Heat nobody added up
When each position has its own tab, no cell adds their stops together. Take the four positions in the portfolio heat article, each sized at 1% of $20,000. If every stop is hit the same day and the shares are sold at the stops, they lose $782.50, or 3.91% of the account, and a gap past a stop makes it more.
A sheet shows that total only if one cell sums Loss at stop $ across every tab. A tab added later sits outside the sum until someone widens its range.
What does the research on spreadsheet errors say?
Then look at how often spreadsheets go wrong. Panko's review gathered field audits of business spreadsheets [1]. Errors turned up in 24% of all 367 audited. In the 54 audited from 1997 on, where the methods were more thorough, the figure was 91%.
Lab experiments came closer to the size of a trading sheet. There, 51% of spreadsheets had at least one error, though most were only 25 to 50 cells.
He writes that this is "not mere sloppiness" and puts the cause in the limits of human cognition [1]. In one experiment, developers put the chance they had made an error at a median of 10%, and 86% had made one.
Looking over the results catches less than it seems to. Panko says a check that the results look reasonable is worth doing but isn't enough to stop at. People who went through a sheet cell by cell on their own found about half the errors [1].
How do you check your sheet against a known answer?
So test the sheet with a case whose answer you know, which Panko describes as execution testing [1]. Type in ZQXT's figures and check each cell against the first column below. Then change N from 2 to 3 and check the second.
| Your sheet should show | N = 2 | N = 3 |
|---|---|---|
| Stop level | $39.00 | $37.50 |
| Shares | 66 | 44 |
| Cost of the shares | $2,772.00 | $1,848.00 |
| Loss at stop $ | $198.00 | $198.00 |
The stop moves down by $1.50, the shares fall from 66 to 44, and Loss at stop $ stays at $198.00. If the shares stay at 66 when N changes, a link is broken.
To compare with another calculator, use one stock you're planning and the same settings in both. If the figures differ, check the ATR first.
Aetherscreener's ATR uses Wilder's smoothing on prices adjusted for splits but not for dividends. Its stop is rounded to the cent before sizing, and its sizing starts from the amount you type.
A sheet stays right while the links you keep by hand hold, and a known case shows whether they still do. On the Plan page, the stop, the shares and the list's combined loss at stop levels all come from one set of settings, calculated together. The Definitions page writes out each formula for you to compare line by line.
Sources
- Panko, R. R. (2000). "Spreadsheet Errors: What We Know. What We Think We Can Do." Proceedings of the European Spreadsheet Risks Interest Group (EuSpRIG) 2000 Symposium, 7–17. arXiv:0802.3457 (2008). https://arxiv.org/abs/0802.3457
Sources read Nov 11, 2026. Formulas: Aetherscreener's Definitions page, under Planning, Stop rule: ATR × N, Shares, Loss at stop $ and Combined loss at stop levels.
Formulas checked against the Definitions page on Nov 11, 2026.
Aetherscreener does not tell you what to buy, sell or hold. It does not provide financial, investment or tax advice.
© 2026 Zelkomira Limited. All rights reserved.