Stratsemble
Strategy library
OfficialTrend-following

50-Day Trend Ride Tesla strategy backtest

Long while price holds above its 50-day average; a trailing stop follows the run.

A curated strategy — a well-known mechanism with sensible risk management built in. Still not a recommendation — it's a mechanism you test yourself.

How this strategy works
  • Buys when Close price crosses above Moving average (SMA)(50).
  • Sells when Close price crosses below Moving average (SMA)(50).
  • Trails the stop 15% below the peak.
Run this exact strategy yourself — pick a window:
Tesla · 2016-09-142026-09-11 (2512 bars) · costs & slippage on · vs buy & hold
Drawdown — how far underwater you'd have been
Total return
+1199.8%
Buy & hold +2690.9%
vs Buy & Hold
-1491 pts
lagged the benchmark
Max drawdown
-58.3%
worst peak-to-trough
CAGR
+29.3%
Win rate
28%
Profit factor
2.93
Sharpe
0.88
Trades
88
Time in market
47%
Best trade
+219.6%
Worst trade
-13.5%
Worst drawdowns · peak → troughDepthTo troughUnderwaterRecovered
2017-06-232019-10-07-58.3%836d943dyes
2023-07-182024-06-14-51.4%332d517dyes
2025-11-032026-09-10-34.5%311d312dstill underwater

How this is computed → (closed-bar, costs on, vs buy & hold — the full method.)

Past performance is not a reliable indicator of future results. This is an educational, analytical tool — not investment advice, and not a recommendation to buy or sell anything. You make all decisions and execute on your own broker.

Hypothetical performance disclaimer (CFTC Rule 4.41)

HYPOTHETICAL OR SIMULATED PERFORMANCE RESULTS HAVE CERTAIN LIMITATIONS. UNLIKE AN ACTUAL PERFORMANCE RECORD, SIMULATED RESULTS DO NOT REPRESENT ACTUAL TRADING. ALSO, SINCE THE TRADES HAVE NOT BEEN EXECUTED, THE RESULTS MAY HAVE UNDER- OR OVER-COMPENSATED FOR THE IMPACT, IF ANY, OF CERTAIN MARKET FACTORS, SUCH AS LACK OF LIQUIDITY. SIMULATED TRADING PROGRAMS IN GENERAL ARE ALSO SUBJECT TO THE FACT THAT THEY ARE DESIGNED WITH THE BENEFIT OF HINDSIGHT. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO ACHIEVE PROFITS OR LOSSES SIMILAR TO THOSE SHOWN.

How this backtest works
Data
Yahoo Finance / Binance daily OHLC, split-adjusted. Recomputed on each run.
Costs
Commission + tiered slippage on every fill. No leverage.
Execution
Signals act on the next open after a bar closes — never on a price you couldn't have known.
Look-ahead & survivorship
Indicators use closed bars only; the forming bar is dropped. Survivorship is labelled, not hidden.
Benchmark
Measured against buy & hold of the same asset over the same window.
What it isn't
Not advice, not a prediction, no profit claim. I hold no funds and place no orders.