Learn › Strategies › EMA 12/26 Trend › KMLM

EMA 12/26 Trend 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.

Result: EMA 12/26 trend on KMLM turned $10,000 into $13,307 (33.1% total, 5.1% CAGR): it trailed buy-and-hold by 2.0% per year, with a maximum drawdown 5.2 points shallower than holding (22.0% vs 27.3%).
5.1%CAGR
7.1%buy & hold CAGR
−22.0%max drawdown
0.52Sharpe ratio
20round trips
40%win rate
■ EMA 12/26 trend   ■ buy & hold, $10,000 invested 2021-01-04

Year by year

YearEMA 12/26 trendbuy & hold
20211.7%6.0%
202231.3%29.6%
2023−9.2%−6.0%
2024−4.4%−1.2%
2025−3.1%−3.1%
202618.3%19.6%

Month by month

YearJanFebMarAprMayJunJulAugSepOctNovDec
20210.0%0.0%0.6%5.5%−0.8%−1.8%0.3%−0.2%0.0%4.0%−5.1%−0.4%
20220.0%4.5%8.7%9.6%1.5%−1.3%1.6%1.1%4.0%−1.5%0.0%0.0%
20230.0%0.3%−2.9%1.9%1.4%−2.5%−3.0%−2.4%4.3%−3.2%−3.1%0.0%
20240.0%−0.7%2.3%4.1%−4.9%0.0%0.3%−4.3%−1.2%0.0%0.0%0.1%
2025−2.2%0.0%0.3%−0.7%0.0%−0.9%−0.8%−0.3%0.7%0.0%0.0%0.9%
20260.1%4.2%4.1%5.0%−4.5%1.4%1.1%1.9%3.9%0.1%––

Every trade

EMA 12/26 trend on KMLM made 20 closed round trips and one position still open at the end of the test, an average hold of 54 days, an average winner of 6.23%, an average loser of −1.96%, a profit factor of 1.86, a longest losing streak of 7. It held a position at the close on 56.1% of trading days.

EntryEntry priceExitExit priceReturnDays held
2021-03-23$21.572021-08-05$22.353.6%135
2021-10-01$22.612021-12-02$22.21−1.8%62
2022-01-27$23.262022-07-01$29.6427.4%155
2022-08-22$30.522022-10-31$31.623.6%70
2023-02-17$28.422023-03-16$27.65−2.7%27
2023-04-20$28.562023-06-21$28.750.7%62
2023-07-10$29.522023-07-25$28.63−3.0%15
2023-08-04$29.212023-08-08$28.59−2.1%4
2023-08-15$29.482023-10-12$29.971.7%58
2023-10-18$30.812023-11-06$29.55−4.1%19
2024-02-13$27.772024-05-07$27.940.6%84
2024-07-09$27.942024-08-07$27.30−2.3%29
2024-08-22$28.052024-08-30$27.55−1.8%8
2024-09-06$27.872024-09-26$27.54−1.2%20
2024-12-18$26.742025-01-21$26.18−2.1%34
2025-03-17$25.922025-04-02$25.80−0.5%16
2025-06-03$25.282025-06-12$25.04−0.9%9
2025-07-07$25.092025-08-04$24.84−1.0%28
2025-08-19$25.482025-10-30$25.630.6%72
2025-12-12$25.702026-06-01$28.7011.7%171
2026-07-16$29.00open–7.2%–

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
2022-06-132025-08-28−22.0%1172not yet–
2021-05-122021-07-19−9.4%682022-03-02226
2022-04-182022-04-25−4.4%72022-05-027

Buy-and-hold's deepest drawdown ran from 2022-10-14 to 2025-06-20 and reached −27.3%.

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)5.1%−22.0%$13,3070.52
5 basis points4.7%−23.3%$13,0430.49
10 basis points4.4%−24.5%$12,7890.46

Changing the parameters

VersionCAGRMax drawdownRound tripsWin rateFinal value
Published rules5.1%−22.0%2040%$13,307
EMA 8/215.8%−22.1%2741%$13,789
EMA 20/501.2%−30.1%1520%$10,692
EMA 12/501.2%−32.0%1724%$10,701

How KMLM behaved

MeasureKMLM
Data in this test2021-01-06 to 2026-10-02 (1313 sessions)
Total return, buy and hold49.0%
Annualized volatility15.3%
Deepest drawdown−27.6% (2022-10-14 to 2025-06-20)
Up days52.4%
Average daily range0.96%
Average overnight gap0.56%
Correlation to SPY-0.16
Correlation to QQQ-0.17
Correlation to TLT-0.39
Sessions above the 200-day average45.6%
Crossings of the 200-day average42
Falls of 10% or more from a 20-day high5

The rules

Hold while the 12-day exponential average is above the 26-day, the core of the MACD used as a position switch.

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

The 12/26 exponential moving average pair is the core of the MACD indicator. Exponential averages weight recent days more than simple averages, so this crossover reacts faster than an SMA pair of the same length. Used as a long/flat switch, it gives you a position you can hold and measure.

Good for: traders who like MACD logic but want it expressed as a simple, testable long/flat rule.
Watch out: faster reaction means more trades and more whipsaws than a 50/200 cross; check the trade count on each backtest page.

Run EMA 12/26 trend on KMLM 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 EMA 12/26 trend beat buy-and-hold on KMLM?

Over 2021-01-04 to 2026-10-02, EMA 12/26 trend on KMLM returned 5.1% annualized vs 7.1% for buy-and-hold: it trailed buy-and-hold by 2.0% per year, with a maximum drawdown 5.2 points shallower than holding (22.0% vs 27.3%).

How many trades did it make?

20 completed round trips over 5.7 years (41 fills), with 40% of round trips closing profitably.

Is this the same as trading MACD signals?

It uses the MACD's underlying trend component. Classic MACD trades the signal-line crossover of the 12/26 spread. This template trades the spread's sign directly, which is simpler and can be built fully in blocks.

Related

EMA 12/26 Trend on all 59 ETFsfull results table All strategies on KMLM12 templates compared RSI(14) Mean Reversion on KMLMsame ETF, different rulesRSI(2) Dip Snapback on KMLMsame 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.