← Writing
Technical Thoughts

A Turtle Trend Rule on TQQQ, QQQ and Gold: 27 Years of Backtest Results

17 November 2026 · 10 min read


What this is: analytical working, published for education. It is a hypothetical backtest on historical prices, not a live account, and past results do not describe future ones. Nothing here is a recommendation or investment advice, and the funds named are worked examples of a method. Parts of this analysis were produced with AI assistance; if you spot an error, tell us.

Disclosure: the author holds long positions in TQQQ, QQQ and GLD.


The Turtle-TQQQ algo, a simple trend rule that holds TQQQ only in calm uptrends, QQQ when the trend is up but choppy, gold when stocks are down, and cash otherwise, returned 13.7% a year from December 1999 to November 2026. SPY returned 8.2% a year over the same period. Its worst fall was −50.1%, against −55.2% for SPY. The drawdown control holds up under testing. The extra return does not yet pass a statistical test, and most of it came after 2010.

Where the Turtle-TQQQ algo comes from

The algo combines two published ideas.

  • The 200-day average as a leverage switch. Michael Gayed and Charles Bilello's paper Leverage for the Long Run (2016, SSRN 2741701) tested holding leveraged S&P 500 exposure only while the index was above its 200-day moving average. Leveraged funds lose most in volatile, falling markets. Staying out below the 200-day average avoids much of that period.
  • The Turtle breakout. In 1983 Richard Dennis and William Eckhardt taught a group of new traders two breakout systems. System 2 enters when price closes above its 55-day high and exits when it closes below its 20-day low. A TradingView script by RevelioYT, which plots these breakouts, prompted us to test it.

How the Turtle-TQQQ algo picks a holding

After each US close, four conditions are checked in order. The first one met sets the holding.

HoldingConditionsShown on levelbox.ai as
TQQQ (3x Nasdaq-100)QQQ above its 200-day average, QQQ's 55/20 Turtle breakout is on, and QQQ's 20-day realised volatility is under 25%Calm uptrend
QQQQQQ above its 200-day average and its Turtle breakout is on, but volatility is 25% or higherChoppy uptrend
GLD (gold)QQQ fails its checks, and GLD is above its own 200-day average with its own Turtle breakout onGold uptrend
Cash (3-month T-bills)None of the aboveNo uptrend

The market regime read on levelbox.ai shows the current state as a Turtle line, using these four labels.

How the test was run

  • The switch happens at the next day's close. Trading at the signal's own close would assume a price you have not seen yet.
  • Every switch costs 0.05% per side. A switch between two funds counts as two sides.
  • TQQQ started trading on 11 February 2010. Before that we simulate it as 3x QQQ's daily return, minus the cost of borrowing, the 0.95% fee and a further 1.84% a year. That 1.84% is the gap we measured between real TQQQ and the simulation after 2010.
  • GLD prices start on 18 November 2004, so before that date the gold step is not available and the algo holds cash instead.
  • The test starts on 21 December 1999, the first day all of QQQ's signals have enough history.

Results, December 1999 to November 2026

Return a yearVolatilitySharpeWorst fallWorst year
Turtle-TQQQ algo13.7%31.3%0.51−50.1%2011: −22.0%
Same algo with QQQ in place of TQQQ7.5%14.4%0.44−35.5%2000: −8.2%
SPY, held throughout8.2%19.2%0.41−55.2%2008: −36.8%
QQQ, held throughout8.5%26.8%0.37−83.0%2008: −41.7%
QQQ above its 200-day average, else cash9.0%17.2%0.48−41.9%2022: −18.9%
TQQQ, held throughout−3.2%79.9%0.34−100.0%2000: −91.7%

Time spent in each holding: TQQQ 42%, QQQ 3%, gold 14%, cash 41%. The algo switched 257 times in 27 years, about ten times a year, and the typical holding lasted 16 trading days.

  • TQQQ held throughout went to zero. The simulated fund lost 100% in the 2000–2002 crash. Real TQQQ fell 81.7% from its late-2021 peak to its 2022 low. Held without an exit, a 3x fund can lose almost everything in a falling market.
  • The same algo without leverage lagged SPY, at 7.5% a year against 8.2%. The trend checks alone cut risk. They did not add return. The extra return came from holding 3x exposure while markets were calm and rising.
  • The algo is out of the market often. It was in cash 41% of the time. It missed some rallies before the trend checks turned positive.

