20-Day Momentum + Trailing Stop on KMLM
KFA Mount Lucas Managed Futures Index Strategy ETF: trend-following across futures markets, often used as an equity diversifier. Backtest 2021-01-04 to 2026-10-02, $10,000 starting capital, computed by the same engine that runs live DeployQuant strategies. KMLM data starts 2021-01-06, so its results cover a shorter span.
The 20-day momentum breakout with a 10% trailing stop made two trades on KMLM in 5.74 years, and both came in 2022. The account ended at $11,274 from $10,000, a CAGR of 2.11%, against $14,798 and 7.07% for holding the fund over 2021-01-04 to 2026-10-02. The maximum drawdown was 10.02% for the strategy and 27.27% for buy-and-hold, and the Sharpe ratio was 0.36 against 0.58. The rule was invested on 9.7% of trading days.
KMLM is the KFA Mount Lucas Managed Futures Index Strategy ETF, a fund that follows trends across futures markets and is often used as an equity diversifier. A rule that buys after a +10% four-week burst needs the fund to move fast. KMLM did that in 2022 and rarely in the other years, so the equity curve is flat for most of the test and then steps up and down inside one year.
This page is a small-sample result. One winning trade of 15.18% and one losing trade of 1.87% make up the whole record, and the 12.7% return for 2022 is the only year that is not zero. The numbers describe one window with no fees in the headline run. They are not a forecast.
Year by year
| Year | momentum breakout | buy & hold |
|---|---|---|
| 2021 | 0.0% | 6.0% |
| 2022 | 12.7% | 29.6% |
| 2023 | 0.0% | −6.0% |
| 2024 | 0.0% | −1.2% |
| 2025 | 0.0% | −3.1% |
| 2026 | 0.0% | 19.6% |
Five flat years and one active one
The yearly table is mostly zeros. The strategy returned 0% in 2021, 12.7% in 2022 and 0% in 2023, 2024, 2025 and 2026 so far. Buy-and-hold returned 6% in 2021, 29.6% in 2022, -6% in 2023, -1.2% in 2024, -3.1% in 2025 and 19.6% so far in 2026.
The rule was ahead of the fund in 2023, 2024 and 2025, and each of those years is a case where doing nothing beat holding. The fund fell 6%, 1.2% and 3.1% in them, and the account stayed in cash. That is a gap of 6, 1.2 and 3.1 percentage points in favour of the strategy. The sum of those three years is small, and the rule did not decide to stay out. It had no entry signal.
The years behind are larger. In 2021 the fund returned 6% and the strategy 0%, a gap of 6 points. In 2022 the fund returned 29.6% and the strategy 12.7%, a gap of 16.9 points. In 2026 the fund returned 19.6% so far and the strategy sat in cash, a gap of 19.6 points. The end value gap of $3,524 reflects those years, with 2022 and 2026 the largest.
The fund's calendar return in 2022 was 30.2% as a price series. The strategy took part in it twice. The first trade gained 15.18% and the second lost 1.87%, and together they left a good year for the strategy against an excellent one for the fund.
2026 deserves attention because the fund gained 19.94% as a price series and the strategy had no position. The record shows no trade after 2022-11-10, so the entry condition produced no purchase in 2026 despite the fund's gain.
Month by month
| Year | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2021 | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2022 | 0.0% | 0.0% | 0.6% | 9.6% | 1.5% | 2.7% | 0.0% | 1.0% | 4.0% | −1.4% | −5.1% | 0.0% |
| 2023 | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2024 | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2025 | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% |
| 2026 | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | 0.0% | – | – |
Month by month
Of the 70 monthly readings in the table, only eight are not zero, and all of them are in 2022. March was 0.56%, April 9.56%, May 1.52%, June 2.69%, August 0.96%, September 4%, October -1.43% and November -5.14%. July and December 2022 were both 0% because the strategy was flat in July and December.
April 2022 at 9.56% was the best month of the record. Buy-and-hold made 9.61% in the same month, so the rule captured nearly all of it. The strategy entered on 2022-03-04 at $26.35 and was holding through the move. That is the case the template is built for: the burst arrives, the rule gets in after the first few percent, and the trailing stop leaves room for the rest.
November 2022 was the worst month at -5.14%. Buy-and-hold lost 10.1% in November 2022. The fund's worst day in the window, -5.23%, came on 2022-11-10, which is also the date the strategy sold at $29.98. The stop closed the second trade on the day the fund fell hardest, and the account lost less in that month than holding did.
Counting the zeros matters for reading the other tables. A fund can show a Sharpe ratio and a CAGR from only a few months of exposure, and the figures above come from eight active months out of 70. A different quarter of activity would have given a different record.
Which days the stop and the gaps hit
Setting the fund's biggest days beside the two trades shows what the rule captured. The best day in the window, +3.42% on 2021-09-28, fell in a year with no position. The second best, +3.4% on 2022-07-07, came after the first trade closed and before the second one opened. The +2.96% on 2022-03-02 came two days before the entry on 2022-03-04, so the rule missed it. The +2.9% on 2022-06-06 and the +2.8% on 2022-03-21 both landed inside the first trade.
The worst days tell a similar story. The -4.89% of 2021-06-18, the -4.33% of 2021-11-26 and the -4.31% of 2021-07-19 all fell in 2021, when the account was in cash. The -3.76% on 2022-06-23 is the day the first trade exited, so the stop gave up the gain from the high-water mark on a single bad session. The -5.23% on 2022-11-10 ended the second trade the same way.
By month of year, April averaged 4.28% across its 6 occurrences, February 2.8% and September 2.74%. May averaged -1.16%, June -1.69% and November -4.73%. The strategy's own record has only one April, the 2022 one at 9.56%, so the seasonal pattern here comes from the fund and the rule contributed a single data point to it.
Every trade
momentum breakout on KMLM made 2 closed round trips, an average hold of 92 days, an average winner of 15.18%, an average loser of −1.87%, a profit factor of 7.07, a longest losing streak of 1. It held a position at the close on 9.7% of trading days.
| Entry | Entry price | Exit | Exit price | Return | Days held |
|---|---|---|---|---|---|
| 2022-03-04 | $26.35 | 2022-06-23 | $30.35 | 15.2% | 111 |
| 2022-08-30 | $30.55 | 2022-11-10 | $29.98 | −1.9% | 72 |
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.
Two round trips
The strategy made 2 closed round trips and 4 fills, with no open position at the end. One won and one lost. The average hold was 91.5 days, the median return 15.18% and the profit factor 7.07. The profit factor is high because a single 15.18% winner sits against a single 1.87% loser, and it would be misleading to read it as a stable property of the rule.
The first trade entered on 2022-03-04 at $26.35 and exited on 2022-06-23 at $30.35, a return of 15.18% over 111 days. The trailing stop followed the highest close 10% below, so the exit price is the level of the stop after the fund peaked, not a target.
The second trade entered on 2022-08-30 at $30.55 and exited on 2022-11-10 at $29.98, a loss of 1.87% over 72 days. The entry price was above the exit price of the first trade. The fund then slid and the 10% trail was hit on 2022-11-10, the day of the fund's worst move in the window at -5.23%. The loss was 1.87%, which shows the high-water mark was close to the entry price.
Prices in the trade list are adjusted for splits and dividends. Two trades cannot support a conclusion about the rule. They show how the rule behaves in the one case it was tested on: a good trend rewarded it and a reversal cost a small amount.
Largest drawdowns
| Peak | Low point | Depth | Days to low | Recovered | Days to recover |
|---|---|---|---|---|---|
| 2022-10-14 | 2022-11-10 | −10.0% | 27 | not yet | – |
| 2022-06-13 | 2022-09-07 | −7.6% | 86 | 2022-09-27 | 20 |
| 2022-09-27 | 2022-10-04 | −6.1% | 7 | 2022-10-10 | 6 |
Buy-and-hold's deepest drawdown ran from 2022-10-14 to 2025-06-20 and reached −27.3%.
Drawdowns
The strategy's largest drawdown started on 2022-10-14 and reached 10.02% on 2022-11-10, which took 27 days. It had not recovered by the end of the test, because the account never made a new high after the peak of 2022-10-14. The second drawdown started on 2022-06-13 and reached 7.62% on 2022-09-07, a fall that took 86 days, and was recovered on 2022-09-27 after 20 more days. The third started on 2022-09-27, fell 6.1% in 7 days to 2022-10-04 and recovered on 2022-10-10.
All three drawdowns sit inside 2022. For the rest of the window the equity curve was flat, so nothing could draw down. Buy-and-hold had a different path: a drawdown of 27.27% from 2022-10-14 to 2025-06-20, taking 980 days, with no recovery by the end of the test. A drawdown of 14.93% began on 2022-06-13 and reached its low on 2022-08-04, and one of 9.39% ran from 2021-05-12 to 2021-07-19 and recovered on 2022-02-04.
The 10.02% drawdown came from the second trade, entered at $30.55 and stopped out at $29.98.
The comparison to the fund's own 27.27% drawdown shows what the rule bought on KMLM. It avoided the long decline between late 2022 and mid-2025 by being in cash. That benefit came from having no entry signal for years, and the strategy was not reading the market in that stretch.
With trading costs
The headline run fills at the bar price. These runs charge slippage on every fill.
| Slippage per fill | CAGR | Max drawdown | Final value | Sharpe |
|---|---|---|---|---|
| None (headline) | 2.1% | −10.0% | $11,274 | 0.36 |
| 5 basis points | 2.1% | −10.1% | $11,253 | 0.35 |
| 10 basis points | 2.0% | −10.1% | $11,232 | 0.35 |
Trading costs
There are four fills, so the cost runs barely change the result. At 5 basis points of slippage per fill the CAGR was 2.08% and the final value $11,253, with a maximum drawdown of 10.07% and a Sharpe ratio of 0.355. At 10 basis points the CAGR was 2.05%, the final value $11,232, the drawdown 10.11% and the Sharpe 0.35.
The headline run ended at $11,274, and the 10 basis point run at $11,232. A strategy that trades twice in 5.74 years pays the charge on only four fills.
The cost model understates one risk. KMLM trades thinly, with an average daily dollar volume of 3,113,002 and a median minute volume of 400 shares. A fixed slippage of 5 or 10 basis points may be low for a fund where a minute bar holds so few shares, and the spread could be wider than the model assumes. The runs here show the rule is insensitive to small costs. They do not show what a fill of a larger size would have cost.
Changing the parameters
| Version | CAGR | Max drawdown | Round trips | Win rate | Final value |
|---|---|---|---|---|---|
| Published rules | 2.1% | −10.0% | 2 | 50% | $11,274 |
| 5% trailing stop | 0.3% | −7.5% | 6 | 33% | $10,146 |
| 15% trailing stop | 0.3% | −17.3% | 2 | 50% | $10,179 |
| 20% return entry | 0.0% | −0.0% | 0 | – | $10,000 |
Trail width and entry threshold
Three variants change one setting each. A 5% trailing stop gave a CAGR of 0.25%, a maximum drawdown of 7.54%, a final value of $10,146 and 6 trades, with 2 winners. A 15% trailing stop gave 0.31%, a drawdown of 17.27%, $10,179 and 2 trades, 1 of them a win. A 20% return entry gave 0% and no trades, with a final value of $10,000.
All three were worse than the published settings at 2.11%. The 5% stop was too tight and exited on small pullbacks: 6 trades and 2 wins is a worse hit rate than the 2 trades and 1 win of the 10% version. The 15% stop gave back more on the way out, with a deeper drawdown of 17.27%, and a result near zero. The 20% entry never triggered, which tells us that KMLM did not gain 20% in 20 sessions while the rule was flat.
The published 10% entry and 10% trail were the best of the four versions here, but that is a statement about one window and two trades. A 5.74 year test with 2 trades could change a lot if the fund had been a few percent higher or lower on a key day. The variants show where the rule is sensitive: the trailing stop width changes both the trade count and the drawdown, and the entry threshold decides whether the rule trades at all.
How KMLM behaved
| Measure | KMLM |
|---|---|
| Data in this test | 2021-01-06 to 2026-10-02 (1313 sessions) |
| Total return, buy and hold | 49.0% |
| Annualized volatility | 15.3% |
| Deepest drawdown | −27.6% (2022-10-14 to 2025-06-20) |
| Up days | 52.4% |
| Average daily range | 0.96% |
| Average overnight gap | 0.56% |
| Correlation to SPY | -0.16 |
| Correlation to QQQ | -0.17 |
| Correlation to TLT | -0.39 |
| Sessions above the 200-day average | 45.6% |
| Crossings of the 200-day average | 42 |
| Falls of 10% or more from a 20-day high | 5 |
How KMLM behaved
KMLM's first data day in this test is 2021-01-06, giving 1,313 sessions. Over that stretch it returned 49.02% as a price series, a CAGR of 7.2% and an annualized volatility of 15.28%. The maximum drawdown was -27.64%, from 2022-10-14 to 2025-06-20, and it had not recovered by 2026-10-02. The longest drawdown lasted 994 sessions.
Calendar returns were 6.13% in 2021, 30.2% in 2022, -6.07% in 2023, -1.18% in 2024, -3.14% in 2025 and 19.94% so far in 2026. The fund's return came in two bursts, one in 2022 and one in 2026, with three flat to negative years between them. A momentum breakout rule is built for bursts, and it caught only the first.
The fund moved against stocks and bonds. Its correlation to SPY was -0.16, to QQQ -0.17 and to TLT -0.39, with betas of -0.15, -0.11 and -0.39. Its closest relatives by correlation were CTA at 0.43 and TBF at 0.4, and its least correlated funds were IGIB at -0.45 and AGG, BND and IEF at -0.44. That makes it a diversifier, but a rule that trades only the fund sees none of the benefit of holding it beside stocks.
KMLM was up on 52.36% of days. The average up day was 0.7% and the average down day -0.73%, with an average daily range of 0.96%. A 10% rise over 20 sessions asks for many consecutive strong days. The fund's five largest days ran from 2.8% to 3.42%, and it fell 10% from a 20-day high only 5 times, over 21 days.
It closed above its 200-day average on 45.6% of sessions and crossed it 42 times. The 14-day RSI fell below 30 on 31 sessions, with a median 20-day forward return of 0.49% against a baseline of 0.64%, and the 2-day RSI below 10 fired 131 times with a median 20-day return of 0.24%. Mean reversion measures show no tilt here, which matches the fund's trend-following character. The month-of-year averages show a strongly negative November at -4.73%, which coincides with the trade that was stopped out on 2022-11-10.
Overnight gaps and weekday returns in KMLM
KMLM's return splits unevenly between the overnight gap and the trading session. The overnight log return was 128.1% and the intraday log return was -88.21%, so every bit of the fund's gain arrived between the close and the next open. The average overnight gap was 0.56%, against an average intraday range of 0.96%. This rule buys at the open once the 20-day return clears +10%, which means it pays the price after the gap has printed. For a fund that earns its return overnight, a signal built on 20 sessions of gains is late by construction.
The weekday averages are close to flat: Monday 0.17%, Tuesday 0.02%, Wednesday -0.05%, Thursday 0.03% and Friday 0.01%. The lag-one autocorrelation of daily returns was 0, so one day's move said nothing about the next day's. Whatever persistence KMLM has shows up over weeks, which is the horizon this rule uses, and the daily data gives it no help.
The rules
Buy after a +10% four-week burst and let a 10% trailing stop manage the exit.
- WHEN the market opens · IF not invested AND the 20-day return > +10% · THEN buy with 98% of the sleeve
- WHILE invested · a managed trailing stop follows 10% below the position's high-water mark
Momentum entry, trailing-stop exit. A +10% gain over 20 sessions marks a burst of momentum. The template buys the strength and exits on a 10% trailing stop that ratchets up beneath the highest close and never moves down. There is no profit target, so winners run until the trail is hit.
Good for: high-momentum assets where trends extend, such as semiconductor and leveraged tech ETFs.
Watch out: buying strength means buying high; when a burst immediately reverses, the trail exits about 10% below the entry.
How the rules fit this fund
The rule has two parts. The entry fires at the open when the strategy is flat and the 20-day return is above +10%, and buys with 98% of the sleeve. While invested, a managed trailing stop follows 10% below the highest close and never moves down. There is no profit target, so a winner runs until the stop is hit.
KMLM is an index of futures trends, so it already smooths the market moves that a momentum rule looks for. The fund's daily range is small, and that is why this template has a median CAGR of 0% across all 59 funds and across its category. On KMLM it ranked 24th of 59 for the strategy, and the strategy ranked seventh of 12 on KMLM.
Other templates did better here. The monthly cycle returned 8.06% with a drawdown of 23.99%, the weekly 7% target 6.13%, and the EMA 12/26 trend 5.11% with 22.03%. RSI(2) snapback returned 3.95% with a drawdown of 14.21%. The 200-day regime filter came last at 0.24%. The momentum breakout had the lowest drawdown of the 12 on this fund, at 10.02%, and the dip buyer returned 2.25%.
Among alternative-strategy funds, CLSE returned 10.1% with no round trips in this rule's record, and QAI and ALTY returned 0% with no trades. RINF lost 2.27% and CTA 2.81%. See the strategy hub and the KMLM page for all 59 funds and every template.
The test stops at one window. Two trades cannot support a strong claim about a momentum rule on a managed futures fund, and the template needs a fund that bursts often enough to give it a sample.
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 momentum breakout beat buy-and-hold on KMLM?
Over 2021-01-04 to 2026-10-02, momentum breakout on KMLM returned 2.1% annualized vs 7.1% for buy-and-hold: it trailed buy-and-hold by 5.0% per year, with a maximum drawdown 17.3 points shallower than holding (10.0% vs 27.3%).
How many trades did it make?
2 completed round trips over 5.7 years (4 fills), with 50% of round trips closing profitably.
How does the trailing stop work in the backtest?
The stop sits 10% below the highest price since entry and only ratchets up. When a bar trades through it, the position sells at the stop, or at the open if the price gaps below it. Trailing-stop exits can be backtested now; deploying them live is not available yet.
Did the momentum breakout beat buy-and-hold on KMLM?
No on return, yes on drawdown. The strategy returned 2.11% a year against 7.07% for buy-and-hold, ending at $11,274 against $14,798. Its maximum drawdown was 10.02% against 27.27%. The result comes from two trades in 2022.
Why did the strategy trade only twice?
The entry needs a +10% gain over 20 sessions while the account is flat. KMLM met that only in 2022 in a way that led to a trade, on 2022-03-04 and 2022-08-30. With a 20% entry the rule made no trades at all.
What were the two trades?
The first bought at $26.35 on 2022-03-04 and sold at $30.35 on 2022-06-23, a gain of 15.18%. The second bought at $30.55 on 2022-08-30 and sold at $29.98 on 2022-11-10, a loss of 1.87%. The profit factor of 7.07 reflects only those two.
How much did trading costs matter?
Very little. At 5 basis points the final value was $11,253 and at 10 basis points $11,232, against $11,274 with no slippage. There were only 4 fills. KMLM trades thinly, so a real fill could cost more than the model assumes.
What happens if the trailing stop is changed?
A 5% stop gave 0.25% with 6 trades, and a 15% stop gave 0.31% with a drawdown of 17.27%. Both were below the published 10% stop at 2.11%. The result is from one window with very few trades.
Does KMLM suit a momentum rule?
Only partly. The fund returned 30.2% in 2022 and 19.94% so far in 2026, but was flat to negative in 2023, 2024 and 2025. A rule that waits for a 10% burst caught the first run and had no entry signal for the rest.
Related
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.