AIZ MACD (12, 26, 9) Crossover Backtest

HISTORICAL BACKTEST · AIZ DAILY

What this backtest found

2004-02-05 to 2026-10-01 · $10,000.00 USD starting capital · costs as specified below

The strategy returned -1.4% over the full test period, compared with 1011.33% for buy and hold. It underperformed that benchmark on total return. Its largest decline from a previous equity high was 23.4%.

Modify this strategy
Total return-1.4%
Profit factor0.99
Longest losing streak10 trades
Best closed trade6.69%
Worst closed trade-9%
Longest drawdown duration3152 calendar days
Ending equity$9,860.10
Closed trades98
Win rate26.5%
Average winner5.81%
Average loser-2.03%
Average holding period9.4 sessions
Time invested16.2% of sessions

CAGR is the equivalent compounded yearly return across these dates, not the return earned in every year. Drawdown measures the largest fall from a previous daily equity high. Ending equity includes any open position marked to the final close.

How this strategy works

AIZ is tested on daily bars with one long position at a time. Entry conditions are combined using AND: every condition must match. A close signal executes at the next session’s open.

  • Entry: MACD (12/26) crosses above MACD signal (9).
  • Entry: volume above 20-session average volume.

MACD (12, 26, 9): the 12-session EMA minus the 26-session EMA forms the MACD line. Its 9-session EMA is the signal line. A crossing requires the previous line relationship and the current relationship to change; staying above or below alone is not another crossover. A signal-line crossover can occur above or below zero. This is a momentum signal, not a forecast, and sideways markets can produce repeated reversals.

Volume: the engine compares the supplied daily volume with the number or average specified in the rules. Average volume includes the current completed session. A volume condition filters signals; it does not model liquidity, spread, or order-fill capacity.

5% trailing stop: starts at the entry open and follows the highest daily close reached while invested. The updated level becomes active the next session. The line is not tightened using the same day’s high or low. Gaps can execute beyond the level; it is not a guaranteed maximum loss.

6% profit target: measured from the raw entry open, before execution slippage and fees. Opening gaps fill at open; otherwise daily high/low touches determine fills. A stop takes priority when both stop and target touch in one daily bar.

2% fixed stop: measured from the raw entry open, before execution slippage and fees. Opening gaps fill at open; otherwise daily high/low touches determine fills. A stop takes priority when both stop and target touch in one daily bar.

Strategy versus buy and hold

Both curves start with $10,000.00 USD and use the same historical dates. Buy and hold returned 1011.33% (11.22% annualized), with 81.83% maximum drawdown.

● Strategy ● Buy and hold

Drawdowns over time

● Strategy ● Buy and hold

Annual performance

YearStrategyBuy and holdClosed tradesWorst ongoing drawdown
2004 (partial)-12.6%28.21%313.83%
2005-2.88%42.73%516.3%
20067.39%27.06%819.87%
20073.32%20.79%613.06%
2008-9.61%-55.02%516.06%
20093.88%-1.73%217.74%
2010-1.16%30.66%416.59%
20113.88%6.59%214.6%
20123.03%-15.49%310.83%
201312.39%91.27%66.51%
20143.88%3.1%22%
20155.75%17.7%55.12%
20164.3%15.3%610.63%
2017-4.1%8.59%37.23%
20183.39%-11.31%79.09%
20194.87%46.56%210.36%
2020-5.54%3.92%38.04%
2021-11.51%14.42%618.63%
2022-2%-19.76%120.26%
20230.02%34.73%520.26%
20243.64%26.55%623.4%
2025-1.43%12.96%622.2%
2026 (partial)-5.95%9.59%223.37%

Annual returns use the previous year’s final equity, or initial capital for the first year. Ongoing drawdown retains the previous all-time peak, including peaks in earlier years.

Execution risk observed in this test

A 2% stop did not cap every loss: the trade exiting on 2004-09-17 lost 9% after opening beyond the stop. Daily gaps can bypass the intended exit level.

What these results mean

The strategy’s -0.06% annualized return was 11.28 percentage points below the long buy-and-hold benchmark’s 11.22%. Its worst daily peak-to-trough decline was smaller by 58.43 percentage points. That is a return/drawdown trade-off, not proof of better risk-adjusted performance. It held a position during 16.2% of sessions; cash earned no interest in this simulation.

Across 98 closed trades, 26.5% were profitable. The average winner was 5.81% and the average loser was -2.03%. Profit factor was 0.99: $0.99 of positive closed-trade P&L for each $1 of losses. The longest losing run was 10 trades. Win rate alone does not capture the size of wins and losses.

The weakest displayed calendar period was 2004 at -12.6%. First and last years may be partial. A full-period average can hide substantial variation.

The longest observed drawdown lasted 3152 calendar days, with 2171 underwater sessions, from 2004-06-29 to 2013-02-14. Equity regained the earlier peak on the ending date.

Best closed trade: 6.69% · 2006-03-24 to 2006-05-04, exiting because of gap above target.

Worst closed trade: -9% · 2004-09-16 to 2004-09-17, exiting because of gap below stop.