Results since 2021

Return a yearWorst fallWorst year
Turtle-TQQQ algo25.3%−27.7%2022: −12.9%
SPY14.2%−24.5%2022: −18.2%
QQQ14.7%−35.1%2022: −32.6%
TQQQ, held throughout18.2%−81.7%2022: −79.1%

In 2022 the Turtle-TQQQ algo lost 12.9% while TQQQ lost 79.1%. It held cash and gold after QQQ fell below its 200-day average.

The extra return is not statistically proven

We tested it three ways.

1. Leverage alone. On average the algo held about 1.3 times QQQ plus 0.14 of gold. Holding that same mix every day returned 8.9% a year with a worst fall of −91.7%. The algo returned 13.7% with a worst fall of −50.1%. So the timing added about 4.8 points a year over plain leverage and roughly halved the worst fall.

2. Regression. We regressed the algo's daily excess returns on its benchmarks, with standard errors that allow for autocorrelation. A t-statistic of 2 is the usual bar for 95% confidence.

BenchmarkAlpha a yeart-statistic
SPY+11.3%2.07
QQQ+11.3%2.11
QQQ and gold together+9.0%1.70

Against the two funds the algo actually trades, the t-statistic is below 2. A fixed regression also tends to overstate alpha for an algo whose exposure swings between 3x and zero.

3. Bootstrap. We rebuilt the 27 years 2,000 times from random 12-month blocks of history. The algo's yearly edge over SPY had a median of +5.0 points, with a 95% range from −2.7 to +12.5 points. Against the same leverage held constantly, the median was +4.1 points with a range from −5.5 to +16.1. Both ranges include zero.

Limits of this test

  • Most of the edge came after 2010. Measured against QQQ and gold, alpha was +1.9% a year before 2010 (t-statistic 0.2), +5.6% from 2010 to 2020 and +13.2% since 2021. That is largely one long Nasdaq bull market.
  • Choosing QQQ is hindsight. The Nasdaq-100 is the index that did best over this period. The same algo on a weaker index would very likely look worse.
  • Before 2010 TQQQ is simulated. Removing the 1.84% extra cost changes the yearly return from 13.7% to 13.9%. The simulation cannot capture fund closures, trading halts or a gap larger than 33% in one day, which would wipe out a 3x fund.
  • The algo checks once a day. A crash that starts between closes is taken at full 3x exposure until the next close.
  • Trading costs and taxes vary. The test uses 0.05% per side. Singapore investors in US-listed funds also face 30% US withholding tax on dividends, which this test ignores.
  • Dropping one year moves the result. Removing any single calendar year leaves the edge over SPY between +3.5 points (without 2017) and +6.8 points (without 2011).

The drawdown control is clear in the data. The extra return is suggestive but unproven.

Our view of the Turtle-TQQQ algo

The Turtle rules are among the best-known trend-following systems. They were taught in 1983 and are still widely studied. Our combination of them with TQQQ gave a modest risk-adjusted result. Its Sharpe ratio of 0.51 is a little above SPY's 0.41, and its volatility of 31.3% a year is high. It may have some alpha, but the tests above do not prove it. Read it as a worked example of how to test a trend rule. It is not a strategy we suggest anyone copy.

For individual stocks, the levelbox.ai screener ranks cash-secured put candidates by investment theme, with the breakeven and the most you can lose on every row.

We will publish more tests of trading algos on this blog. If you build or research trading algos and would like to work with us, contact us.

Market narratives on levelbox.ai

Market narratives are now live on the Signals page for logged-in users. The page tracks ten stories the market is trading. Each one gets a status from the price moves of its shares.

Statuses are set from each basket's own returns and from SPY.

StatusWhat it means
Falling hardThe group's shares are down over 3 months and either down 20% or more over 3 months, or 35% or more below their high
WeakeningThe group's shares are down over the past month and behind SPY over that month
RecoveringWithin a month of falling hard or weakening, the group's shares are up more than 5% over the month, with at least half of them above their 50-day average
RisingThe group's shares are up over 3 months, ahead of SPY over 3 months, not down over the month, and less than 15% below their high
Turning upThe group's shares are up over the month and ahead of SPY, while still flat or down over 3 months
FlatNone of the above

