Custom Search

buyupside

free stock market info

Stock Price Cycles: Gains and Losses

Stock Price Cycles: Gains and Losses

This calculator conducts a detailed analysis of repeated price upsides and downsides (price cycles) for any stock, exchange-traded fund (ETF) or mutual fund supported by Alpha Vantage. Indexes are not supported.

The Monthly Return Period gives a broad overview of the price cycles while the Weekly Return Period gives more detail.

This calculator is not intended as a short-term trading tool so daily prices are not included.

Many investors could benefit from examining where current prices stand with respect to peak and trough prices if they intend to buy or sell their stock.

Log Adjusted Closing Prices (Splits & Dividends) are particularly useful for multi-year periods of analysis.

Cycle Threshold Sensitivity (%) Min Swing values define the minimum percentage price change required to reverse a trend line or plot a new pivot point. It filters out minor market noise by ignoring moves smaller than the chosen threshold. Smaller swing values generate more price cycles than larger values.

This calculator was generated in part by Gemini-3.

Input Variables
Stock Symbol:
Start Month / Year:
End Month / Year:
Price Type:
Return Period:
Display Cycle Number on Price Chart:
Cycle Threshold Sensitivity (%):
Reset Form

Cycle Duration Analysis: Upsides vs. Downsides

Cycle Duration Summary Metrics
Average Upside Duration: 91.5 days (3.0 months)
Average Downside Duration: 133.0 days (4.4 months)
Max Upside Duration: 184 days
Min Upside Duration: 29 days
Max Downside Duration: 426 days
Min Downside Duration: 30 days
Total Time Spent in Upside Phases: 732 days (40.8%)
Total Time Spent in Downside Phases: 1,064 days (59.2%)
Upside to Downside Duration Ratio: 0.69x (Days Upside / Days Downside)

Cycle Return Performance Analysis (Returns)

Upside Phase Returns (Highest to Lowest Gain)
Rank Cycle#
Chart
Timeframe Gain (%) Days
1 Cycle 8 2026-02-27 → 2026-06-30
Peak Price: $580.91
+190.15% 123
2 Cycle 7 2025-04-30 → 2025-10-31
Peak Price: $256.12
+163.09% 184
3 Cycle 6 2023-10-31 → 2024-02-29
Peak Price: $192.53
+95.46% 121
4 Cycle 5 2022-12-30 → 2023-05-31
Peak Price: $118.21
+82.51% 152
5 Cycle 1 2021-09-30 → 2021-11-30
Peak Price: $158.37
+53.91% 61
6 Cycle 4 2022-10-31 → 2022-11-30
Peak Price: $77.63
+29.25% 30
7 Cycle 3 2022-06-30 → 2022-07-29
Peak Price: $94.47
+23.54% 29
8 Cycle 2 2022-04-29 → 2022-05-31
Peak Price: $101.86
+19.11% 32
Downside Phase Returns (Highest to Lowest Return)
Rank Cycle#
Chart
Timeframe Loss (%) Days
1 Cycle 4 2022-11-30 → 2022-12-30
Peak Price: $77.63
-16.57% 30
2 Cycle 5 2023-05-31 → 2023-10-31
Peak Price: $118.21
-16.67% 153
3 Cycle 8 2026-06-30 → 2026-08-31 (Ongoing)
Peak Price: $580.91
-18.97% 62
4 Cycle 7 2025-10-31 → 2026-02-27
Peak Price: $256.12
-21.83% 119
5 Cycle 2 2022-05-31 → 2022-06-30
Peak Price: $101.86
-24.93% 30
6 Cycle 3 2022-07-29 → 2022-10-31
Peak Price: $94.47
-36.42% 94
7 Cycle 1 2021-11-30 → 2022-04-29
Peak Price: $158.37
-46.00% 150
8 Cycle 6 2024-02-29 → 2025-04-30
Peak Price: $192.53
-49.44% 426

Cycle Return Performance Analysis (Durations)

Upside Phase Durations (Longest to Shortest)
Rank Cycle#
Chart
Timeframe Days Gain (%)
1 Cycle 7 2025-04-30 → 2025-10-31
Peak Price: $256.12
184 +163.09%
2 Cycle 5 2022-12-30 → 2023-05-31
Peak Price: $118.21
152 +82.51%
3 Cycle 8 2026-02-27 → 2026-06-30
Peak Price: $580.91
123 +190.15%
4 Cycle 6 2023-10-31 → 2024-02-29
Peak Price: $192.53
121 +95.46%
5 Cycle 1 2021-09-30 → 2021-11-30
Peak Price: $158.37
61 +53.91%
6 Cycle 2 2022-04-29 → 2022-05-31
Peak Price: $101.86
32 +19.11%
7 Cycle 4 2022-10-31 → 2022-11-30
Peak Price: $77.63
30 +29.25%
8 Cycle 3 2022-06-30 → 2022-07-29
Peak Price: $94.47
29 +23.54%
Downside Phase Durations (Longest to Shortest)
Rank Cycle#
Chart
Timeframe Days Loss (%)
1 Cycle 6 2024-02-29 → 2025-04-30
Peak Price: $192.53
426 -49.44%
2 Cycle 5 2023-05-31 → 2023-10-31
Peak Price: $118.21
153 -16.67%
3 Cycle 1 2021-11-30 → 2022-04-29
Peak Price: $158.37
150 -46.00%
4 Cycle 7 2025-10-31 → 2026-02-27
Peak Price: $256.12
119 -21.83%
5 Cycle 3 2022-07-29 → 2022-10-31
Peak Price: $94.47
94 -36.42%
6 Cycle 8 2026-06-30 → 2026-08-31 (Ongoing)
Peak Price: $580.91
62 -18.97%
7 Cycle 2 2022-05-31 → 2022-06-30
Peak Price: $101.86
30 -24.93%
8 Cycle 4 2022-11-30 → 2022-12-30
Peak Price: $77.63
30 -16.57%