Fees and slippage are 0% and 0% per side. This is a zero-cost simulation; adding execution costs can reduce results. This report contains no out-of-sample validation or parameter robustness study, so it does not establish that these rules generalize.

Price, trades and active exit levels

● Daily close ● Profit target (6%) ● Fixed stop (2%) ● Trailing stop (5%)

MACD and signal line

● MACD (12/26) ● MACD signal (9)

Volume and average volume

● volume ● 20-session average volume

Price circles show executed entries and exits; select a circle to open its trade. Triangles mark individual crossover conditions, not executed orders: other conditions and the existing position can prevent execution. Dashed exit levels apply only while a position is held. All charts share the same date range. Zoom in/out, select a year, or pan on any chart to update them together.

Trade history

Show 98 closed trades
EntryExitEntry $Exit $ReturnReason
2004-06-292004-07-1426.1025.58-2%Fixed / trailing stop
2004-09-162004-09-1727.0024.57-9%Gap below stop
2004-12-152004-12-2230.8830.26-2%Fixed / trailing stop
2005-01-242005-02-0131.3533.236%Target
2005-07-072005-07-2236.6135.88-2%Fixed / trailing stop
2005-07-292005-07-2937.8537.09-2%Fixed / trailing stop
2005-08-122005-08-1738.1037.34-2%Fixed / trailing stop
2005-09-162005-09-2037.7536.75-2.65%Gap below stop
2006-01-042006-01-1744.1043.22-2%Fixed / trailing stop
2006-01-272006-01-3146.0545.13-2%Fixed / trailing stop
2006-03-242006-05-0447.6550.846.69%Gap above target
2006-05-082006-05-1949.5547.80-3.53%Gap below stop
2006-06-302006-07-1847.8546.89-2%Fixed / trailing stop
2006-07-202006-08-1848.1050.996%Target
2006-09-012006-10-0451.4054.486%Target
2006-10-052006-10-0554.9553.85-2%Fixed / trailing stop
2006-11-062007-02-0954.8553.95-1.64%Gap below stop
2007-03-202007-04-0553.6056.826%Target
2007-05-042007-05-2460.0058.80-2%Fixed / trailing stop
2007-07-022007-07-0559.0157.83-2%Fixed / trailing stop
2007-09-192007-09-1952.5451.49-2%Fixed / trailing stop
2007-10-292007-11-0158.8362.366%Target
2008-01-162008-01-1768.0266.66-2%Fixed / trailing stop
2008-05-162008-05-2067.8266.46-2%Fixed / trailing stop
2008-07-092008-07-0970.4068.99-2%Fixed / trailing stop
2008-08-212008-09-1556.9055.76-2%Fixed / trailing stop
2008-11-252008-11-2517.1516.81-2%Fixed / trailing stop
2009-03-132009-03-1320.3519.94-2%Fixed / trailing stop
2009-07-162009-07-2324.1725.626%Target
2010-01-222010-02-0531.3230.69-2%Fixed / trailing stop
2010-05-042010-05-0436.2135.49-2%Fixed / trailing stop
2010-09-022010-09-1537.7740.046%Target
2010-10-072010-10-0841.5540.34-2.91%Gap below stop
2011-01-272011-02-1839.3441.706%Target
2011-07-262011-08-0335.1034.40-2%Fixed / trailing stop
2012-01-302012-02-0239.4541.826%Target
2012-07-302012-08-1335.5634.85-2%Fixed / trailing stop
2012-10-052012-10-2339.1738.95-0.56%Fixed / trailing stop
2012-12-052013-01-1434.7936.886%Target
2013-02-132013-02-2641.0940.27-2%Fixed / trailing stop
2013-04-112013-04-1847.3446.39-2%Fixed / trailing stop
2013-07-092013-08-0852.2155.346%Target
2013-09-122013-09-2055.8754.75-2%Fixed / trailing stop
2013-10-092013-10-1655.4158.736%Target
2014-01-102014-01-1368.5167.14-2%Fixed / trailing stop
2014-02-282014-03-1064.7968.686%Target
2015-04-302015-05-1561.7665.476%Target
2015-06-172015-06-2967.8966.53-2%Fixed / trailing stop
2015-07-302015-08-1174.4278.896%Target
2015-09-142015-09-1876.8675.32-2%Fixed / trailing stop
2015-10-202015-10-2181.2879.65-2%Fixed / trailing stop
2016-01-192016-01-2079.1277.54-2%Fixed / trailing stop
2016-01-252016-02-0879.4277.34-2.62%Gap below stop
2016-04-132016-04-2780.0284.826%Target
2016-04-282016-06-0684.8784.24-0.75%Fixed / trailing stop
2016-07-052016-07-0587.5585.80-2%Fixed / trailing stop
2016-11-102016-12-0682.5087.456%Target
2017-02-222017-03-2197.5595.81-1.79%Fixed / trailing stop
2017-06-132017-08-02101.32100.96-0.36%Fixed / trailing stop
2017-12-132017-12-14100.2698.25-2%Fixed / trailing stop
2018-02-162018-02-2289.6887.89-2%Fixed / trailing stop
2018-03-052018-03-2086.2791.456%Target
2018-05-172018-05-3194.1893.05-1.2%Fixed / trailing stop
2018-06-082018-06-1197.4395.48-2%Fixed / trailing stop
2018-06-202018-06-2899.84105.836%Target
2018-09-182018-10-11104.11103.02-1.05%Fixed / trailing stop
2018-11-082018-11-14101.9299.88-2%Fixed / trailing stop
2019-02-282019-03-14101.0097.25-3.71%Gap below stop
2019-08-092019-09-12118.81125.946%Target
2019-11-072020-01-27127.57127.55-0.02%Gap below stop
2020-02-042020-02-12133.90132.63-0.95%Fixed / trailing stop
2020-11-032020-11-03130.49127.88-2%Fixed / trailing stop
2021-01-072021-01-22138.48135.83-1.91%Fixed / trailing stop
2021-05-072021-05-11160.02156.82-2%Fixed / trailing stop
2021-06-092021-06-15163.45160.18-2%Fixed / trailing stop
2021-07-132021-07-15157.21153.76-2.19%Gap below stop
2021-11-042021-11-05164.87161.57-2%Fixed / trailing stop
2021-12-172021-12-17153.62150.55-2%Fixed / trailing stop
2022-09-092022-09-13164.77161.47-2%Fixed / trailing stop
2023-03-282023-04-03113.95120.796%Target
2023-06-142023-06-15130.42127.81-2%Fixed / trailing stop
2023-10-062023-10-20145.64146.010.25%Fixed / trailing stop
2023-11-022023-11-02164.97161.67-2%Fixed / trailing stop
2023-12-052023-12-07171.38167.95-2%Fixed / trailing stop
2024-02-082024-02-12175.27171.76-2%Fixed / trailing stop
2024-06-042024-06-13171.01167.59-2%Fixed / trailing stop
2024-08-122024-08-19177.90188.576%Target
2024-09-302024-09-30200.26196.25-2%Fixed / trailing stop
2024-10-212024-10-22196.89192.95-2%Fixed / trailing stop
2024-11-072024-11-18207.30219.746%Target
2025-01-212025-01-22213.06208.80-2%Fixed / trailing stop
2025-02-282025-02-28211.85207.61-2%Fixed / trailing stop
2025-05-282025-06-10200.11196.11-2%Fixed / trailing stop
2025-08-012025-08-06186.43197.626%Target
2025-09-292025-10-16215.67211.36-2%Fixed / trailing stop
2025-11-052025-11-07220.63216.22-2%Fixed / trailing stop
2025-12-162026-02-11234.12231.14-1.27%Fixed / trailing stop
2026-08-062026-08-06300.95294.93-2%Fixed / trailing stop