A status changes only after the new reading holds for four sessions in a row. One noisy day does not change it. Each status shows the date it started.

The table shows the ten at the close on 16 November 2026. SPY was down 3% over 3 months and 3% over 1 month.

NarrativeStatusSince3 months1 month
Neocloud GPU rentalFalling hard11 Aug−49%−23%
Critical minerals reshoringFalling hard10 Jul−48%−23%
Memory and HBM shortageFalling hard19 Oct−40%−23%
Nuclear and small modular reactorsFalling hard2 Sep−40%−18%
AI infrastructure stocksFalling hard10 Nov−22%−15%
Robotaxi and self-drivingWeakening11 Sep−21%−6%
AI power and gridWeakening9 Nov−8%−7%
AI agents against seat-based softwareWeakening11 Nov−3%−9%
Cybersecurity and AIWeakening21 Oct−2%−7%
Crypto treasury companiesWeakening21 Oct+8%−25%

Five of the ten are falling hard. None of the ten is rising. Robotaxi and self-driving is down 21% over 3 months but still reads Weakening, because a new status shows only after it holds for four sessions. Tesla is in the robotaxi group, and its shares move on much more than robotaxi news.

A narrative status describes what has happened to a group of share prices. It does not say whether the story is true. It does not forecast where the shares go next. We use it as background to the market regime. When most of the market's favourite stories fall at once, that shows how crowded the trades were. If you hold shares or sell puts on names in one of these groups, a "Falling hard" status is a reason to review your own position more closely.

See the narratives on the Signals page. For how we read the overall market backdrop, see how market regime changes the wheel.

Summary

  • The Turtle-TQQQ algo, a Turtle and 200-day rule across TQQQ, QQQ, gold and cash, returned 13.7% a year from 1999 to 2026, against 8.2% for SPY, with a −50.1% worst fall.
  • The drawdown control is clear. The extra return is not statistically proven and depends heavily on the years after 2010.
  • Leveraged funds held without a rule can lose almost everything. TQQQ held throughout lost 100% in the simulated 2000–2002 crash and 81.7% from late 2021 to the 2022 low.
  • Our ten market narratives show five AI-linked groups falling hard as of 16 November 2026.

This is a backtest and a description of market data. It is not advice to buy or sell any fund or share.

Share this article

Common questions

Does a 200-day moving average rule work on TQQQ?
In our backtest from December 1999 to November 2026, the Turtle-TQQQ algo, which held TQQQ only when QQQ was above its 200-day average, in a 55-day Turtle breakout, and calm (20-day volatility under 25%), returned 13.7% a year against SPY's 8.2%. Its worst fall was −50.1% against SPY's −55.2%. Holding TQQQ throughout fell 100% in the 2000–2002 crash (simulated) and 81.7% from its late-2021 peak to the 2022 low (real). The return gap over SPY is not statistically proven: a bootstrap range for the yearly edge runs from −2.7 to +12.5 points.
What is the Turtle trading System 2?
It is the slower of the two breakout systems taught to the Turtle traders in 1983. You enter when price closes above its highest level of the past 55 days and exit when it closes below its lowest level of the past 20 days. Our version uses daily closes only.
Is the Turtle-TQQQ algo's extra return alpha or just leverage?
Mostly timing, on our numbers, but the evidence is weak. On average the Turtle-TQQQ algo held about 1.3 times QQQ plus some gold. Holding that same mix all the time returned 8.9% a year with a −91.7% worst fall. The algo returned 13.7% with a −50.1% worst fall. A regression against QQQ and gold gives about +9% a year of alpha with a t-statistic of 1.7, below the usual bar of 2.
What are market narratives on levelbox.ai?
Ten stories the market is trading, such as AI infrastructure stocks or nuclear and small modular reactors. Each one tracks a basket of shares and gets a status from its price moves: Falling hard, Recovering, Weakening, Rising, Turning up or Flat. They are on the Signals page for logged-in users and describe what prices have done. They are not buy or sell calls.

Read next