Learn › Strategies › SMA 10/50 Trend › SGOV

SMA 10/50 Trend 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: SMA 10/50 trend on SGOV turned $10,000 into $11,990 (19.9% total, 3.2% CAGR): it trailed buy-and-hold by 0.0% per year, with a maximum drawdown of 0.1% (buy-and-hold: 0.0%).

SGOV is the iShares 0-3 Month Treasury Bond ETF, a fund of T-bills that the ETF page describes as the cash leg of rotation strategies. The SMA 10/50 trend template holds a fund while its 10-day simple average sits above its 50-day average and sells when the 10-day falls under the 50-day. Run on SGOV from 2021-01-04 to 2026-10-02, it turned $10,000 into $11,989.94. The CAGR was 3.21%, the total return was 19.9% and the maximum drawdown was 0.05%.

Holding SGOV for the same window ended at $11,995.79 with a CAGR of 3.22% and a total return of 19.96%. The template trailed by $5.85 of end equity and 0.01 points of CAGR. It beat holding in no calendar year, and the yearly gap was 0 in all six. The two return streams are almost the same stream.

The interesting content on this page is in what the rule did, not in the return. It made 6 closed round trips and 13 fills, with 33% counted as wins, yet the largest closed trade return was 0% and the worst was -0.02%. The account was invested on 93.5% of sessions. The Sharpe ratio of 13.91 is a product of near-zero volatility, and it describes T-bills rather than the rule.

The test covers one fund over 5.74 years with daily-decision rules and no fees or slippage in the headline run. The cost runs below show what small fees do to a fund whose whole return is a few percent a year.

3.2%CAGR
3.2%buy & hold CAGR
−0.1%max drawdown
13.91Sharpe ratio
6round trips
33%win rate
■ SMA 10/50 trend   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

YearSMA 10/50 trendbuy & 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%

Six calendar years that look the same as holding

The yearly table has the same figure for the template and for holding in every year: 0% in 2021, 1.5% in 2022, 5% in 2023, 5.2% in 2024, 4.1% in 2025 and 2.7% in 2026 to date. The gap row is 0 throughout, so there is no year in which the rule did better or worse than holding.

The pattern in the return follows short-term interest rates, which can be seen in the fund's own calendar returns of 0.05%, 1.57%, 5.12%, 5.29%, 4.23% and 2.76%. Nothing in the rule produced these. 2021 was close to flat because the fund paid almost nothing that year, and 2022 started a climb that reached 2023 and 2024. The fund's average daily move was 0.02% on up days and -0.01% on down days, and 68.95% of sessions were up days.

The template matches holding closely even though it traded 13 times. In a fund this stable, the 10-day and 50-day averages sit very close together, so the crossovers carry almost no information. After 2021 the cross stayed on the long side. The last entry, on 2021-11-09, was never sold, and from that day through 2026-10-02 the account held SGOV continuously, which is why the 2022 to 2026 columns are identical to buy and hold.

All six closed trades exited in 2021. The exit-year table has 6 round trips and no wins for 2021, and nothing after it. The rule had active signals during the first year, when SGOV prices were flat to the cent, and none from then on.

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

A monthly table of hundredths of a percent

Monthly returns for the template run between -0.02% and +0.49%. The best month was August 2023 at +0.49%, which holding also had. The worst was October 2021 at -0.02%, a month in which the template made two 1-day trades. Holding's worst month was February 2021 at -0.01%, before the template had a position.

Through 2021 the monthly figures are tiny and mixed: -0.01% in March, +0.01% in April, -0.01% in May, +0.01% in July, -0.01% in August, -0.01% in September, -0.02% in October, +0.01% in November and +0.01% in December. After that the figures climb with the T-bill yield, from +0.01% in February and March 2022 to +0.06% in May, +0.2% in August, +0.3% in November and +0.36% in December. From 2023 the monthly return stayed between +0.32% and +0.49% until the end of 2024, then sat between +0.28% and +0.37% in 2025 and 2026.

