← All strategy guides

How to backtest a gap-and-go or runner strategy

A gap-and-go buys a stock that gaps up and keeps moving. A runner strategy joins a stock that has already moved a set percentage within a short time, expecting the move to continue. Both are momentum setups, and both need the same thing from a backtest: an honest answer to how often the move follows through after your entry.

This guide covers the settings to start from in Trade4 and how to read follow-through in the results.

What you are testing

Momentum entries are late by design: you only enter after the stock has shown strength. The test must therefore answer two questions. Does enough of the move remain after the entry signal? And does the average winner pay for the frequent small losses?

Volume is the main filter. A spike on thin volume often reverses on the next bar, while a spike with heavy volume behind it is more likely to continue.

Starting settings in the Strategy Builder

Run the long continuation first, then test variations as separate runs.

Side
Long for continuation. The same rules with the short side test the opposite idea, a fade of the spike.
Gap and price filters
A minimum gap % for gap-and-go, or no gap rule for intraday runners, plus a price range.
Spike rules
A minimum % change over the last N minutes before entry. You can stack more than one rule, for example a 5-minute and a 30-minute move.
Volume
Premarket volume and cumulative regular-session volume minimums, so the test only takes names with real participation.
Entry window
Limit entries to the hours where the setup is meant to work, for example the first 90 minutes after the open, and compare with midday.
Trend conditions
Optional EMA entry rules and distance from VWAP, to stay on the right side of the intraday trend.
Exits
Stop-loss %, take-profit %, a moving-average exit to ride the move, and a time exit.

What to check in the results

  • Win rate together with average win and average loss. Momentum systems often win less than half the time and rely on larger winners.
  • Profit factor and expectancy per trade after costs.
  • The time-of-day breakdown: many runner setups only work in a narrow window.
  • Buckets by spike size and volume, to see where follow-through actually comes from.
  • Trade charts for the largest winners and losers, to check that entries are where you expect them on the chart.
  • Slippage sensitivity. Fast movers fill worse than the bar close suggests, so re-run with a higher slippage profile.

Common mistakes

  • Entering at the price of the bar that triggered the signal, which you could not have traded.
  • Testing only strong market periods, where every breakout worked.
  • Leaving out slippage on fast, thin stocks.
  • Adding filters until only the best historical trades remain.

Build this strategy without code and run it on tick data.

Sign up free

Questions and answers

What is a spike rule?

A rule that requires a minimum percentage move over a set number of minutes before an entry is allowed. Trade4 lets you combine several spike rules in one strategy.

Can I test both the continuation and the fade?

Yes. Keep the filters the same and switch the side, then compare the two runs. You can also combine strategies into one portfolio report.

How small can the bars be?

Intraday bars run from 4-hour down to 1-minute on most plans, and down to 1-second on the Elite plan.

Further reading

Other strategy guides

This guide is educational and is not investment advice. Backtest results describe the past and do not guarantee future results.