BACKTEST · MACD
MACD zero-line crossover
SPY MACD zero line cross.
From 2015-01-02 to 2024-12-31, this rule made 35 trades and returned +67.0%. Buying and holding SPY returned +185.3% over the same dates. The largest drop from a past high was 20.0%.
Loading trades...
The rule
SPY MACD zero line cross. Orders fill at the next close.
Loading the first trade...
Did it beat SPY?
How it did over time
Strategy in orange-red. SPY buy and hold in light.
Loading equity...
The same result in an AI chat
This is how the result looks when an AI agent such as Claude or ChatGPT runs it. It uses the same engine report.
Strategy equity in orange-red, SPY in light. Historical test only.
Every trade
35 trades and 70 fills, straight from the engine report. Each fill shows the day the signal fired, the day it filled, and why. This run used 0 bps fees and 0 bps slippage on each fill, except when a modeled option expires. A basis point (bps) is one hundredth of one percent.
| Signal date | Fill date | Ticker | Side | Price | Reason |
|---|---|---|---|---|---|
| 2015-04-10 | 2015-04-13 | SPY | Buy | $209.09 | entry |
| 2015-06-08 | 2015-06-09 | SPY | Sell | $208.45 | exit |
| 2015-06-22 | 2015-06-23 | SPY | Buy | $212.05 | entry |
| 2015-06-26 | 2015-06-29 | SPY | Sell | $205.47 | exit |
| 2015-07-17 | 2015-07-20 | SPY | Buy | $212.62 | entry |
| 2015-07-27 | 2015-07-28 | SPY | Sell | $209.31 | exit |
| 2015-07-29 | 2015-07-30 | SPY | Buy | $210.82 | entry |
| 2015-08-06 | 2015-08-07 | SPY | Sell | $207.92 | exit |
| 2015-10-09 | 2015-10-12 | SPY | Buy | $201.52 | entry |
| 2015-12-11 | 2015-12-14 | SPY | Sell | $202.90 | exit |
| 2016-02-25 | 2016-02-26 | SPY | Buy | $195.09 | entry |
| 2016-05-18 | 2016-05-19 | SPY | Sell | $204.20 | exit |
| 2016-05-25 | 2016-05-26 | SPY | Buy | $209.34 | entry |
| 2016-06-24 | 2016-06-27 | SPY | Sell | $199.60 | exit |
| 2016-07-07 | 2016-07-08 | SPY | Buy | $212.65 | entry |
| 2016-09-13 | 2016-09-14 | SPY | Sell | $213.15 | exit |
| 2016-11-11 | 2016-11-14 | SPY | Buy | $216.59 | entry |
| 2017-04-12 | 2017-04-13 | SPY | Sell | $232.51 | exit |
| 2017-04-25 | 2017-04-26 | SPY | Buy | $238.40 | entry |
| 2017-08-18 | 2017-08-21 | SPY | Sell | $242.90 | exit |
| 2017-08-31 | 2017-09-01 | SPY | Buy | $247.84 | entry |
| 2018-02-07 | 2018-02-08 | SPY | Sell | $257.63 | exit |
| 2018-02-27 | 2018-02-28 | SPY | Buy | $271.65 | entry |
| 2018-02-28 | 2018-03-01 | SPY | Sell | $267.70 | exit |
| 2018-03-09 | 2018-03-12 | SPY | Buy | $278.52 | entry |
| 2018-03-21 | 2018-03-22 | SPY | Sell | $263.67 | exit |
| 2018-05-09 | 2018-05-10 | SPY | Buy | $272.02 | entry |
| 2018-06-27 | 2018-06-28 | SPY | Sell | $270.89 | exit |
| 2018-07-09 | 2018-07-10 | SPY | Buy | $278.90 | entry |
| 2018-10-10 | 2018-10-11 | SPY | Sell | $272.17 | exit |
| 2019-01-17 | 2019-01-18 | SPY | Buy | $266.46 | entry |
| 2019-05-14 | 2019-05-15 | SPY | Sell | $285.06 | exit |
| 2019-06-12 | 2019-06-13 | SPY | Buy | $289.58 | entry |
| 2019-08-05 | 2019-08-06 | SPY | Sell | $287.80 | exit |
| 2019-09-05 | 2019-09-06 | SPY | Buy | $298.05 | entry |
| 2019-10-02 | 2019-10-03 | SPY | Sell | $290.42 | exit |
| 2019-10-16 | 2019-10-17 | SPY | Buy | $299.28 | entry |
| 2020-02-26 | 2020-02-27 | SPY | Sell | $297.51 | exit |
| 2020-04-16 | 2020-04-17 | SPY | Buy | $286.64 | entry |
| 2020-09-18 | 2020-09-21 | SPY | Sell | $326.97 | exit |
Show all 70 fills
| Signal date | Fill date | Ticker | Side | Price | Reason |
|---|---|---|---|---|---|
| 2020-10-07 | 2020-10-08 | SPY | Buy | $343.78 | entry |
| 2020-10-28 | 2020-10-29 | SPY | Sell | $329.98 | exit |
| 2020-11-06 | 2020-11-09 | SPY | Buy | $354.56 | entry |
| 2021-03-08 | 2021-03-09 | SPY | Sell | $387.17 | exit |
| 2021-03-09 | 2021-03-10 | SPY | Buy | $389.58 | entry |
| 2021-09-20 | 2021-09-21 | SPY | Sell | $433.63 | exit |
| 2021-10-19 | 2021-10-20 | SPY | Buy | $452.41 | entry |
| 2021-12-03 | 2021-12-06 | SPY | Sell | $458.79 | exit |
| 2021-12-07 | 2021-12-08 | SPY | Buy | $469.52 | entry |
| 2022-01-18 | 2022-01-19 | SPY | Sell | $451.75 | exit |
| 2022-03-22 | 2022-03-23 | SPY | Buy | $443.80 | entry |
| 2022-04-18 | 2022-04-19 | SPY | Sell | $445.04 | exit |
| 2022-07-21 | 2022-07-22 | SPY | Buy | $395.09 | entry |
| 2022-08-31 | 2022-09-01 | SPY | Sell | $396.42 | exit |
| 2022-10-28 | 2022-10-31 | SPY | Buy | $386.21 | entry |
| 2022-12-19 | 2022-12-20 | SPY | Sell | $380.54 | exit |
| 2023-01-12 | 2023-01-13 | SPY | Buy | $398.50 | entry |
| 2023-02-28 | 2023-03-01 | SPY | Sell | $394.74 | exit |
| 2023-03-31 | 2023-04-03 | SPY | Buy | $410.95 | entry |
| 2023-08-16 | 2023-08-17 | SPY | Sell | $436.29 | exit |
| 2023-08-31 | 2023-09-01 | SPY | Buy | $451.19 | entry |
| 2023-09-19 | 2023-09-20 | SPY | Sell | $438.64 | exit |
| 2023-11-08 | 2023-11-09 | SPY | Buy | $433.84 | entry |
| 2024-04-16 | 2024-04-17 | SPY | Sell | $500.55 | exit |
| 2024-05-07 | 2024-05-08 | SPY | Buy | $517.19 | entry |
| 2024-07-30 | 2024-07-31 | SPY | Sell | $550.81 | exit |
| 2024-07-31 | 2024-08-01 | SPY | Buy | $543.01 | entry |
| 2024-08-01 | 2024-08-02 | SPY | Sell | $532.90 | exit |
| 2024-08-19 | 2024-08-20 | SPY | Buy | $558.70 | entry |
| 2024-12-30 | 2024-12-31 | SPY | Sell | $586.08 | exit |
Want to change this rule?
Ask the chat to try another ticker, other dates, a stop, or different fees. It runs the same engine on real past prices.
Risk warning
Past results do not predict future returns. Not investment advice.