Dip above the 200-day on SPY
Buy when the close is above SMA (200) and RSI (2) is below 10. Sell when the close is above SMA (5).
Started from the “Dip above the 200-day” template. A template is a well-known idea to test, not a recommendation.
- This rule
- +2.5%
- 10,000 became 10,247
- Buy and hold SPY
- +21.4%
- 10,000 became 12,139
- Worst fall
- −6.8%
- −726 · not recovered by the end
- Trades
- 17
- 12 won · 5 lost · 71% win rate
- Profit factor
- 1.35
- gains ÷ losses
- In the market
- 10%
- of 500 days
- Only 17 trades. A handful of trades says little about a rule: a few lucky or unlucky ones decide the result. Thirty or more is a common minimum; a longer period gives more.
- Buying and holding did better. Over the same dates, simply holding SPY returned 19 percentage points more than this rule after costs.
Account value
10,000 following this rule, beside the same cash bought and held, Nov 29, 2024 to Nov 27, 2026
Transactions chart
Buy and cover markers below the bar, sell and short markers above
Trades
17 round trips, oldest first. Each is an entry and its exit, after costs.
| Side | Entry | Exit | Shares | Held | Profit | Return | Worst / best |
|---|---|---|---|---|---|---|---|
| Long | Oct 13, 2025 · 660.65 the close is above SMA (200) and RSI (2) is below 10 | Oct 16, 2025 · 666.82 the close is above SMA (5) | 15.13 | 3 days | +83.30 | +0.83% | −1.1% / +1.5% |
| Long | Nov 18, 2025 · 662.10 the close is above SMA (200) and RSI (2) is below 10 | Nov 25, 2025 · 668.63 the close is above SMA (5) | 15.22 | 5 days | +89.27 | +0.89% | −1.7% / +2.0% |
| Long | Dec 18, 2025 · 677.60 the close is above SMA (200) and RSI (2) is below 10 | Dec 22, 2025 · 683.94 the close is above SMA (5) | 15.01 | 2 days | +84.92 | +0.83% | −0.4% / +0.9% |
| Long | Jan 2, 2026 · 685.71 the close is above SMA (200) and RSI (2) is below 10 | Jan 6, 2026 · 687.93 the close is above SMA (5) | 14.95 | 2 days | +22.92 | +0.22% | −0.9% / +0.5% |
| Long | Jan 21, 2026 · 679.65 the close is above SMA (200) and RSI (2) is below 10 | Jan 23, 2026 · 688.15 the close is above SMA (5) | 15.12 | 2 days | +118.17 | +1.15% | −0.2% / +1.7% |
| Long | Feb 6, 2026 · 681.46 the close is above SMA (200) and RSI (2) is below 10 | Feb 9, 2026 · 689.42 the close is above SMA (5) | 15.25 | 1 days | +110.95 | +1.07% | −0.1% / +1.6% |
| Long | Feb 13, 2026 · 681.69 the close is above SMA (200) and RSI (2) is below 10 | Feb 19, 2026 · 683.84 the close is above SMA (5) | 15.41 | 3 days | +22.61 | +0.22% | −0.9% / +1.1% |
| Long | Mar 4, 2026 · 681.63 the close is above SMA (200) and RSI (2) is below 10 | Mar 18, 2026 · 668.36 the close is above SMA (5) | 15.44 | 10 days | −215.36 | −2.04% | −3.0% / +0.8% |
| Long | Jun 8, 2026 · 743.36 the close is above SMA (200) and RSI (2) is below 10 | Jun 12, 2026 · 740.71 the close is above SMA (5) | 13.87 | 4 days | −47.05 | −0.46% | −2.8% / +0.5% |
| Long | Jun 29, 2026 · 736.53 the close is above SMA (200) and RSI (2) is below 10 | Jun 30, 2026 · 741.29 the close is above SMA (5) | 13.94 | 1 days | +56.04 | +0.55% | −0.6% / +0.7% |
| Long | Jul 21, 2026 · 746.29 the close is above SMA (200) and RSI (2) is below 10 | Jul 22, 2026 · 746.62 the close is above SMA (5) | 13.83 | 1 days | −5.76 | −0.06% | −0.3% / +0.4% |
| Long | Jul 30, 2026 · 736.05 the close is above SMA (200) and RSI (2) is below 10 | Jul 31, 2026 · 744.68 the close is above SMA (5) | 14.01 | 1 days | +110.56 | +1.07% | −0.2% / +1.2% |
| Long | Sep 2, 2026 · 762.45 the close is above SMA (200) and RSI (2) is below 10 | Sep 4, 2026 · 772.01 the close is above SMA (5) | 13.67 | 2 days | +120.23 | +1.15% | −0.1% / +1.5% |
| Long | Sep 11, 2026 · 764.72 the close is above SMA (200) and RSI (2) is below 10 | Sep 14, 2026 · 759.00 the close is above SMA (5) | 13.79 | 1 days | −89.39 | −0.85% | −0.7% / +0.2% |
| Long | Oct 15, 2026 · 766.25 the close is above SMA (200) and RSI (2) is below 10 | Oct 21, 2026 · 771.17 the close is above SMA (5) | 13.65 | 4 days | +56.65 | +0.54% | −0.7% / +0.9% |
| Long | Nov 2, 2026 · 759.45 the close is above SMA (200) and RSI (2) is below 10 | Nov 5, 2026 · 765.47 the close is above SMA (5) | 13.84 | 3 days | +72.78 | +0.69% | −1.0% / +2.1% |
| Long | Nov 17, 2026 · 738.39 the close is above SMA (200) and RSI (2) is below 10 | Nov 24, 2026 · 715.15 the close is above SMA (5) | 14.34 | 5 days | −343.59 | −3.24% | −7.0% / +0.2% |
Return and risk
This rule beside buying and holding over the same dates
| Measure | This rule | Buy and hold |
|---|---|---|
| Total return | +2.5% | +21.4% |
| Return per year | +1.2% | +10.2% |
| Volatility per year | 6.1% | 17.5% |
| Worst fall from a peak | −6.8% | −19.0% |
| Longest time below a peak | 245 days | 128 days |
| Sharpe ratio | 0.23 | 0.64 |
| Sortino ratio | 0.35 | 0.94 |
| Return per year ÷ worst fall | 0.18 | 0.54 |
Trade statistics
Round trips for the long side, the short side and both together
| Statistic | Long | Short | Total |
|---|---|---|---|
| Trades | 17 | 0 | 17 |
| Won | 12 | 0 | 12 |
| Lost | 5 | 0 | 5 |
| Win rate | 71% | — | 71% |
| Net profit | +247.25 | — | +247.25 |
| Profit factor | 1.35 | — | 1.35 |
| Average trade | +14.54 | — | +14.54 |
| Average trade return | +0.15% | — | +0.15% |
| Average win | 79.03 | — | 79.03 |
| Average loss | 140.23 | — | 140.23 |
| Average win ÷ average loss | 0.56 | — | 0.56 |
| Largest win | 120.23 | — | 120.23 |
| Largest loss | 343.59 | — | 343.59 |
| Most losses in a row | 2 | 0 | 2 |
| Average days held | 2.9 | — | 2.9 |
Does it hold up on the last part?
The last 30% of the period, from Apr 27, 2026, is shaded on the chart and counted apart. A rule that only worked earlier was probably fitted to the past.
| Part | This rule | Buy and hold | Trades |
|---|---|---|---|
| First 70% | +3.2% | +19.0% | 8 |
| Last 30% | −0.7% | +2.0% | 9 |
Monthly returns
This rule, month by month. The last column is buying and holding for the same year.
| Year | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | Year | Hold |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2026 | 1.4 | 1.3 | -2.0 | 0.0 | 0.0 | 0.1 | 1.0 | 0.0 | 0.3 | 0.5 | -2.6 | −0.1% | +6.8% | |
| 2025 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.8 | 0.9 | 0.8 | +2.6% | +16.4% |
| 2024 | 0.0 | 0.0 | 0.0% | −2.3% |
How the trades turned out
The number of trades in each band of return, after costs
- under −20% 0
- −20% to −10% 0
- −10% to −5% 0
- −5% to −2% 2
- −2% to 0% 3
- 0% to +2% 12
- +2% to +5% 0
- +5% to +10% 0
- +10% to +20% 0
- over +20% 0
What this result assumes
- Account. Starts with 10,000 in cash, 100% of the account on each entry, one position at a time. Fractional shares are allowed.
- Fills. A signal is read at a bar’s close and fills at the next bar’s open.
- Costs. 0.05% of the amount traded on every buy and every sell, for commission and slippage. This run paid 176.14 in all.
- Exits. The exit condition closes the position. A position still open at the end is valued at the last close.
- Signals. 310 in this period. Studies are calculated on the bars before the period as well, so they are warmed up when it starts.
- Prices. 500 daily bars, adjusted for splits. Dividends are not included, for this rule or for buying and holding.
- Buy and hold. The same cash put into SPY at the first bar’s open, one cost, never sold.
These results are hypothetical. They come from applying a rule to past prices under the assumptions above, with the benefit of hindsight, and are not a record of real trading. Real orders can fill at other prices or not at all. Past results do not predict future results, and nothing here is investment advice. The Stock Master app calculates backtests differently, so its numbers will not match these.
