# Setup

> A trading setup is the specific set of conditions you require before taking a trade. Learn what defines one, see an example, and why you should track results by setup.

Canonical: https://www.journalx.io/glossary/setup

A **setup** is a specific, repeatable set of conditions that must be in place before you take a trade. "Price is above the rising 20-day moving average, pulls back to it, and closes back above it" is a setup. "It looked strong" is not. A setup tells you when a trade is allowed, what triggers the entry, and where the idea is wrong.

Setups matter for two reasons. They make your entries consistent, and they give your results a label. Once every trade carries the name of the setup it came from, you can measure each pattern on its own instead of judging one blended pile of trades.

## What Defines a Setup

A setup you can trade and measure has four parts:

| Part                | What it says                                  | Example: pullback in an uptrend                                                         |
| ------------------- | --------------------------------------------- | --------------------------------------------------------------------------------------- |
| Context             | The market conditions that must be true first | Stock above its 20-day moving average, which is rising                                  |
| Trigger             | The exact event that puts you in              | A daily close back above the 20-day average after touching it                           |
| Invalidation        | The price that proves the idea wrong          | Below the low of the pullback, which is where the [stop-loss](/glossary/stop-loss) goes |
| Target or exit rule | How the trade ends if it works                | A [take-profit](/glossary/take-profit) at 2R, or the prior swing high                   |

The invalidation level does two jobs. It sets the stop, and the distance from entry to stop defines 1R, so every trade from the setup can be measured as an [R-multiple](/glossary/r-multiple) on the same scale.

The test for a good definition is the same one that applies to any trading rule: **two traders looking at the same chart should agree on whether the setup was there.** If one says yes and the other says maybe, the definition is too loose, and the trades you log under it will be a mix of different patterns. Our guide to the [hammer candlestick pattern](/guides/hammer-candlestick-pattern) shows what it takes to define even a familiar pattern tightly enough to measure.

## How Setups Work in Your Results

Most traders take more than one kind of trade. When all of them land in one set of statistics, a setup that works and a setup that loses money average out into a number that describes neither.

![Expectancy by setup over 90 trades, where a pullback setup averages +0.35R, an opening range breakout 0.00R and a gap fade −0.20R, while all trades combined show +0.11R](https://assets.journalx.io/marketing/glossary/setup/expectancy-by-setup.avif)

Here is the example in the chart, 90 trades across three setups, with results in R:

| Setup                      | Trades | [Win rate](/glossary/win-rate) | [Average win](/glossary/average-win) | [Average loss](/glossary/average-loss) | Expectancy |
| -------------------------- | ------ | ------------------------------ | ------------------------------------ | -------------------------------------- | ---------- |
| Pullback to 20-day average | 40     | 45%                            | +2.0R                                | −1.0R                                  | +0.35R     |
| Opening range breakout     | 30     | 40%                            | +1.5R                                | −1.0R                                  | 0.00R      |
| Gap fade                   | 20     | 50%                            | +0.8R                                | −1.2R                                  | −0.20R     |
| All trades                 | 90     | 44%                            |                                      |                                        | +0.11R     |

Blended, this trader's [expectancy](/glossary/expectancy) is +0.11R per trade. By setup, almost all of the result comes from the pullback: +14R from that setup, nothing from the breakout, and −4R from the gap fade. The gap fade also shows why win rate alone misleads. It wins half the time, the best hit rate of the three, and still loses money because its losers are bigger than its winners.

A blended win rate or expectancy can hide a setup that works and a setup that doesn't. Tag each trade with its setup when you take it, and the split is there whenever you need it.

## Don't Judge a Setup Too Early

Splitting by setup tells you where to look. It does not prove anything on its own, because each setup now has fewer trades behind it.

In the example, the gap fade's 20 trades have a typical spread of about 1R around their average. The [standard error](https://en.wikipedia.org/wiki/Standard_error) of that average is 1R ÷ √20, about 0.22R, so a rough 95% range for its true expectancy runs from about −0.65R to +0.25R. The pullback's 40 trades give a range of about −0.12R to +0.82R. Neither result is settled yet. The pullback looks promising and the gap fade looks weak, and both need more trades before you drop one or size up the other. Our post on [how many trades you need to judge a strategy](/blog/how-many-trades-to-evaluate-a-strategy) shows how to work out that number.

## Setup vs. Strategy vs. Trading Plan

- **Setup:** the entry pattern. The context, trigger and invalidation that put you in a trade.
- **Strategy:** a complete method built around one or more setups, adding position sizing, exits and trade management.
- **Trading plan:** the written rulebook over everything, covering which setups you trade, your risk limits, your routine and how you review. See our entry on the [trading plan](/glossary/trading-plan).

## Key Takeaways

- A setup is a repeatable set of conditions, plus a trigger and an invalidation level, that must be present before you trade.
- Define it tightly enough that someone else would agree on whether it was there.
- The invalidation level sets the stop and the size of 1R, which makes the setup's trades comparable in R.
- Tracking results by setup shows which patterns carry your results and which drag them down.
- Each setup needs its own sample of trades, so trade fewer setups to learn faster.

## Common Mistakes

**Defining setups loosely.** "Strong stock, good pullback" will match whatever you want to trade that day. Loose definitions turn one setup into several without you noticing.

**Naming the setup after the trade.** If you pick the label once the trade is closed, winners drift into the setup you like and losers into "other." Tag the setup before entry.

**Trading too many setups at once.** Ten setups with ten trades each tell you less than two setups with fifty trades each.

**Judging by win rate alone.** A setup can win most of the time and still lose money if its losses are larger than its wins. Compare setups by expectancy in R.

**Changing the rules mid-sample.** Adding a filter after a bad week creates a new setup with zero trades behind it. Log it as a new version so the old results stay clean.

## How JournalX Tracks Setups

In JournalX a setup can live as a Gameplan, which holds its rules so you can check later whether each trade matched them, or as a tag. Pre-trade planning records the planned entry, stop and target before the trade is taken, so the setup's 1R is fixed up front. Once trades come in through broker sync or import, the filter builder lets you slice performance by Gameplan or tag and compare win rate, average win and loss, and expectancy for each setup, or stack filters to ask narrower questions, such as how one setup does in the first hour of the session.