The final bar of the table, October 2026, shows +0.06% because only the first two sessions of the month fall inside the data.

The month-of-year averages for the fund are all close together, from 0.24% for February to 0.31% for August and December. With five or six observations a month, they show only that the fund earns steadily whatever the calendar says. The template does not use the calendar.

Every trade

SMA 10/50 trend on SGOV made 6 closed round trips and one position still open at the end of the test, an average hold of 29 days, an average loser of −0.01%, a longest losing streak of 6. It held a position at the close on 93.5% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-03-17$83.392021-05-20$83.390.0%64
2021-05-26$83.392021-05-27$83.38−0.0%1
2021-06-02$83.392021-08-13$83.390.0%72
2021-09-01$83.402021-10-04$83.400.0%33
2021-10-12$83.402021-10-13$83.39−0.0%1
2021-10-19$83.402021-10-20$83.38−0.0%1
2021-11-09$83.39open–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.

Six small trades and one that never closed

The first trade ran from 2021-03-17 to 2021-05-20, 64 days, with an entry and exit at an adjusted price of $83.39, a return of 0%. The second was a single day, 2021-05-26 to 2021-05-27, from $83.39 to $83.38, a return of -0.01%. The third ran 72 days, from 2021-06-02 to 2021-08-13, at $83.39 on both ends.

The fourth ran 33 days, from 2021-09-01 to 2021-10-04 at $83.4. Then came two one-day trades, on 2021-10-12 to 2021-10-13 (-0.01%) and 2021-10-19 to 2021-10-20 (-0.02%), which was the worst closed trade. The median return was 0% and the median hold was 33 days. The longest hold was 72 days and the shortest was 1 day. Prices are adjusted for splits and dividends.

The trade list ends with an entry on 2021-11-09 at $83.39 that was still open on the last day of data. The page lists it with a return of 20.44%, which is the mark on the open position, not a closed trade. It is the source of nearly all the account's gain, and it is also the reason the 2022 to 2026 returns match holding.

The summary figures have a few oddities worth stating. The engine reports 2 winning round trips and a 33% win rate, yet the best closed trade shows 0% and no trade has a positive return in the list. The average win is blank and the profit factor is 0. The longest losing streak is 6, which equals the number of closed trades, and the exit-year table gives 0 wins for 2021. These figures do not agree with each other. The dollar result is unaffected.

The lesson from the trades is how little a trend rule has to work with. A T-bill fund moves by a cent or two over a month, and a crossover of two averages on a price that flat is decided by those cents. The adjusted price is $83.39 on the first entry and $83.4 on the fourth. Signals from moves that small are noise, and each of the 1-day trades is the rule flipping on noise.

Largest drawdowns

PeakLow pointDepthDays to lowRecoveredDays to recover
2021-08-042021-10-20−0.1%772022-03-30161
2021-07-302021-08-02−0.0%32021-08-042
2022-06-102022-06-13−0.0%32022-06-163

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

A 0.05% drawdown

The deepest drawdown of the account was 0.05%, from a peak on 2021-08-04 to a trough on 2021-10-20, 77 days later. It recovered on 2022-03-30 after 161 more days. This is the three-trade stretch of August to October 2021.

The next two were 0.02% each. One ran from 2021-07-30 to a low on 2021-08-02 and recovered on 2021-08-04. The other ran from 2022-06-10 to 2022-06-13 and recovered on 2022-06-16. Holding SGOV had a deepest drawdown of 0.02%, from 2021-03-02 to 2021-03-03, recovering the next day, and its other two were 0.02% as well.

The gap table shows the rule's drawdown 0.03 points deeper than holding. The loss is a few dollars on a $10,000 account. A drawdown of this size is within the fund's own noise, since its worst daily move was -0.02%.