Exact rules and methodology

Read the strategy-specific explanation above.

  • Signals use completed daily bars; entries and indicator/holding exits execute at the next session open. Indicators warm up using earlier history; no pre-range entry signal is carried in.
  • Opening stop/target gaps execute at open. Otherwise a scheduled indicator/holding exit executes at open; within a bar, stop takes priority if both stop and target touch.
  • Initial capital $10,000.00 USD; one fully allocated fractional position, no pyramiding or leverage. Fees and adverse slippage apply to entry and exit. Buy-and-hold benchmark is always long.
  • Open positions are marked at the last close without an assumed final sale fee. Cash interest and dividends are excluded.

Results are calculated on the supplied daily prices. Dividends and cash interest are excluded.

Calculated: 2026-10-18 18:11:17 UTC. Engine: 3.1. Data: AIZ, 2004-02-05–2026-10-01.

Dataset fingerprint2532029cf3ca881e501664fca070bada21e718fb10243a9032963864d621ecab

Related backtests

These are separate saved tests. Compare dates and costs before comparing results.

Understand the metrics

What is CAGR?

The equivalent compounded yearly growth across the test’s elapsed calendar dates. It is not the return earned in each year.

What are drawdown and drawdown duration?

Drawdown is the percentage decline from a previous daily equity peak. Longest drawdown duration is the longest observed calendar time from a peak until that equity level is regained, or until the test ends. Underwater sessions count daily closes below the peak and exclude the recovery close. This duration need not belong to the deepest drawdown. “Unrecovered at test end” means the recovery date is unknown.

How is profit factor calculated?

Gross positive dollar profit divided by the absolute sum of negative dollar profit across closed trades, after configured costs. It excludes open positions. Because capital compounds, later trades can have greater dollar weight. Legacy reports without saved dollar P&L use reconstructed amounts from rounded trade returns and are labeled approximate. No losses gives “No losing trades,” not a finite ratio.

What are best/worst trade and losing streak?

Best and worst rank closed trades by percentage return. Longest losing streak counts consecutive closed trades with negative returns; a zero-return or positive trade breaks the streak. These statistics do not forecast future outcomes.

How are holding period and time invested measured?

Holding periods count sessions inclusively, including entry and exit sessions. Time invested is the share of sessions with a position at any point; it does not measure intraday hours. Average winners and losers use closed-trade percentage returns.

Educational historical simulation, not investment advice.

As an Amazon Associate I earn from qualifying purchases.