Tool lesson

Backtest: Define Exits Before The Chart

A practical Backtest lesson for treating exits as invalidation and risk boundaries, not afterthoughts added after the equity curve looks tempting.

13 minBeginner5 chapters

Lesson promise

Frame the question

What tells the strategy to leave, and what caps the damage?

Check the evidence

Use 5 guided chapters to read freshness, confidence, and caveats in order.

Move into the tool

Open Open Strategy Backtester with a checklist instead of a blank screen.

Educational workflow only. No trade recommendations, personalized advice, leverage guidance, or guaranteed outcomes.

Chapter 01

Write the exit before the chart appears

Trader question

What tells the strategy to leave, and what caps the damage?

An entry rule without exits is still unfinished. Before the run button matters, the learner should see exit logic, stop loss, and take profit as part of the same rulebook.

Desk checklist

  • Define exit logic before reading the chart.
  • Keep stop loss and take profit visible.
  • Treat any later exit change as a new test.

Interactive proof

Exit logic tree, stop loss, and take profit fields

Use the Exit Discipline Lab to compare the same entry rule with missing, partial, and complete exit assumptions.

1Exit logicLeave when the entry idea stopped being true.For the default RSI example, momentum can define an exit before the result chart appears.
2Stop lossSet the risk boundary as a percent assumption.A stop is not a prediction. It is the line where the test admits the idea has failed enough.
3Take profitPredefine the release valve before the tempting equity curve.A target caps the planned exit behavior so the test is not tuned after seeing the best past move.
4Curve-fit riskChanging exits after reading the chart creates a new test.If exits move because the first result disappointed, the learner must label it as a new case.

Exit logic belongs in the rulebook before the result chart. Changing stops, targets, or exits after seeing performance creates a new backtest case.

Interactive desk lab

Backtest Exit Discipline Lab

A practical Backtest exit lab for comparing missing, momentum, stop-only, and stop-plus-target exits before reading the equity curve.

A practical Backtest exit lab for comparing missing, momentum, stop-only, and stop-plus-target exits before reading the equity curve.

48s guide previewChapter visual

Exits are written before the chart

A covered equity curve stays hidden while exit logic, stop loss, and take profit are stamped onto the rulebook first.

What you will see4 steps
1

A tempting equity curve sits behind an opaque cover.

2

Exit logic, stop loss, and take profit cards slide in one at a time.

3

The cover lifts only after all exit assumptions are visible.

4

The final frame labels the result as a new case if exits change later.

Lesson notes

The full chapter walkthrough in reading form — use it to review the lesson or skim ahead before working through the interactive steps above.

Chapter 01

Write the exit before the chart appears

What tells the strategy to leave, and what caps the damage?

An entry rule without exits is still unfinished. Before the run button matters, the learner should see exit logic, stop loss, and take profit as part of the same rulebook.

Exit logic tree, stop loss, and take profit fields

  • Define exit logic before reading the chart.
  • Keep stop loss and take profit visible.
  • Treat any later exit change as a new test.

Chapter 02

Exit when the idea stopped being true

Which condition says the entry thesis is no longer active?

Exit logic is not decoration. In the default RSI example, an exit condition such as RSI 14 above 70 can mark that the oversold recovery case has changed.

Exit logic tree

  • Connect exit logic to the original entry thesis.
  • Do not rely only on a result chart to decide when to leave.
  • Keep exit logic separate from stop and target boundaries.

Chapter 03

Use stop loss as the risk boundary

How much adverse movement does this test allow before it admits failure?

The current visual Backtest risk model keeps the stop simple: a percent boundary. That boundary frames the simulation; it is not a promise about live fills or slippage.

Stop loss percent input

  • Set the stop before reading return.
  • Keep percent risk simple in this lesson.
  • Do not treat the simulated stop as guaranteed live execution.

Chapter 04

Predefine the release valve

Where does the strategy plan to release the trade if the move works?

Take profit is a planned exit boundary. It should be chosen before the learner sees the best past move, otherwise the target can become a fitted answer to the chart.

Take profit percent input

  • Define the target before the run.
  • Keep the target tied to the rule idea.
  • Avoid borrowing the best historical exit after seeing the chart.

Chapter 05

Changing exits after results creates a new case

Did I improve the rule, or did I tune the past?

Changing exit logic, stop loss, or take profit after reading performance can be legitimate research, but it is not the same backtest. It must be labeled as a new rulebook and tested again.

Entry and exit summary rail, strategy duration estimate

  • Save the original exit assumptions.
  • Label changed exits as a new strategy version.
  • Stress-test later instead of trusting the first optimized result.

Sources used for this tutorial

Next step

Open the tool with the checklist beside you.

Move from the lesson into the matching Bullion Brains tool, keep the checklist visible, and treat the output as evidence until the caveats are clear.

Open Strategy Backtester