← Back to examples
Process example · not real investment performance

Gold: must it close above yesterday's high, or does a touch count?

“I want to study gold breaking above yesterday's high.”

1 · The idea

The user has a direction but no rule yet. There is no period, no exit and no risk limit, and the word “breaking” can mean two different things.

2 · CC's first question

“Must the price close above it, or does touching it count?”

The two definitions enter at different times, so they produce different trades. A backtest of one cannot be compared with a backtest of the other, so this has to be decided before anything runs.

3 · Then the rest of the gaps

After the user answers, CC asks about what is still missing: which trading session the rule applies to, how a position exits, and how much risk one trade may take. If the user says “you suggest”, CC marks it as a suggestion for the user to confirm.

In this example the user picks a 30-minute chart. That is this user's choice, not a default for the site or for CC.

4 · The draft card

Before any backtest, the draft shows how it will be tested, so you can correct it by typing.

On the cardWhat it fixes
Date rangeWhich part of history is used
Time zoneWhere a “day” starts, which decides “yesterday's high”
PeriodThe candle length the rule reads
Out-of-sample splitThe share of history kept aside to check the rule on data it was not shaped on
Spread or costWhat a trade pays to get in and out
Fill assumptionsAt what price and when a signal is assumed to be filled

The card shows no result. Numbers appear only in a real report after a backtest has run.

5 · What the user can do next

  • Start the backtest from the card.
  • Type a change, for example “use the close instead”, and CC updates the same draft.
  • Switch to another topic. The draft is kept and nothing has run.

A historical backtest does not show the demo terms and does not start a simulation.

The decision in this case: what exactly counts as a breakout. Everything after it — the period, the exit, the risk — depends on that one definition. This page is a process example; it contains no results.
Chat with CC about your own strategy →
← All examples Next: reading an EUR/USD backtest →