HISTORICAL BACKTEST · AVGO DAILY
What this backtest found
2016-02-02 to 2026-10-01 · $10,000.00 USD starting capital · costs as specified below
The strategy returned 51.26% over the full test period, compared with 2459.74% for buy and hold. It underperformed that benchmark on total return. Its largest decline from a previous equity high was 39.12%.
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
AVGO 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: RSI(14) crosses above 50.
- Entry: close above EMA(100).
- Indicator exit: RSI(14) crosses below 45. It executes at the next open.
RSI: Wilder’s smoothed average gains and losses produce an oscillator from 0 to 100. Each RSI period and threshold comes from the rules above. “Below 30” tests the current reading; “crosses above 30” requires a move from 30 or below to above 30. RSI can remain near extreme readings for extended periods; a threshold does not guarantee a reversal.
EMA: an exponential moving average gives more weight to recent closes. The engine seeds each period with a simple average, then applies exponential smoothing. A close/EMA crossover compares yesterday’s relationship with today’s; an EMA/EMA rule compares the two requested averages.
8% 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.
Strategy versus buy and hold
Both curves start with $10,000.00 USD and use the same historical dates. Buy and hold returned 2459.74% (35.54% annualized), with 48.79% maximum drawdown.
● Strategy ● Buy and hold
Drawdowns over time
● Strategy ● Buy and hold
Annual performance
| Year | Strategy | Buy and hold | Closed trades | Worst ongoing drawdown |
|---|---|---|---|---|
| 2016 (partial) | -11.74% | 30.45% | 6 | 19.99% |
| 2017 | 20.05% | 45.33% | 9 | 21.11% |
| 2018 | -16.52% | -1.02% | 6 | 30.5% |
| 2019 | 1.94% | 24.28% | 7 | 33.57% |
| 2020 | 31.09% | 38.55% | 4 | 35.11% |
| 2021 | 28.82% | 51.97% | 7 | 15.25% |
| 2022 | -32.98% | -15.97% | 8 | 33.86% |
| 2023 | 46.76% | 99.64% | 8 | 33.91% |
| 2024 | 33.94% | 107.7% | 13 | 27.01% |
| 2025 | -9.31% | 49.28% | 7 | 24.97% |
| 2026 (partial) | -16.85% | 0.22% | 8 | 39.12% |
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 8% stop did not cap every loss: the trade exiting on 2024-08-02 lost 10.05% after opening beyond the stop. Daily gaps can bypass the intended exit level.
What these results mean
The strategy’s 3.96% annualized return was 31.58 percentage points below the long buy-and-hold benchmark’s 35.54%. Its worst daily peak-to-trough decline was smaller by 9.67 percentage points. That is a return/drawdown trade-off, not proof of better risk-adjusted performance. It held a position during 56.17% of sessions; cash earned no interest in this simulation.
Across 83 closed trades, 30.1% were profitable. The average winner was 12.5% and the average loser was -4.08%. Profit factor was 1.16: $1.16 of positive closed-trade P&L for each $1 of losses. The longest losing run was 8 trades. Win rate alone does not capture the size of wins and losses.
The weakest displayed calendar period was 2022 at -32.98%. First and last years may be partial. A full-period average can hide substantial variation.
The longest observed drawdown lasted 1321 calendar days, with 907 underwater sessions, from 2017-06-08 to 2021-01-19. Equity regained the earlier peak on the ending date.
Best closed trade: 35.46% · 2023-05-08 to 2023-08-10, exiting because of indicator exit.
Worst closed trade: -10.05% · 2024-08-01 to 2024-08-02, 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 ● EMA(100) ● Trailing stop (8%)
RSI
● RSI(14)
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 83 closed trades
| Entry | Exit | Entry $ | Exit $ | Return | Reason |
|---|---|---|---|---|---|
| 2016-06-24 | 2016-06-27 | 15.20 | 14.65 | -3.62% | Indicator exit |
| 2016-06-30 | 2016-09-08 | 15.50 | 16.84 | 8.64% | Indicator exit |
| 2016-09-16 | 2016-09-26 | 17.24 | 16.52 | -4.2% | Indicator exit |
| 2016-09-28 | 2016-10-31 | 17.18 | 17.00 | -1.04% | Indicator exit |
| 2016-11-03 | 2016-11-11 | 17.25 | 16.75 | -2.87% | Indicator exit |
| 2016-11-22 | 2016-12-01 | 17.37 | 16.29 | -6.22% | Fixed / trailing stop |
| 2016-12-09 | 2017-04-13 | 18.11 | 20.92 | 15.53% | Indicator exit |
| 2017-04-21 | 2017-06-28 | 21.74 | 23.66 | 8.82% | Indicator exit |
| 2017-06-29 | 2017-06-30 | 23.87 | 23.63 | -1.02% | Indicator exit |
| 2017-07-10 | 2017-08-11 | 24.05 | 24.03 | -0.1% | Indicator exit |
| 2017-08-15 | 2017-08-29 | 25.22 | 24.13 | -4.33% | Indicator exit |
| 2017-09-01 | 2017-09-11 | 25.23 | 24.70 | -2.13% | Indicator exit |
| 2017-09-18 | 2017-09-21 | 25.12 | 24.20 | -3.65% | Indicator exit |
| 2017-10-09 | 2017-12-04 | 24.60 | 26.19 | 6.44% | Fixed / trailing stop |
| 2017-12-18 | 2017-12-27 | 26.41 | 25.92 | -1.84% | Indicator exit |
| 2018-01-03 | 2018-01-25 | 26.73 | 25.77 | -3.57% | Indicator exit |
| 2018-03-12 | 2018-03-19 | 26.07 | 24.63 | -5.5% | Fixed / trailing stop |
| 2018-09-10 | 2018-10-11 | 23.47 | 23.20 | -1.15% | Indicator exit |
| 2018-10-17 | 2018-10-19 | 23.97 | 23.00 | -4.06% | Indicator exit |
| 2018-11-16 | 2018-12-06 | 23.38 | 22.27 | -4.75% | Fixed / trailing stop |
| 2018-12-11 | 2018-12-24 | 24.35 | 23.76 | -2.39% | Fixed / trailing stop |
| 2018-12-27 | 2019-01-03 | 24.47 | 23.39 | -4.41% | Fixed / trailing stop |
| 2019-01-10 | 2019-03-08 | 24.56 | 26.16 | 6.51% | Indicator exit |
| 2019-03-14 | 2019-05-09 | 27.21 | 29.96 | 10.09% | Indicator exit |
| 2019-06-27 | 2019-07-08 | 28.29 | 27.63 | -2.31% | Fixed / trailing stop |
| 2019-07-15 | 2019-08-02 | 29.13 | 27.95 | -4.05% | Fixed / trailing stop |
| 2019-08-14 | 2019-08-15 | 27.88 | 27.20 | -2.44% | Indicator exit |
| 2019-08-30 | 2019-09-25 | 28.55 | 27.18 | -4.8% | Gap below stop |
| 2019-10-28 | 2020-01-09 | 29.12 | 31.23 | 7.27% | Indicator exit |
| 2020-01-23 | 2020-02-03 | 31.52 | 30.65 | -2.77% | Indicator exit |
| 2020-02-06 | 2020-02-24 | 31.88 | 29.42 | -7.73% | Gap below stop |
| 2020-05-19 | 2020-09-21 | 27.35 | 34.50 | 26.13% | Fixed / trailing stop |
| 2020-11-05 | 2021-02-26 | 37.36 | 46.75 | 25.16% | Indicator exit |
| 2021-03-01 | 2021-03-04 | 47.99 | 45.04 | -6.14% | Fixed / trailing stop |
| 2021-03-16 | 2021-04-20 | 47.13 | 46.00 | -2.39% | Indicator exit |
| 2021-04-27 | 2021-04-29 | 47.37 | 46.79 | -1.23% | Indicator exit |
| 2021-05-21 | 2021-08-19 | 45.80 | 46.57 | 1.67% | Indicator exit |
| 2021-08-24 | 2021-09-30 | 48.24 | 49.45 | 2.5% | Indicator exit |
| 2021-10-08 | 2021-10-13 | 49.68 | 48.12 | -3.15% | Indicator exit |
| 2021-10-15 | 2022-01-07 | 50.38 | 62.03 | 23.13% | Fixed / trailing stop |
| 2022-02-02 | 2022-02-24 | 59.82 | 55.16 | -7.79% | Gap below stop |
| 2022-02-28 | 2022-03-02 | 58.11 | 57.45 | -1.14% | Indicator exit |
| 2022-03-03 | 2022-04-08 | 59.41 | 59.02 | -0.67% | Fixed / trailing stop |
| 2022-05-05 | 2022-05-10 | 59.57 | 58.06 | -2.54% | Indicator exit |
| 2022-05-16 | 2022-05-19 | 58.57 | 55.80 | -4.72% | Gap below stop |
| 2022-05-31 | 2022-06-13 | 58.49 | 52.77 | -9.77% | Gap below stop |
| 2022-08-26 | 2022-08-29 | 54.88 | 52.00 | -5.25% | Indicator exit |
| 2023-03-01 | 2023-04-27 | 59.40 | 61.59 | 3.68% | Indicator exit |
| 2023-05-01 | 2023-05-03 | 62.65 | 61.68 | -1.55% | Indicator exit |
| 2023-05-08 | 2023-08-10 | 62.98 | 85.31 | 35.46% | Indicator exit |
| 2023-08-22 | 2023-09-07 | 87.34 | 84.91 | -2.79% | Fixed / trailing stop |
| 2023-09-15 | 2023-09-21 | 86.82 | 79.61 | -8.3% | Gap below stop |
| 2023-10-09 | 2023-10-26 | 84.05 | 83.32 | -0.87% | Fixed / trailing stop |
| 2023-11-03 | 2023-12-01 | 87.62 | 91.61 | 4.55% | Fixed / trailing stop |
| 2023-12-04 | 2023-12-07 | 92.06 | 90.67 | -1.51% | Indicator exit |
| 2023-12-11 | 2024-01-04 | 95.70 | 105.52 | 10.26% | Fixed / trailing stop |
| 2024-01-09 | 2024-03-11 | 106.56 | 127.79 | 19.92% | Gap below stop |
| 2024-03-21 | 2024-04-18 | 132.83 | 128.80 | -3.04% | Indicator exit |
| 2024-04-26 | 2024-05-02 | 131.00 | 125.77 | -3.99% | Indicator exit |
| 2024-05-07 | 2024-05-31 | 131.88 | 132.13 | 0.19% | Fixed / trailing stop |
| 2024-06-06 | 2024-06-21 | 142.19 | 168.26 | 18.33% | Fixed / trailing stop |
| 2024-07-24 | 2024-07-25 | 160.61 | 150.96 | -6.01% | Indicator exit |
| 2024-08-01 | 2024-08-02 | 157.50 | 141.67 | -10.05% | Gap below stop |
| 2024-08-14 | 2024-09-03 | 158.18 | 154.29 | -2.46% | Fixed / trailing stop |
| 2024-09-12 | 2024-10-24 | 158.10 | 171.07 | 8.21% | Fixed / trailing stop |
| 2024-10-30 | 2024-11-01 | 177.51 | 168.26 | -5.21% | Indicator exit |
| 2024-11-06 | 2024-11-15 | 179.30 | 168.47 | -6.04% | Gap below stop |
| 2024-12-05 | 2024-12-18 | 170.76 | 230.00 | 34.69% | Fixed / trailing stop |
| 2025-02-05 | 2025-02-21 | 233.94 | 217.44 | -7.05% | Fixed / trailing stop |
| 2025-08-25 | 2025-09-19 | 292.78 | 340.00 | 16.13% | Fixed / trailing stop |
| 2025-10-02 | 2025-10-13 | 347.61 | 353.10 | 1.58% | Indicator exit |
| 2025-10-14 | 2025-11-04 | 350.11 | 355.10 | 1.43% | Fixed / trailing stop |
| 2025-11-06 | 2025-11-14 | 360.10 | 331.51 | -7.94% | Indicator exit |
| 2025-11-20 | 2025-11-21 | 366.00 | 336.72 | -8% | Fixed / trailing stop |
| 2025-11-25 | 2025-12-03 | 385.01 | 370.72 | -3.71% | Fixed / trailing stop |
| 2026-01-13 | 2026-01-15 | 352.91 | 349.13 | -1.07% | Indicator exit |
| 2026-01-20 | 2026-01-21 | 344.10 | 335.50 | -2.5% | Indicator exit |
| 2026-02-10 | 2026-02-17 | 347.34 | 320.00 | -7.87% | Indicator exit |
| 2026-04-08 | 2026-06-04 | 352.12 | 408.99 | 16.15% | Gap below stop |
| 2026-06-22 | 2026-06-23 | 413.75 | 378.24 | -8.58% | Gap below stop |
| 2026-07-09 | 2026-07-17 | 402.28 | 366.33 | -8.94% | Gap below stop |
| 2026-07-23 | 2026-07-30 | 392.12 | 380.72 | -2.91% | Indicator exit |
| 2026-07-31 | 2026-08-14 | 394.83 | 393.54 | -0.33% | 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-03 22:11:50 UTC. Engine: 3.1. Data: AVGO, 2016-02-02–2026-10-01.
Dataset fingerprint
9b331dc655df7e61ae8290e6404c7491b8ddf107adfaea33ccf6a777cbeea596Related 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.