Backtest · ~12 min

Backtest Lab

Replay scan-style rules on historical data and inspect forward returns.

~12 min read

Swing Edge shows research scan results only. Nothing here is a buy, sell, or hold suggestion. Always check the chart and your own plan before any decision.

Page screenshot

Numbered markers highlight areas described in the steps below (desktop layout).

Desktop
Backtest Lab — desktop
  1. Strategy Backtest
  2. Backtest hero
  3. Ready-made setups
  4. Trend & volume rules
  5. RSI / ATR filters

Screenshot coming soon

Add desktop.png under static/tutorials/backtest-lab/

Desktop / web

Step-by-step

  1. Purpose

    Study how a scanner rule set behaved in the past — hit rate, average gain, drawdown over fixed forward windows (e.g. 20/60 sessions). Not a live picker.

  2. Scan type

    Choose which rule family to replay (base, breakout, breakdown, etc.) — mirrors production scanner logic on old dates.

  3. Date range

    Start and end dates for signal generation. Longer ranges = more samples but mixed regimes.

  4. Score cuts

    Minimum score filters to see if higher-score subsamples changed outcomes in history.

  5. Results panel

    Hit rate (% signals with positive forward return), average/max gain, average drawdown, sample count.

  6. Forward windows

    Returns measured from signal close over N days — standardized horizons, not hold-to-exit advice.

  7. Limitations

    Survivorship, liquidity, and slippage are simplified. Past stats do not predict future results.

Detailed reference

Hit rate

Share of signals that closed higher (or met the win definition) by the end of the forward window in the backtest engine.

Drawdown in backtest

Worst peak-to-trough move against the signal within the forward window — risk context for rule research.

Open in the app

FAQ

What does the Strategy Backtest tutorial cover?

Replay scan-style rules on historical data and inspect forward returns.

Is the Strategy Backtest tutorial investment advice?

No. Swing Edge tutorials explain scan data and app features for your own research. They do not recommend buying, selling, or holding any security.

How do I get started with Strategy Backtest on Swing Edge?

Purpose: Study how a scanner rule set behaved in the past — hit rate, average gain, drawdown over fixed forward windows (e.g. 20/60 sessions). Not a live picker.

Related tutorials