Trend-Filtered MACD Cross — Alphabet (Google) strategy backtest
Takes MACD cross-ups only while price holds above its 200-day line; exits on the MACD cross back down.
A curated strategy — a well-known mechanism with sensible risk management built in. Still not a recommendation — it's a mechanism you test yourself.
- • Buys when Close price is above Moving average (SMA)(200) and MACD(12,26,9) macd crosses above MACD(12,26,9) signal.
- • Sells when MACD(12,26,9) macd crosses below MACD(12,26,9) signal.
- • Uses a volatility (ATR×3) stop.
- • Sizes each trade to risk ~2.0% of capital to the stop.
| Worst drawdowns · peak → trough | Depth | To trough | Underwater | Recovered |
|---|---|---|---|---|
| 2021-09-01 → 2024-01-31 | -8.5% | 882d | 1463d | yes |
| 2018-01-26 → 2019-10-22 | -6.8% | 634d | 1104d | yes |
| 2025-11-11 → 2026-03-24 | -4.8% | 133d | 170d | yes |
How this is computed → (closed-bar, costs on, vs buy & hold — the full method.)
Past performance is not a reliable indicator of future results. This is an educational, analytical tool — not investment advice, and not a recommendation to buy or sell anything. You make all decisions and execute on your own broker.
Hypothetical performance disclaimer (CFTC Rule 4.41)
HYPOTHETICAL OR SIMULATED PERFORMANCE RESULTS HAVE CERTAIN LIMITATIONS. UNLIKE AN ACTUAL PERFORMANCE RECORD, SIMULATED RESULTS DO NOT REPRESENT ACTUAL TRADING. ALSO, SINCE THE TRADES HAVE NOT BEEN EXECUTED, THE RESULTS MAY HAVE UNDER- OR OVER-COMPENSATED FOR THE IMPACT, IF ANY, OF CERTAIN MARKET FACTORS, SUCH AS LACK OF LIQUIDITY. SIMULATED TRADING PROGRAMS IN GENERAL ARE ALSO SUBJECT TO THE FACT THAT THEY ARE DESIGNED WITH THE BENEFIT OF HINDSIGHT. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO ACHIEVE PROFITS OR LOSSES SIMILAR TO THOSE SHOWN.
- Data
- Yahoo Finance / Binance daily OHLC, split-adjusted. Recomputed on each run.
- Costs
- Commission + tiered slippage on every fill. No leverage.
- Execution
- Signals act on the next open after a bar closes — never on a price you couldn't have known.
- Look-ahead & survivorship
- Indicators use closed bars only; the forming bar is dropped. Survivorship is labelled, not hidden.
- Benchmark
- Measured against buy & hold of the same asset over the same window.
- What it isn't
- Not advice, not a prediction, no profit claim. I hold no funds and place no orders.