Skip to content
GetProfitable
Search

Backtesting and Strategy Development: Testing an Idea Before You Pay for It

How to turn a trading idea into unambiguous rules, test it on clean data with honest costs, read the results without fooling yourself, avoid overfitting, and carry a system from spreadsheet to live account. Worked examples for stocks, futures, forex and crypto.

Module 1: What a backtest can and cannot tell you

Start from a hypothesis, keep data you have not looked at, and understand why a backtest is evidence rather than a track record.

  1. Hypothesis first9 min
  2. In-sample and out-of-sample10 min
  3. A backtest is not a track record9 min

Take the module quiz

Module 2: Data

Where price data comes from in each market, the biases baked into it, adjustments, continuous futures, sessions and bad ticks.

  1. Where data comes from, by market10 min
  2. Survivorship and look-ahead bias11 min
  3. Adjusted prices and continuous futures11 min
  4. Time zones, sessions and bad ticks10 min

Take the module quiz

Module 3: Rules a machine could follow

Write entries, exits, sizing and filters so precisely that two people testing the same idea would get the same trades.

  1. Entry, exit, sizing and filters as rules10 min
  2. Discretionary versus systematic9 min
  3. Translating a chart pattern into rules11 min

Take the module quiz

Module 4: Costs and realism

Commissions, spread, slippage models, what a limit or stop order really fills at, latency, capacity, borrow and funding.

  1. Commissions, spread and slippage models11 min
  2. Fill assumptions for limit and stop orders10 min
  3. Latency and capacity9 min
  4. Borrow costs and funding10 min

Take the module quiz

Module 5: Reading results

Expectancy, profit factor, Sharpe and Sortino without the marketing, drawdown, R distributions, equity curve shapes, sample size and Monte Carlo.

  1. Expectancy, profit factor and the distribution of R10 min
  2. Sharpe and Sortino, explained honestly11 min
  3. Drawdown, recovery and equity curve shapes10 min
  4. Sample size and Monte Carlo reshuffling12 min

Take the module quiz

Module 6: Overfitting and how to avoid it

Parameter sensitivity, degrees of freedom, walk-forward analysis, multiple testing, the deflated Sharpe idea, and why a single bull market proves nothing.

  1. Parameter sensitivity and degrees of freedom11 min
  2. Walk-forward analysis11 min
  3. Multiple testing and the deflated Sharpe12 min
  4. It worked on SPY 2010 to 202110 min

Take the module quiz

Module 7: Tools

Bar-by-bar replay, a spreadsheet template you can copy, the TradingView strategy tester and its traps, Python libraries, and desktop platforms.

  1. Manual replay and the spreadsheet backtest12 min
  2. TradingView's strategy tester and its pitfalls11 min
  3. Python, desktop platforms and commercial tools11 min

Take the module quiz

Module 8: From backtest to live

Paper trading, incubation, sizing from backtest drawdown, monitoring live versus expected, knowing when to stop, and a go-live checklist.

  1. Paper trading and incubation10 min
  2. Sizing from backtest drawdown10 min
  3. Monitoring divergence and when to stop11 min
  4. The go-live checklist9 min

Take the module quiz

Educational content, not financial advice.