Building and testing a swing routine

What you will learn

  • Run a daily routine of scan, plan, execute and review on end-of-day data
  • Read a backtest through trade count, expectancy, profit factor and drawdown rather than return alone
  • Recognize look-ahead, survivorship, cost and overfitting errors, and test a system out of sample

Check your understanding

Answer each question to see the explanation. Answers are not saved.

  1. A system's backtest shows 45% wins, an average win of 2.0R and an average loss of 1.0R. What is its expectancy per trade?

    1. A +0.35R
    2. B +0.90R
    3. C −0.10R
    4. D +1.00R
    Show the answer

    Answer: A. 0.45 × 2.0 − 0.55 × 1.0 = 0.90 − 0.55 = +0.35R. A win rate below half is fine when the average win is large enough.

  2. A trader tests a moving-average length from 5 to 30. Lengths 18 to 24 all produce similar, positive results, while 25 and above lose. Length 21 is slightly the best. How should this be read?

    1. A Only 21 works; any other value will fail
    2. B The result is overfitted, so the idea should be dropped
    3. C There is a plateau from 18 to 24, which suggests the idea is robust; the exact best value matters little
    4. D The trader should test 21.5 to find the true optimum
    Show the answer

    Answer: C. Neighbouring values that work similarly point to a real pattern rather than luck. Hunting for the single best value adds nothing but overfitting.

  3. A mean-reversion backtest looks strong with signal-day close fills and no costs, but turns flat with next-open fills and 10 basis points per side. What is the most reasonable conclusion?

    1. A The second test is wrong; trust the first, cleaner one
    2. B The edge is too small to survive real execution
    3. C Costs never matter for swing trading with multi-day holds
    4. D The system needs a larger position size
    Show the answer

    Answer: B. Short-term systems with small average gains are the most sensitive to fills and costs. If realistic assumptions erase the result, there is no tradable edge.

  4. A trader builds a dip-buying system and tests it only on stocks listed today, over a five-year bull market. Which two biases most likely flatter the result?

    1. A Look-ahead bias and rounding errors in the adjusted price data
    2. B Ignored costs and missing dividend payments
    3. C Overfitting and testing on too many stocks at once
    4. D Survivorship bias and reliance on one favorable period
    Show the answer

    Answer: D. Delisted and bankrupt companies, often the dips that never recovered, are missing, and a single bull market hides how the rules behave in a decline. Testing across periods that include a bear market addresses the second problem.

  5. After eight losing trades in a row, a trader's system is in a drawdown 0.8 times the deepest one in its backtest. All trades followed the rules. What does this lesson suggest?

    1. A Rewrite the entry rules immediately to stop the losing streak
    2. B Double the size to recover the drawdown faster
    3. C Continue as planned; it is within the limit set in advance
    4. D Switch to whichever system performed best over the last month
    Show the answer

    Answer: C. Losing streaks are part of every profile, and a stopping rule decided in advance, such as 1.5 times the tested drawdown, prevents decisions made under pressure. Changing rules after each loss resets what is known about the system.

  6. In the evening routine, a pullback setup looks excellent, but the stock reports earnings in two days and the trader already holds three positions in the same sector. What should the plan say?

    1. A Skip it: it fails the event and portfolio checks
    2. B Take it, because an excellent chart outweighs the checks
    3. C Take it with a tighter stop to offset the extra risk
    4. D Take it now and decide about earnings nearer the date
    Show the answer

    Answer: A. The plan step discards any candidate that fails a check, however attractive the chart. A tighter stop does not protect against an earnings gap or sector correlation.

Continue in Clear Tape

With a free account, your progress and quiz scores are saved, and you can practise with the question bank, keep a wrong-answer book and study real chart examples.