The longest drawdown of the fund itself was 11 sessions. The rule's longest, from 2021-08-04 to 2022-03-30, was far longer in time because the account earned almost nothing in the second half of 2021, so a few dollars lost took months to earn back. Neither number measures risk in a sense that matters for a Treasury bill fund. The fund's annualized volatility was 0.24%, its beta to SPY, QQQ and TLT rounds to 0, and its correlation to SPY was -0.01.

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.1%$11,99013.91
5 basis points3.1%−0.7%$11,91012.46
10 basis points3.0%−1.3%$11,84710.48

Cost runs on a fund that earns 3% a year

Costs matter here more than on any volatile fund, because the gross return is small. At 5 basis points per trade, the CAGR fell from 3.21% to 3.09% and end equity from $11,989.94 to $11,909.61. At 10 basis points the CAGR was 3% and end equity was $11,846.66.

The drawdown figure moved too. It rose from 0.05% to 0.68% at 5 basis points and 1.31% at 10. A fee on each of 13 fills adds up to something visible next to price moves of a cent. The Sharpe ratio dropped from 13.91 to 12.456 and 10.479.

The cost runs are the strongest argument in the data against trading this fund on a moving-average signal. Holding paid nothing in the headline run, since it has a single fill. SGOV had an average daily dollar volume of $532,191,384 and a median minute volume of 8,376 shares, so a $10,000 order is small compared with the market, and the spread on a T-bill fund is usually tight. The cost assumptions of 5 and 10 basis points are probably higher than a real spread on this fund, but the test does not measure actual spreads, and the cost runs are generic across all funds in the study.

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules3.2%−0.1%633%$11,990
SMA 5/503.2%−0.1%1250%$11,992
SMA 20/503.2%−0.0%475%$11,996
SMA 10/1003.2%−0.0%367%$11,997

Three variants that all end close to holding

The three parameter variants moved one average each. SMA 5/50 gave a CAGR of 3.22% with 12 trades and 6 wins, a drawdown of 0.05% and an end equity of $11,992.28. SMA 20/50 gave 3.22% with 4 trades and 3 wins, a 0.04% drawdown and $11,995.79. SMA 10/100 gave 3.22% with 3 trades and 2 wins, a 0.04% drawdown and $11,996.96.

All three finished above the base rule's $11,989.94 and within a few dollars of holding at $11,995.79. A slower average meant fewer trades: 12 for the 5-day fast line, 4 for the 20-day and 3 for the 100-day slow line. The Sharpe ratios of 13.951, 13.957 and 13.989 are about the same.

What the variants show is that the signal speed has almost no bearing on the outcome. The return is set by being in the fund, and every variant was in the fund most of the time. The differences between them are measured in a few dollars on $10,000 and a handful of trades. Declaring one variant the best would mean reading something into a gap that costs would erase.

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

Why a trend rule has nothing to follow in T-bills

SGOV holds Treasury bills with 0 to 3 months to maturity. Over the window it returned 20.47% total, a CAGR of 3.3%, with annualized volatility of 0.24%. Its worst day was -0.02% on 2021-03-03 and its best was +0.08% on 2023-04-05. The average intraday range was 0.01%, and 95.25% of the log return came overnight, the rest intraday. A fund that pays out through a rising price over each night leaves little for a moving average to follow.

The lag-1 autocorrelation was 0.06. The price was above its 200-day average on 99.52% of sessions and crossed it 10 times. RSI(14) never fell below 30 on any session and was above 70 on 1,085 sessions, which shows how the usual indicator ranges do not apply: a series that rises slowly and steadily has a high RSI most of the time. RSI(2) was below 10 on 17 sessions, and the median 5-day and 20-day returns after those were 0.01% against baselines of 0.07% and 0.32%.

The fund did not behave like a risky asset. It had no 20-day drop of 10% in the data. Its correlation with the other funds in the study was low everywhere, with the highest at 0.06 for IEI and 0.05 for UDN, and the lowest at -0.03 for KMLM, FAS and XLF.

That is why a trend template has little use on it. The rule's purpose is to avoid falls in an asset that trends and then drops, and SGOV does not drop. The one good use of the fund in a rotation strategy is the one the fund page describes: a place to park cash. The test here does not cover that role.

The rules

