AAPL golden cross backtest: the 50/200 moving average, 2020 to 2024.
We ran the golden cross rule (50 day average against 200 day average) on Apple through Candlo Academy's backtest engine, starting with $10,000. It made money. Buy and hold made more.
| Strategy | Return | End value | Trades | Sharpe |
|---|---|---|---|---|
| 50/200 moving average | +137.29% | $23,729.11 | 7 | 0.75 |
| Buy and hold | +236.27% | $33,627.28 | 1 | 0.92 |
The rule finished 98.98 percentage points behind buy and hold. It was in cash about 21% of the time.
- The rule
- Hold it while its 50 day average is above its 200 day average, so buy on the golden cross and sell on the death cross. Hold cash otherwise. The signal is read at the close and the fill happens at the next day's open.
- What it did
- The rule made 7 trades and was in cash for 379 of 1,825 calendar days, about 21%. It sold at $146.96 in Jun 2022 and bought back at $146.17 in Sep 2022, lower than it sold. It sold at $138.14 in Oct 2022 and bought back at $158.94 in Mar 2023, higher than it sold. It sold at $172.82 in Mar 2024 and bought back at $213.96 in Jun 2024, higher than it sold.
- Costs in the test
- Every fill moves 5 basis points against you (0.05%). Returns are price returns, so dividends are not counted for either line. No commission or taxes are modelled.
- What this does not show
- One stock and one five year window. A different ticker or period can reverse the order, so do not read this as a general result about moving averages.
Every fill
| Date | Side | Price |
|---|---|---|
| 2020-01-02 | Buy | $74.10 |
| 2022-06-06 | Sell | $146.96 |
| 2022-09-29 | Buy | $146.17 |
| 2022-10-03 | Sell | $138.14 |
| 2023-03-24 | Buy | $158.94 |
| 2024-03-14 | Sell | $172.82 |
| 2024-06-14 | Buy | $213.96 |
Hypothetical backtest, not a record of real trades. Prices are split adjusted. Past results do not predict future results. For education only, not financial advice. Other tickers are on the backtests page, and what a paper fill costs in each market is on the fees page.