STRATEGY DEVELOPMENT

How to Build a Trading Strategy from Scratch: Without Curve-Fitting

RB Trading 11 min read

Most "build your own strategy" guides start with indicators and chart patterns. That's backwards. A strategy starts with a market hypothesis, not a setup, and the difference is why 90% of homemade strategies look great in backtest and lose money live.

This is the 7-step framework that produces strategies that actually survive live trading.

Step 1: Pick a market hypothesis (not an indicator)

A strategy needs a reason to work. The reason is a hypothesis about how a specific market behaves at a specific time.

Bad hypothesis (indicator-led):

Good hypothesis (market behaviour-led):

The second one is testable, observable, and has a structural reason to exist. The first one is just a math relationship that may or may not have edge.

Write your hypothesis in one sentence:

If you can't fill in all 4, your hypothesis isn't good enough.

Step 2: Define the setup precisely

Now turn the hypothesis into an objective checklist:

Setup: NY Open Pullback (NAS100)
Entry conditions:
  [ ] Time between 14:30-16:00 UK
  [ ] 5-min trend confirmed (3 consecutive higher highs OR 3 consecutive lower lows)
  [ ] Price pulls back to 21 EMA on 5-min, touches within 5 points
  [ ] Rejection candle at EMA: hammer or shooting star, wick > body
  [ ] DXY direction confirms (e.g. long NAS = DXY weak or flat, not surging)
Exit conditions:
  [ ] Stop: 1.5× ATR(14) beyond rejection wick
  [ ] Target: 2R OR opposite swing high/low, whichever is closer
  [ ] Time-stop: close at 17:00 UK regardless

If the rules are subjective ("clear rejection," "good price action") then the strategy can't be tested. Subjective rules will appear to have edge in your manual backtest because you're cherry-picking unconsciously.

Step 3: Manually test 50 trades on past charts

Before automating anything, scroll back through historical charts and find 50 instances of the setup, without looking ahead.

The discipline: scroll to the day, mark the entry, then advance bar-by-bar to see what happens. Don't peek at the right edge before marking entry.

Track for each trade:

After 50 trades, calculate:

Expectancy above +0.3R per trade = solid edge. Expectancy 0 to +0.3R = marginal, needs refinement. Expectancy below 0 = the setup doesn't work, scrap it.

Step 4: Run an out-of-sample test

The next 50 trades should come from a different time period than your first 50. Test 1 = 2022 data. Test 2 = 2023 data. Don't tweak rules between tests.

If your expectancy in Test 2 is similar (within 30%) of Test 1, you have a real strategy. If it drops to half or goes negative, you over-fit to Test 1 data.

This is the single most-skipped step. Most homemade strategies look great because they were tuned on the same data used to evaluate them. Out-of-sample testing exposes curve-fitting.

Step 5: Forward test on a demo account for 30 days

Live demo trading reveals problems backtests miss:

Run the strategy for 30 days on demo. Use real position sizes (your planned account × planned risk %). Take every signal that fires, even bad-looking ones.

After 30 days, compare expectancy to your manual backtest. Expect a 20-30% drop. If it's worse than that, something in the live conditions is killing the edge.

Step 6: Quantify position sizing BEFORE going live

Risk per trade = 0.5-1% of account.

Account: $50,000
Risk per trade: 1% = $500
Setup A average stop distance: 15 points on NAS100
Per-lot risk at 15pt: $15 (assuming $1/pt CFD)
Position size: $500 / $15 = ~33 lots

If your strategy backtest had a 15% max drawdown over 100 trades, your live max drawdown could easily be 25%. Plan for it:

Drawdown math is more important than expectancy math. Strategies that have edge but blow accounts during normal drawdowns aren't tradeable.

Step 7: Journal every live trade

Once live, every trade goes into a journal that tracks:

After 50 live trades, review per-setup expectancy + per-deviation expectancy. You'll find that:

The journal data IS the iteration. Without it, you're guessing why the strategy isn't performing.

Common curve-fitting traps

  1. Over-fitting to recent data, using only the last 6 months of charts means your strategy is tuned to a single regime
  2. Cherry-picking instruments, testing on only winning pairs and ignoring the rest
  3. Optimising parameters too tightly, best EMA = 23, best stop = 1.6× ATR, etc. = curve-fit
  4. Ignoring spread / slippage, backtest with 0 spread assumption, live trades pay 2-5 pips spread
  5. Subjective "I would have skipped that one", every signal that fires in the rule set MUST be counted

If your strategy needs to be perfect to work, it's curve-fit. A real strategy survives missed trades, slippage, and a few subjective skips and still produces edge.

The realistic timeline

Total: 3 months from hypothesis to live trading. Strategies built faster than this are usually curve-fit and die within their first month live.

How to track strategy development cleanly

The hardest part isn't running tests, it's organising data across 50 manual trades + 50 OOS trades + 30 demo days + live trades without losing track.

RB Trading Pro Journal has a strategy development module specifically for this: backtest replay, R-tagged setups, OOS analytics, and live-vs-test expectancy comparison. Risk-free for 30 days.

TL;DR

7-step framework:

  1. Market hypothesis (not indicator)
  2. Setup as objective checklist
  3. 50-trade manual backtest with expectancy
  4. 50-trade out-of-sample to detect curve-fit
  5. 30-day demo forward test
  6. Quantify position sizing for max drawdown
  7. Journal every live trade, iterate from data

Strategy building is slow because it has to be. The traders who skip steps are the ones whose perfect-looking backtest goes to zero in month 2 live.

RB Trading Pro Journal

Stop guessing. Start tracking.

30-day money-back guarantee · Cancel anytime · Used by 7,000+ funded traders

Find your edge →
Strategy DevelopmentBacktestingEdge