Learn › Strategies › SMA-200 Trend + 15% Trailing Stop › SGOV

SMA-200 Trend + 15% Trailing Stop on SGOV

iShares 0-3 Month Treasury Bond ETF: T-bills, often used as the cash leg of rotation strategies. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies.

Result: trend + trailing stop on SGOV turned $10,000 into $11,993 (19.9% total, 3.2% CAGR): it beat buy-and-hold by 0.0% per year, with a maximum drawdown of 0.0% (buy-and-hold: 0.0%).

The trend rule with a 15% trailing stop made one trade on SGOV in the whole test, and the trade never closed. It bought on 2021-10-19 and was still holding on 2026-10-02. From $10,000 the account reached $11,993.45, a CAGR of 3.22% and a total return of 19.93%. Buy-and-hold on the same fund ended at $11,995.79, also a CAGR of 3.22%, with a total return of 19.96%. The two runs are $2.34 apart. The maximum drawdown was 0.02% for both, and the yearly returns match to the decimal in every year.

The rule has two parts. It buys at an open when the prior close is above the 200-day simple average, using 98% of the sleeve. Once invested, a trailing stop follows 15% below the position's high-water mark and nothing else sells it. SGOV is the iShares 0-3 Month Treasury Bond ETF, a fund of Treasury bills that is often used as the cash leg of rotation strategies. Its deepest fall in the window was 0.02%. A stop set 15% below the high can never fire on a fund that moves like that, so the strategy became buy-and-hold with a delayed start.

That makes this page different from the ones for stocks and long bonds. There are no trades to compare, no losing streak and no whipsaw. What the data shows is how a trend filter and a wide stop behave on a fund with almost no price risk, what the entry delay cost, and why the numbers that usually separate strategies, such as the Sharpe ratio and the drawdown, say little here. The test is one window of 1,444 sessions, with fills on minute bars and no fees in the headline run.

3.2%CAGR
3.2%buy & hold CAGR
−0.0%max drawdown
14.13Sharpe ratio
0round trips
■ trend + trailing stop   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

Yeartrend + trailing stopbuy & hold
20210.0%0.0%
20221.5%1.5%
20235.0%5.0%
20245.2%5.2%
20254.1%4.1%
20262.7%2.7%

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%0.0%−0.0%0.0%0.0%
20220.0%0.0%0.0%0.0%0.1%0.1%0.1%0.2%0.2%0.2%0.3%0.4%
20230.3%0.3%0.4%0.3%0.4%0.5%0.4%0.5%0.4%0.4%0.5%0.4%
20240.4%0.4%0.4%0.4%0.5%0.4%0.4%0.5%0.4%0.4%0.4%0.4%
20250.3%0.3%0.3%0.3%0.3%0.3%0.3%0.4%0.3%0.3%0.3%0.3%
20260.3%0.3%0.3%0.3%0.3%0.3%0.3%0.3%0.3%0.1%––

Every trade

trend + trailing stop on SGOV made 0 closed round trips and one position still open at the end of the test. It held a position at the close on 86.1% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-10-19$83.40open–20.4%–

Prices are adjusted for splits and dividends, so they sit below the quotes printed at the time. An open position is marked at the last close.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2021-10-182021-10-20−0.0%22021-10-211
2021-10-222021-10-25−0.0%32021-11-017
2021-12-312022-01-04−0.0%42022-01-073

Buy-and-hold's deepest drawdown ran from 2021-03-02 to 2021-03-03 and reached −0.0%.

With trading costs

The headline run fills at the bar price. These runs charge slippage on every fill.

Slippage per fillCAGRMax drawdownFinal valueSharpe
None (headline)3.2%−0.0%$11,99314.13
5 basis points3.2%−0.1%$11,98913.98
10 basis points3.2%−0.1%$11,98413.72

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules3.2%−0.0%0–$11,993
10% trailing stop3.2%−0.0%0–$11,993
20% trailing stop3.2%−0.0%0–$11,993
25% trailing stop3.2%−0.0%0–$11,993

How SGOV behaved

MeasureSGOV
Data in this test2021-01-04 to 2026-10-02 (1444 sessions)
Total return, buy and hold20.5%
Annualized volatility0.2%
Deepest drawdown−0.0% (2021-03-01 to 2021-03-03)
Up days69.0%
Average daily range0.01%
Average overnight gap0.01%
Correlation to SPY-0.01
Correlation to QQQ-0.01
Correlation to TLT0.01
Sessions above the 200-day average99.5%
Crossings of the 200-day average10
Falls of 10% or more from a 20-day high0

The rules

