AVGO RSI(14) Crossover Backtest

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%.

Modify this strategy
Total return51.26%
Profit factor1.16
Longest losing streak8 trades
Best closed trade35.46%
Worst closed trade-10.05%
Longest drawdown duration1321 calendar days
Ending equity$15,126.03
Closed trades83
Win rate30.1%
Average winner12.5%
Average loser-4.08%
Average holding period18.1 sessions
Time invested56.17% 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

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

YearStrategyBuy and holdClosed tradesWorst ongoing drawdown
2016 (partial)-11.74%30.45%619.99%
201720.05%45.33%921.11%
2018-16.52%-1.02%630.5%
20191.94%24.28%733.57%
202031.09%38.55%435.11%
202128.82%51.97%715.25%
2022-32.98%-15.97%833.86%
202346.76%99.64%833.91%
202433.94%107.7%1327.01%
2025-9.31%49.28%724.97%
2026 (partial)-16.85%0.22%839.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
EntryExitEntry $Exit $ReturnReason
2016-06-242016-06-2715.2014.65-3.62%Indicator exit
2016-06-302016-09-0815.5016.848.64%Indicator exit
2016-09-162016-09-2617.2416.52-4.2%Indicator exit
2016-09-282016-10-3117.1817.00-1.04%Indicator exit
2016-11-032016-11-1117.2516.75-2.87%Indicator exit
2016-11-222016-12-0117.3716.29-6.22%Fixed / trailing stop
2016-12-092017-04-1318.1120.9215.53%Indicator exit
2017-04-212017-06-2821.7423.668.82%Indicator exit
2017-06-292017-06-3023.8723.63-1.02%Indicator exit
2017-07-102017-08-1124.0524.03-0.1%Indicator exit
2017-08-152017-08-2925.2224.13-4.33%Indicator exit
2017-09-012017-09-1125.2324.70-2.13%Indicator exit
2017-09-182017-09-2125.1224.20-3.65%Indicator exit
2017-10-092017-12-0424.6026.196.44%Fixed / trailing stop
2017-12-182017-12-2726.4125.92-1.84%Indicator exit
2018-01-032018-01-2526.7325.77-3.57%Indicator exit
2018-03-122018-03-1926.0724.63-5.5%Fixed / trailing stop
2018-09-102018-10-1123.4723.20-1.15%Indicator exit
2018-10-172018-10-1923.9723.00-4.06%Indicator exit
2018-11-162018-12-0623.3822.27-4.75%Fixed / trailing stop
2018-12-112018-12-2424.3523.76-2.39%Fixed / trailing stop
2018-12-272019-01-0324.4723.39-4.41%Fixed / trailing stop
2019-01-102019-03-0824.5626.166.51%Indicator exit
2019-03-142019-05-0927.2129.9610.09%Indicator exit
2019-06-272019-07-0828.2927.63-2.31%Fixed / trailing stop
2019-07-152019-08-0229.1327.95-4.05%Fixed / trailing stop
2019-08-142019-08-1527.8827.20-2.44%Indicator exit
2019-08-302019-09-2528.5527.18-4.8%Gap below stop
2019-10-282020-01-0929.1231.237.27%Indicator exit
2020-01-232020-02-0331.5230.65-2.77%Indicator exit
2020-02-062020-02-2431.8829.42-7.73%Gap below stop
2020-05-192020-09-2127.3534.5026.13%Fixed / trailing stop
2020-11-052021-02-2637.3646.7525.16%Indicator exit
2021-03-012021-03-0447.9945.04-6.14%Fixed / trailing stop
2021-03-162021-04-2047.1346.00-2.39%Indicator exit
2021-04-272021-04-2947.3746.79-1.23%Indicator exit
2021-05-212021-08-1945.8046.571.67%Indicator exit
2021-08-242021-09-3048.2449.452.5%Indicator exit
2021-10-082021-10-1349.6848.12-3.15%Indicator exit
2021-10-152022-01-0750.3862.0323.13%Fixed / trailing stop
2022-02-022022-02-2459.8255.16-7.79%Gap below stop
2022-02-282022-03-0258.1157.45-1.14%Indicator exit
2022-03-032022-04-0859.4159.02-0.67%Fixed / trailing stop
2022-05-052022-05-1059.5758.06-2.54%Indicator exit
2022-05-162022-05-1958.5755.80-4.72%Gap below stop
2022-05-312022-06-1358.4952.77-9.77%Gap below stop
2022-08-262022-08-2954.8852.00-5.25%Indicator exit
2023-03-012023-04-2759.4061.593.68%Indicator exit
2023-05-012023-05-0362.6561.68-1.55%Indicator exit
2023-05-082023-08-1062.9885.3135.46%Indicator exit
2023-08-222023-09-0787.3484.91-2.79%Fixed / trailing stop
2023-09-152023-09-2186.8279.61-8.3%Gap below stop
2023-10-092023-10-2684.0583.32-0.87%Fixed / trailing stop
2023-11-032023-12-0187.6291.614.55%Fixed / trailing stop
2023-12-042023-12-0792.0690.67-1.51%Indicator exit
2023-12-112024-01-0495.70105.5210.26%Fixed / trailing stop
2024-01-092024-03-11106.56127.7919.92%Gap below stop
2024-03-212024-04-18132.83128.80-3.04%Indicator exit
2024-04-262024-05-02131.00125.77-3.99%Indicator exit
2024-05-072024-05-31131.88132.130.19%Fixed / trailing stop
2024-06-062024-06-21142.19168.2618.33%Fixed / trailing stop
2024-07-242024-07-25160.61150.96-6.01%Indicator exit
2024-08-012024-08-02157.50141.67-10.05%Gap below stop
2024-08-142024-09-03158.18154.29-2.46%Fixed / trailing stop
2024-09-122024-10-24158.10171.078.21%Fixed / trailing stop
2024-10-302024-11-01177.51168.26-5.21%Indicator exit
2024-11-062024-11-15179.30168.47-6.04%Gap below stop
2024-12-052024-12-18170.76230.0034.69%Fixed / trailing stop
2025-02-052025-02-21233.94217.44-7.05%Fixed / trailing stop
2025-08-252025-09-19292.78340.0016.13%Fixed / trailing stop
2025-10-022025-10-13347.61353.101.58%Indicator exit
2025-10-142025-11-04350.11355.101.43%Fixed / trailing stop
2025-11-062025-11-14360.10331.51-7.94%Indicator exit
2025-11-202025-11-21366.00336.72-8%Fixed / trailing stop
2025-11-252025-12-03385.01370.72-3.71%Fixed / trailing stop
2026-01-132026-01-15352.91349.13-1.07%Indicator exit
2026-01-202026-01-21344.10335.50-2.5%Indicator exit
2026-02-102026-02-17347.34320.00-7.87%Indicator exit
2026-04-082026-06-04352.12408.9916.15%Gap below stop
2026-06-222026-06-23413.75378.24-8.58%Gap below stop
2026-07-092026-07-17402.28366.33-8.94%Gap below stop
2026-07-232026-07-30392.12380.72-2.91%Indicator exit
2026-07-312026-08-14394.83393.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 fingerprint9b331dc655df7e61ae8290e6404c7491b8ddf107adfaea33ccf6a777cbeea596

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.