Strategy family · Price action

Breakout and retest

A breakout and retest strategy waits for price to break a level, then enters when it returns to that level and holds, instead of chasing the first move. It gives a tighter stop at the cost of missing breakouts that never retest. To test it, define the level, the retest tolerance, the wait time and what counts as holding in numbers.

What is the idea?

Rather than buying the moment price clears resistance, the rule waits. If price pulls back to the broken level and it now acts as support, the entry is taken there. The appeal is a tighter stop, placed just beyond the level, and avoiding entries on breakouts that fail straight away.

The cost is the trades you never get. Strong moves that never retest leave you watching, and these are often the best breakouts. A test has to measure both sides: how much the retest improves the trades you take, and how much it costs in trades you miss.

Defining the retest precisely is what turns the idea into a rule. How close counts as a retest, how long to wait, and what counts as holding all change which trades are taken, and a loose definition quietly turns the rule into a plain breakout.

The rules, in order

  1. Define the level: a prior high or low, a range boundary, or a channel edge.
  2. Record a breakout when a candle closes beyond the level by a minimum margin.
  3. Wait for price to return within a set tolerance of the level, within a maximum number of candles.
  4. Require evidence that it holds, such as a close back on the breakout side, or a rejection candle.
  5. Enter, with the stop just beyond the level and a target at a multiple of the risk.
  6. Cancel the setup if the wait expires or price closes back through the level by a set amount.

The settings the rules hide

Every setting below is a choice, and each one changes which trades the strategy takes. They have to be fixed before a test, and the more of them there are, the more room there is to fit the past.

Settings, what each controls, and what to watch for.
SettingWhat it controlsNote
Level definitionWhich levels countA looser definition finds more levels and more noise.
Breakout marginHow far beyond the level counts as a breakA larger margin avoids marginal breaks but enters later.
Retest toleranceHow close to the level counts as a returnToo loose and it stops being a retest.
Maximum waitHow many candles a retest may takeShort waits discard slow retests. Long waits let stale setups trigger.
Hold ruleWhat proves the level heldA strict rule reduces false entries and trade count together.
Stop and targetRisk and rewardA tight stop beyond the level is the main attraction. Check costs.

What AKQX provides for this

AKQX does not currently list breakout-and-retest as a ready-made template, so this page is about the idea and how to test it.

The idea is testable in principle once the retest is written as explicit numbers. Check the Strategy Builder in the app for what it currently supports. Backtests apply estimated fees and slippage and report expectancy, profit factor, drawdown and trade count.

How to backtest it honestly

  1. Write the level, the margin, the tolerance, the wait and the hold rule in numbers before testing.
  2. Measure the retest rate: of all breakouts, how many returned to the level at all. If it is low, the strategy takes few trades.
  3. Compare against simply entering on the breakout, with the same stop logic where possible. The question is whether waiting actually improved the outcome, including the trades you missed.
  4. Check the tight stop against costs. A very tight stop makes fees and slippage a large share of the risk.
  5. Nudge the tolerance and the wait and check the result degrades gradually.
  6. Test on unseen data, then paper trade, where partial fills near a level are common.

The full method is in how to backtest a crypto strategy, and the way results are scored is on the methodology page.

A worked example, with made-up numbers

Illustrative only: resistance at 100 breaks when a candle closes at 100.6, past a minimum margin of 0.5. Price reaches 104, then falls back to 100.3, inside a tolerance of 0.4 of the level, within the 20-candle wait. The next candle closes at 100.9, back on the breakout side, which satisfies the hold rule, so the rule buys with a stop at 99.8. Had price never returned within 20 candles, the setup would simply have lapsed.

Where it goes wrong

  • Treating the retest as certain. Many breakouts never come back, and many retests fail.
  • A tolerance so loose that the rule is really just a breakout.
  • Ignoring the missed trades, which may include the best ones.
  • Judging it on the trades taken without counting those skipped.

Educational only. AKQX is software only. It is not a SEBI-registered Investment Adviser or Research Analyst and gives no investment advice or recommendations. Backtest and paper-trading results are simulated and do not guarantee future results. Crypto products are unregulated and can be highly risky, and there may be no regulatory recourse for any loss.

Questions about breakout and retest

What is a retest?

It is price returning to a level it has just broken. If the broken level now acts as support, a long entry can be taken there with a stop just beyond it.

Is a retest better than entering on the breakout?

That is exactly what a test should measure. A retest gives a tighter stop but misses breakouts that never come back, and neither effect can be assumed in advance.

How do I define a retest for a test?

With numbers: how close to the level counts, how many candles you will wait, and what proves it held. Without them two people mark different retests.

Does AKQX have a breakout and retest template?

Not currently. Check the Strategy Builder in the app for what it supports. AKQX makes no claim that the idea is profitable.

Keep reading

Test it instead of taking it on trust

A free account includes 10 backtests a month and 1 paper algo, with no card and no broker connection.