Long-term breakout entry with a faster channel exit to let large trends run.
No AI qualification submitted
This strategy keeps its course or research provenance. A normal backtest snapshot cannot award the AI-generated label.
How the strategy works
A 55-day high confirms a long-term breakout. The position stays open until a faster 20-day low is broken, so small losses can occur often while rare extended trends contribute most profits.
Concrete example
SPY's prior 55-day high is 610. A move through 610 enters long; weeks later, if the prior 20-day low is 596 and price breaks it, the strategy exits near 596.
Published research
Hurst, Ooi & Pedersen — A Century of Evidence on Trend Following
Published evidence motivates this candidate; it does not guarantee this implementation will pass our current sample.
Exact algorithm
- Enter long above the previous 55-session high.
- Fill gaps at the session open when necessary.
- Stay long until price breaks the previous 20-session low.
- Use one position at a time.
Required data: ohlcv
Where it may work—and where it can fail
Main risks
- Low hit rates are normal
- Range-bound markets cause whipsaws
- Gap fills can differ greatly from channel levels
- Long-only SPY omits diversified futures opportunities
“Best conditions” is an interpretation of the strategy's mechanism, not an additional course entry rule and not a performance guarantee.
Forward paper transactions
| Entry | Side | Entry price | Exit | Exit price | Capital basis | Gross notional | Outcome | P&L |
|---|---|---|---|---|---|---|---|---|
| No forward-paper transactions yet. The ledger began at deployment and never imports historical P&L. | ||||||||
Capital basis is allocated paper equity. Gross notional uses the exposure stored with that exact fill; legacy fills with no recorded exposure are shown as unknown. A new semantic paper generation archives the prior run and restarts the forward clock.
Archived paper versions
Read-only prior runs preserve their executable manifest, balances, and fills. They never contribute to the active clock, cash, or qualification.
| Version | Market | Exposure | Allocation | Cost | Code hash | Started | Archived | Fills | Starting cash | Ending cash | Realized P&L | Final status |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| legacy-v1 | unknown · unknown | unknown | unknown | unknown | legacy | 2026-08-16T16:54:09.212635+00:00 | 2026-08-16T22:55:46.697046+00:00 | 0 | $100,000.00 | $100,000.00 | $+0.00 | running |
Rolling 70/30 diagnostic
This moving 70/30 split is a dashboard diagnostic, not frozen qualification evidence. It cannot award AI-qualified status.
Candles and execution signals
Shows the latest 120 available bars. BUY/SELL marks strategy entries and exits whose timestamps fall in this visible window.
Historical equity curve
Compounds each encoded net trade sequentially, including the strategy's declared exposure and modeled costs. The forward ledger starts only after deployment.
Backtest specification
This SPY long-only test is a constrained expression of diversified trend following.
Historical transactions
HIT = profitable after the 4 bps cost assumption; MISS = loss after costs; FLAT = break-even. Showing the most recent 100 of 30 transactions.
| Entry | Side | Entry price | Exit | Exit price | Outcome | Net return |
|---|---|---|---|---|---|---|
| 2026-08-04 00:00:00+00:00 | LONG | 760.63 | 2026-09-01 00:00:00+00:00 | 760.52 | MISS | -0.054% |
| 2026-04-15 00:00:00+00:00 | LONG | 697.84 | 2026-06-09 00:00:00+00:00 | 731.53 | HIT | +4.788% |
| 2025-12-24 00:00:00+00:00 | LONG | 689.70 | 2026-02-05 00:00:00+00:00 | 676.57 | MISS | -1.944% |
| 2025-10-24 00:00:00+00:00 | LONG | 676.46 | 2025-11-18 00:00:00+00:00 | 661.21 | MISS | -2.294% |
| 2025-06-03 00:00:00+00:00 | LONG | 595.54 | 2025-10-10 00:00:00+00:00 | 654.30 | HIT | +9.827% |
| 2025-01-23 00:00:00+00:00 | LONG | 609.07 | 2025-02-25 00:00:00+00:00 | 590.49 | MISS | -3.091% |
| 2024-09-17 00:00:00+00:00 | LONG | 565.16 | 2024-12-20 00:00:00+00:00 | 581.77 | HIT | +2.899% |
| 2024-05-15 00:00:00+00:00 | LONG | 525.83 | 2024-07-24 00:00:00+00:00 | 542.44 | HIT | +3.119% |
| 2023-11-20 00:00:00+00:00 | LONG | 453.67 | 2024-04-15 00:00:00+00:00 | 508.12 | HIT | +11.962% |
| 2023-05-18 00:00:00+00:00 | LONG | 417.62 | 2023-08-10 00:00:00+00:00 | 444.96 | HIT | +6.507% |
| 2023-04-28 00:00:00+00:00 | LONG | 415.72 | 2023-05-04 00:00:00+00:00 | 403.78 | MISS | -2.912% |
| 2023-02-01 00:00:00+00:00 | LONG | 410.49 | 2023-02-24 00:00:00+00:00 | 395.42 | MISS | -3.711% |
| 2022-11-30 00:00:00+00:00 | LONG | 403.10 | 2022-12-15 00:00:00+00:00 | 390.14 | MISS | -3.255% |
| 2022-08-08 00:00:00+00:00 | LONG | 417.44 | 2022-08-26 00:00:00+00:00 | 406.77 | MISS | -2.596% |
| 2021-12-27 00:00:00+00:00 | LONG | 473.54 | 2022-01-20 00:00:00+00:00 | 451.46 | MISS | -4.703% |
| 2021-10-22 00:00:00+00:00 | LONG | 454.05 | 2021-11-30 00:00:00+00:00 | 457.77 | HIT | +0.779% |
| 2021-06-04 00:00:00+00:00 | LONG | 422.82 | 2021-09-20 00:00:00+00:00 | 434.88 | HIT | +2.812% |
| 2021-03-11 00:00:00+00:00 | LONG | 394.17 | 2021-05-11 00:00:00+00:00 | 410.59 | HIT | +4.126% |
| 2020-11-09 00:00:00+00:00 | LONG | 363.97 | 2021-03-04 00:00:00+00:00 | 378.23 | HIT | +3.878% |
| 2020-05-26 00:00:00+00:00 | LONG | 301.93 | 2020-09-10 00:00:00+00:00 | 332.88 | HIT | +10.211% |
| 2019-10-28 00:00:00+00:00 | LONG | 302.94 | 2020-02-25 00:00:00+00:00 | 320.73 | HIT | +5.832% |
| 2019-09-12 00:00:00+00:00 | LONG | 302.23 | 2019-10-02 00:00:00+00:00 | 291.50 | MISS | -3.590% |
| 2019-06-20 00:00:00+00:00 | LONG | 296.04 | 2019-08-01 00:00:00+00:00 | 295.20 | MISS | -0.324% |
| 2019-02-25 00:00:00+00:00 | LONG | 280.73 | 2019-05-07 00:00:00+00:00 | 286.70 | HIT | +2.087% |
| 2018-07-13 00:00:00+00:00 | LONG | 279.48 | 2018-10-05 00:00:00+00:00 | 286.71 | HIT | +2.547% |
| 2018-06-05 00:00:00+00:00 | LONG | 275.39 | 2018-06-28 00:00:00+00:00 | 269.10 | MISS | -2.324% |
| 2017-09-11 00:00:00+00:00 | LONG | 248.91 | 2018-02-05 00:00:00+00:00 | 271.95 | HIT | +9.216% |
| 2017-07-14 00:00:00+00:00 | LONG | 245.01 | 2017-08-10 00:00:00+00:00 | 243.76 | MISS | -0.550% |
| 2017-05-15 00:00:00+00:00 | LONG | 240.32 | 2017-06-29 00:00:00+00:00 | 241.31 | HIT | +0.372% |
| 2017-01-25 00:00:00+00:00 | LONG | 228.70 | 2017-03-21 00:00:00+00:00 | 235.41 | HIT | +2.894% |