Enter when price is above the 200-day average; exit only when a 15% trailing stop is hit.

  1. WHEN the market opens · IF not invested AND yesterday's close > SMA(200) · THEN buy with 98% of the sleeve
  2. WHILE invested · a managed trailing stop follows 15% below the position's high-water mark

A hybrid of the regime filter and the trailing stop. The 200-day average decides when to get in, and a 15% trail from the position's high-water mark decides when to get out. Winners can run well past the point where a crossover would have exited, and the position gives back 15% from every peak.

Good for: long trends with moderate pullbacks; the 15% trail is wide enough to survive normal corrections.
Watch out: every exit gives back 15% from the peak, and on choppy assets it re-enters above the 200-day repeatedly after each stop-out.

The one trade

The entry came on 2021-10-19 at an adjusted price of $83.40. The first test date was 2021-01-04, so the rule sat in cash for the opening stretch of the window. A 200-day average needs a long run of closes before it exists, and that fits the delay from the start of the data to the first entry. Once the average existed and the prior close was above it, the rule bought. The position has no exit date. At the last close it was up 20.43% from the entry price, and that figure is a mark to market rather than a closed result, which is why the strategy shows 0 completed round trips, no win rate, no average hold and 1 fill.

The sleeve was invested on 86.1% of trading days. The remaining days are the wait before the first entry, and in that stretch the account earned nothing. That cost the strategy almost nothing against buy-and-hold, because the fund itself returned 0.05% in 2021 and 0.0% in the strategy's own 2021 column. The yearly gaps are 0.0 in every year, and the final values differ by $2.34. The difference is the wait plus the 2% of the sleeve that stays in cash.

The 15% trailing stop played no part. The stop is a level that climbs beneath the highest close and never drops, so on a steady riser it trails far below the price. It would trigger only on a 15% fall from a peak. The fund's maximum drawdown over the entire window was 0.02%, so the trigger never came close.

How each year compares

The strategy and buy-and-hold made identical returns in every year. The sequence runs 0.0% for 2021, then 1.5%, 5.0%, 5.2% and 4.1%, and 2.7% for 2026 up to 2026-10-02. The fund's own calendar returns were 0.05%, 1.57%, 5.12%, 5.29%, 4.23% and 2.76%, a little higher because the 98% allocation leaves a small cash balance and the strategy missed the early days.

The path of those years matters more than the gap. The fund returned almost nothing in 2021 and 1.5% in 2022, then 5.0% and 5.2% in 2023 and 2024, and less in 2025 and 2026. A bill fund earns what short-term rates pay, and the yearly figures follow that pattern. The data does not say why rates moved; it shows the return stepping up from about zero to about 5% and then easing.

The strategy beat buy-and-hold in no year and trailed it in none. The gap column is zero throughout, and the rule's only effect on the account was the delay in the entry.

Month by month

The month table gives a clearer picture of the climb than the yearly one. The strategy shows zeros from January to September 2021, then -0.01% in October, 0.01% in November and 0.01% in December. 2022 begins at 0.0%, 0.01% and 0.01%, then 0.02% in April, 0.06% in May and 0.07% in both June and July. August was 0.2%, September 0.22%, October 0.2%, November 0.3% and December 0.36%.

By 2023 the monthly return had settled in a band of 0.32% to 0.49%, with the best month, August 2023, at 0.49%. 2024 held between 0.39% and 0.47%. 2025 ran from 0.3% to 0.37%, and 2026 from 0.28% to 0.32% through September. October 2026 shows 0.06% for the first two days of the month, and that partial month is the last row.

The worst month of the strategy was October 2021 at -0.01%, the month of the entry. The fund's own worst month in the buy-and-hold run was February 2021 at -0.01%. A month of -0.01% is a rounding-level loss, and it is the worst month the fund produced in more than five years.

The fund's average return by calendar month sits between 0.24% in February and 0.31% in August and December, with no month standing out. That flat profile is what a carry instrument looks like, since its return accrues evenly and does not depend on the season.

The drawdowns

Three drawdowns appear for the strategy, each 0.02% deep. The first ran from 2021-10-18 to 2021-10-20 and recovered on 2021-10-21. The second ran from 2021-10-22 to 2021-10-25 and recovered on 2021-11-01, seven days after the low. The third ran from 2021-12-31 to 2022-01-04 and recovered on 2022-01-07.

Buy-and-hold's list has three more dips of the same size, one starting 2021-03-02, one on 2021-07-30 and one on 2021-08-04. For the fund itself, the largest decline began on 2021-03-01 and bottomed on 2021-03-03, and the longest stretch below a peak lasted 11 sessions. The worst single days lost 0.02%, and the best day gained 0.08%, on 2023-04-05.

