Judging and comparing strategies.
Two lessons from my course, and how they bear on my own strategy. Everything on this page runs on a generated market, a teaching example where I know the truth, so none of these numbers say anything about real prices.
01 lesson 1
Judging a strategy
A 50-day moving-average trend rule against buy and hold, on a generated market, scored on the four numbers every quant reads first. The rule looks clearly better, which is exactly when to ask how much of it is luck.
| Generated market | CAGR | Volatility | Sharpe | Sortino | Max drawdown | Calmar |
|---|---|---|---|---|---|---|
| Buy and hold | −9.97% | 21.24% | −0.39 | −0.53 | −72.6% | −0.14 |
| MA50 trend rule | +4.30% | 12.45% | +0.40 | +0.59 | −25.6% | +0.17 |
Source my Lesson 1 scorecard. Data one generated market, a teaching example. No costs.
- Sharpe
- Average return per unit of volatility. Gains and losses both count as risk.
- Sortino
- Like Sharpe, but only the losing days count as risk, so it cares about the shape of the losses.
- Max drawdown
- The worst fall from a previous peak: the pain you would have had to sit through.
- Calmar
- Annual return divided by the maximum drawdown: return per unit of worst-case pain.


02 lesson 2
Breakouts versus bands
Three classic systems. The Turtle breakout buys a new 20-day high and sells a new 10-day low. Dual Thrust is another breakout system. Bollinger Bands go the other way: a mean-reversion bet that a stretched price snaps back. I ran each on generated markets with a known personality. Drag the slider from strongly mean-reverting to strongly trending.
Average Sharpe over 60 generated markets at each slider position. The thin line is a 95% margin of error: a bar whose line crosses zero is not distinguishable from luck. Source my Lesson 2 sweep. Generated markets, teaching example.
The three headline regimes
| Average Sharpe (share of markets that profit) | Trending | Random | Mean-reverting |
|---|---|---|---|
| Turtle | +0.21 (62%) | −0.03 (48%) | −0.94 (0%) |
| Bollinger | −0.34 (23%) | −0.05 (47%) | +1.07 (100%) |
| Dual Thrust | +0.12 (60%) | −0.04 (52%) | −0.51 (9%) |
Data 120 generated markets per regime. Buy and hold shows about +0.07 in every regime: zero by design, and the small positive is a quirk of how percentage returns compound, so read it as zero.

- Opposite strategies, opposite results. The breakouts lose money in a mean-reverting market and Bollinger loses in a trending one. Nothing is "the best".
- The random market is the sanity check. All three sit near zero there, so the profits elsewhere come from the market's personality and not from a bug in my simulator.
- The catch. Real markets do not come labelled, and they switch personality. That is the hard part.
03 in practice
Where TrendMaster fits
TrendMaster is a trend-following system, so it is a bet that the market it trades is the trending kind. My own verdict on it calls it regime-dependent, which is exactly the problem lesson 2 shows. The frozen research configuration, S3, is simple:
- Direction
- long-only
- Stop
- 6× ATR, no trailing stop
- Max hold
- 120 bars
- Re-entry cooldown
- 24 bars
- Risk per trade
- 1%
- Commission
- 0.05% per side
- Slippage
- 1 tick + 1 bp
Source TrendMaster master document, compiled 2026-11-25, config hash 1cfd6e61b19b9df3. Real market data, unlike everything above.
Read the full TrendMaster write-up → · Open the lessons in the course ↗
The strategy lessons are based on Letian Wang's open-source QuantResearch repository (MIT licence). The charts and data here come from my lessons; the markets in them are generated.