Stratsemble
Strategy library
OfficialAdvanced (multi-factor)

Trend-Filtered Stochastic Dip Microsoft strategy backtest

Buys an oversold stochastic only above the 200-day line, sells back into overbought

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 is above Moving average (SMA)(200) and Stochastic(14,3) k is below 20.
  • Sells when Stochastic(14,3) k is above 80.
  • Takes profit at +20%.
  • Uses a 10% stop-loss.
Run this exact strategy yourself — pick a window:
Microsoft · 2016-09-142026-09-11 (2512 bars) · costs & slippage on · vs buy & hold
Drawdown — how far underwater you'd have been
Total return
+94.0%
Buy & hold +892.1%
vs Buy & Hold
-798 pts
lagged the benchmark
Max drawdown
-19.3%
worst peak-to-trough
CAGR
+6.9%
Win rate
71%
Profit factor
2.33
Sharpe
0.62
Trades
42
Time in market
18%
Best trade
+8.5%
Worst trade
-10.1%
Worst drawdowns · peak → troughDepthTo troughUnderwaterRecovered
2020-02-262020-03-12-19.3%15d363dyes
2022-01-122025-11-21-15.5%1409d1703dstill underwater
2018-11-282018-12-24-9.9%26d168dyes

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.