A faster moving-average crossover: hold while the 10-day average is above the 50-day.

  1. WHEN the market opens · IF not invested AND SMA(10) > SMA(50) · THEN buy with 98% of the sleeve
  2. WHEN the market opens · IF invested AND SMA(10) < SMA(50) · THEN sell the whole position

A faster version of the golden cross. The 10- and 50-day averages catch intermediate trends measured in weeks rather than years. It enters recoveries earlier and exits breakdowns earlier, with more whipsaw trades in sideways markets. Useful for seeing how signal speed changes a strategy's results.

Good for: trending assets with multi-week swings, such as leveraged index ETFs.
Watch out: several false signals a year is normal; each whipsaw costs a small loss and they add up in flat markets.

SGOV against the other 11 templates and against other bond funds

On SGOV the SMA 10/50 template ranked 4th of 12 by CAGR at 3.21%. The golden cross, the 200-day regime filter and trend plus trailing stop each returned 3.22% with a 0.02% drawdown. The EMA 12/26 trend matched SMA 10/50 at 3.21% and 0.05%. The weekly 7% target returned 3.2% and the monthly cycle 2.98%.

The templates that need movement to trigger did nothing. RSI(2) snapback returned 0.02%, and RSI mean reversion, dip buyer, momentum breakout and 3-month momentum returned 0% because they never entered. The ranking of the top seven is a ranking of how few trades each rule took.

Among the bond funds, SGOV's CAGR of 3.21% for this template was the highest. IGIB returned 1.73% with a 6.63% drawdown, IEF 1.33% with 5.67%, IEI 1.24% with 3.21%, AGG 0.79% with 6.46%, BND 0.52% with 6.62%, and TLT lost 0.85% a year with a 14.24% drawdown. The median for the template across all 59 funds was 2.12% and across the bond funds was 1.24%. SGOV placed 27th of the 59.

The comparison is about the fund and not about the rule. SGOV's yield did the work in the headline number, and the template added a cent or two of noise on top of it. The test stops at one 5.74-year window, in which short-term rates moved from near zero to a higher level. A different window would give different yields.

Run SMA 10/50 trend 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 SMA 10/50 trend beat buy-and-hold on SGOV?

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

How many trades did it make?

6 completed round trips over 5.7 years (13 fills), with 33% of round trips closing profitably.

Why 10 and 50 days?

A common intermediate-trend pairing. It reacts within weeks and ignores single bad days. Both windows are editable parameters in DeployQuant.

How did the SMA 10/50 trend template do on SGOV?

It turned $10,000 into $11,989.94 between 2021-01-04 and 2026-10-02, a CAGR of 3.21% with a maximum drawdown of 0.05%. Holding SGOV ended at $11,995.79. The template trailed holding by $5.85.

Is SMA 10/50 worth using on a T-bill ETF?

In this test it added nothing. The yearly returns matched holding in all six years, and the rule made 13 fills to arrive at almost the same account value. The cost runs lowered the CAGR to 3.09% at 5 basis points and 3% at 10.

Why is the Sharpe ratio 13.91?

The fund's annualized volatility was 0.24%, so even a small excess return gives a very large ratio. The figure describes T-bills, and it would not be a useful comparison with the Sharpe ratios of equity funds.

Why do the trade statistics look odd?

The list shows 6 closed trades with returns from 0% to -0.02%, but the summary counts 2 wins and a 33% win rate. The open position from 2021-11-09 is listed at 20.44%. The dollar results are unaffected, and the win counts do not match the trade list.

Did changing the moving-average lengths matter?

Not in this window. SMA 5/50, 20/50 and 10/100 each gave a CAGR of 3.22% and ended between $11,992.28 and $11,996.96. The number of trades ranged from 3 to 12.

Which strategy did best on SGOV?

The golden cross, the 200-day regime filter and trend plus trailing stop each returned 3.22%, and buying and holding returned 3.22% too. The differences between the top templates are a few dollars on a $10,000 account.

Related

SMA 10/50 Trend 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.