All of these are dips of two basis points. On any other fund in this test, a drawdown table would show months or years of recovery. Here the table is a list of events that lasted a day to a week. A 15% stop is a protection for a risk this fund does not carry.

Trading costs

With 5 basis points of slippage on each fill the CAGR was 3.21%, the maximum drawdown 0.07% and the final value $11,988.57. With 10 basis points the CAGR was 3.2%, the drawdown 0.12% and the final value $11,983.69. The headline run ended at $11,993.45.

The strategy made one fill, so the cost is paid once, at the entry. A few dollars on a $10,000 account is what slippage costs here. The cost runs show drawdowns of 0.07% and 0.12%, which come from the slippage charged on that one fill.

The fund trades about $532,191,384 on an average day and a median of 8,376 shares a minute, deep enough that a single order for a $10,000 account is no concern. The liquidity entry and the slippage entry cover how those figures relate to fills.

Changing the stop

Three variants change the trailing stop to 10%, 20% and 25%.

All three variants match the published rule to the cent, because the stop never fired at 10%, at 15% or at 25%. The 0 trades reported in each row are closed trades, and the position is open in every variant, as in the published run. The parameter table is therefore a test of a rule that does not bind. It says the result does not depend on the stop width, and it says nothing about whether a 10% or a 25% stop is better in general. On a fund with a deepest fall of 0.02%, any stop width above a fraction of a percent would give the same answer. The overfitting answer describes why a table of identical results carries no information about the choice of parameter.

The Sharpe ratio and why it is large

The Sharpe ratio of this run was 14.14, against 13.84 for buy-and-hold. Both come from the arithmetic and say nothing about skill. The ratio divides return by volatility, and SGOV's annualized volatility was 0.24%. A return of about 3% over a volatility of 0.24% gives a very large ratio for any steady, low-risk instrument. The cost runs show 13.983 and 13.725.

The figure cannot be compared with the Sharpe ratio of a stock fund. A ratio of 14 on a bill fund and a ratio of 0.9 on a sector fund describe different kinds of instrument, and the higher number is not the better strategy. What it does say is that the return was steady: the fund rose on 68.95% of days, the average up day was 0.02% and the average down day -0.01%, and the average daily range and overnight gap were both 0.01%.

How SGOV behaved

SGOV gained 20.47% across the window, or 3.3% a year, on annualized volatility of just 0.24%. Its beta to SPY, QQQ and TLT rounds to 0 for all three, and the correlations were -0.01, -0.01 and 0.01. The closest matches in the 59-fund set were IEI at 0.06 and UDN at 0.05, with AGG, FXE and IGIB at 0.04, and the furthest were KMLM, FAS and XLF at -0.03. Every figure is near zero, so the fund moves almost independently of everything else tested.

Most of the gain accrued overnight: 95.25% of the log return, against 4.75% intraday, from log returns of 17.73% and 0.88%. The price creeps up between the close and the next open and hardly moves during the session. Daily autocorrelation was 0.06, which is small.

The technical statistics explain what the filter saw. SGOV closed above its 200-day average on 99.52% of sessions and crossed it 10 times. RSI(14) dipped below 30 on 0 sessions and exceeded 70 on 1,085, so an oversold rule has nothing to buy, and a rule that sold on overbought readings would have sat in cash for most of the window. RSI(2) went below 10 on 17 sessions, with median 5-day and 20-day returns of 0.01% afterwards against 0.07% and 0.32% for all sessions. A 10% fall from a 20-day high never occurred. Up days were 68.95% of the total, the average up day 0.02% and the average down day -0.01%, and the average intraday range and overnight gap were both 0.01%.

A trend filter is meant to separate uptrends from downtrends. SGOV spent almost every session in the uptrend state, so once the average existed the filter had nothing left to do.

How the rules fit this fund

The template is built for long trends with moderate pullbacks, with a trail wide enough to survive ordinary corrections. SGOV has the long trend and almost no pullbacks. The template also carries a warning about giving back 15% at each exit and re-entering on choppy assets, and neither effect appeared, because no exit ever happened.

On SGOV the twelve templates form a set of near ties. This one finished 3rd at 3.22%, level with the golden cross and the 200-day regime filter, each with a 0.02% drawdown. The SMA 10/50 trend and the EMA 12/26 trend came in at 3.21% with a 0.05% drawdown, and the weekly 7% target at 3.2%. Two templates traded and earned less: the monthly cycle at 2.98% and the RSI(2) snapback at 0.02%, with drawdowns of 0.06% and 0.08%. Four never entered at all and finished at 0%: the RSI mean reversion, the dip buyer, the momentum breakout and the 3-month momentum.

The rank order comes mostly from tiny differences in how early each rule entered. A rule that holds the fund from the start earns the fund's return, and any rule that waits earns a little less. The fund gives every rule that stays in the market the same answer, and rules that wait for a signal that never comes earn nothing.

Across all 59 ETFs this rule's median CAGR was 2.61%, and SGOV ranked 28th. Among bond funds the median was -1.08%. The bond peers show what the rule did on funds with real price risk. IEI made 1.43% with a 5.2% drawdown and no round trips. IGIB made 0.06% with a 17.82% drawdown over 1 round trip, BND lost 1.08% with 18.68%, AGG lost 1.1% with 18.83% and IEF lost 2.13% with 21.47%. TLT lost 7.11% with a 38.76% drawdown over 3 round trips. SGOV's 3.22% with a 0.02% drawdown is the best result in the category by both measures, and the reason is the fund, not the rule.

Limits of the test

The window is 2021-01-04 to 2026-10-02, and SGOV's return over it came from the interest rates of that period. A different rate environment would give the fund a different return, and a fund of Treasury bills has no price risk to test a stop against. The headline run fills at the bar price with no fees. The single open position is marked at the last close, and an open trade has no verdict yet. Nothing here says how the rule would behave on a fund that falls 15% from a peak. The stock and long-bond pages for the same template show that. All figures are hypothetical, and none of this is advice to buy or sell any fund.

Readers who want the same rule on funds that do fall will find it across the universe in the trend plus trailing stop hub, with every template on this fund ranked on the SGOV page.

Run trend + trailing stop on SGOV yourself, free →

Build it from blocks (or type it in English), backtest it on 5.7 years of minute data in seconds, tweak any parameter, then paper trade it on live data. No card, no broker needed to start.

Frequently asked questions

Did trend + trailing stop beat buy-and-hold on SGOV?

Over 2021-01-04 to 2026-10-02, trend + trailing stop on SGOV returned 3.2% annualized vs 3.2% for buy-and-hold: it beat buy-and-hold by 0.0% per year, with a maximum drawdown of 0.0% (buy-and-hold: 0.0%).

How many trades did it make?

0 completed round trips over 5.7 years (1 fills).

Why 15% rather than 10%?

A wider trail survives routine corrections and gives back more at the end. Both numbers are one-field edits in DeployQuant, so you can backtest both and compare.

Did the trend plus trailing stop beat buy-and-hold on SGOV?

No, and it did not trail either. From 2021-01-04 to 2026-10-02 both made a CAGR of 3.22%. The strategy ended at $11,993.45 and buy-and-hold at $11,995.79, a $2.34 difference.

Why did the strategy only make one trade?

It bought on 2021-10-19 and the 15% trailing stop never fired, because the fund's deepest fall was 0.02%. The position was still open on 2026-10-02, marked up 20.43% from the entry price.

Why do the 10%, 20% and 25% stop variants match the original?

The stop never triggered at any of those widths. The position stayed open in every run, so each variant ended at $11,993.45 with a 0.02% drawdown.

Why is the Sharpe ratio 14.14?

SGOV's annualized volatility was 0.24%, so a steady return of about 3% a year divides by a very small number. The ratio is not comparable with a stock fund's. It says the return was steady, and it does not say the strategy was better.

Do trading costs matter on SGOV?

Very little. The strategy made one fill. With 5 basis points the final value was $11,988.57 and with 10 basis points $11,983.69, against $11,993.45 in the headline run.

How does SGOV compare with other bond funds for this rule?

It was the best by both CAGR and drawdown. SGOV made 3.22% with a 0.02% drawdown, IEI made 1.43% with 5.2%, and TLT lost 7.11% with a 38.76% drawdown. The rule's median CAGR across all 59 funds was 2.61%.

Related

SMA-200 Trend + 15% Trailing Stop on all 59 ETFsfull results table All strategies on SGOV12 templates compared RSI(14) Mean Reversion on SGOVsame ETF, different rulesRSI(2) Dip Snapback on SGOVsame ETF, different rules

Backtests are hypothetical, computed by DeployQuant's engine on minute-resolution consolidated US market data (2021-01-04 to 2026-10-02, $10,000 starting capital, no margin, no fees or slippage in the headline run; buy-and-hold puts 98% of the account in at the first open, as the templates do) and do not guarantee future results. Nothing on this page is investment advice. Live trading involves risk of loss.