# The Logic Loop: from idea to tested system

> The Logic Loop is how I turn a trading idea into a system: logic first, then the data tests it. Every step, both exits, and why the final check points back to the start.

By Koen van Goch, Consiquant · Updated 2026-11-23 · https://www.consiquant.com/trading-strategy-research-process

The Logic Loop is my research process for trading strategies. It starts with an economic reason the market should pay you, and only then lets the data test it. The idea becomes rules, the rules go through a plateau test and a deliberate attempt to break them, and the final check asks whether the system makes and loses money when the logic said it would. Ideas that fail are dropped; systems that only repeat trades I already have are shelved.

## How the Logic Loop works

Nine steps, two exits and one line back to the start. That line gives the loop its name.

### 1. Idea

*Underlying economic principle*

Every system starts with a reason the market should pay you, not with a pattern in a chart. I write that reason down in a sentence or two before I look at any data.

Trend following is paid a risk premium: you hold positions others don't want to hold, through long drawdowns. Mean reversion is paid for buying when others are forced to sell. A hedge works the other way round: you pay for it, like insurance.

**If you can't explain the idea without a chart, it isn't an idea yet.**

### 2. Why and when it gets paid

*And when it doesn't*

Every system has a job: the market behaviour it's built to profit from, and the conditions that will hurt it. I define both before writing a single rule.

A long momentum system on equities is built to profit from rising markets: companies grow, more people jump on the bandwagon, and prices keep climbing. It should lose money when those stocks go down. That's the deal, written down in advance.

**Writing down when it should lose is what lets you tell a broken system from one that's simply out of season.**

### 3. Choose the tool

*Which indicator measures it?*

Indicators don't create an edge. They measure price action, so the question is which one measures the behaviour I just described. For momentum that might be new highs or rate of change; for mean reversion, how far price has stretched below its average.

I use as few rules as possible to capture it, and every rule has to make sense on its own. If it doesn't, it goes, even when the backtest looks better with it.

**You don't measure the temperature with a ruler.**

### 4. Plateau test

*Stable zones and weak spots*

I run the system across a whole range of settings and look at the full map, not at the single best result.

A robust system shows a broad plateau: neighbouring settings perform roughly the same. A lone peak surrounded by weak results is luck, and luck doesn't repeat. The edges of the plateau are useful too, because they show where and how the system starts to struggle.

**No plateau, no system.**

### 5. Pick the parameter

*Round, stable, mid-plateau*

From the plateau I pick a value in the middle, never at the edge and never at the peak. If markets shift a little, the system still stands on solid ground.

I prefer round numbers: 20 or 50 rather than 23 or 47. A round number is a reminder that I'm not tuning the system to fit the past.

**Not the best backtest, but the setting I'd still trust if the future looks a bit different.**

### 6. Try to break it

*Stress every assumption*

Now the goal flips: instead of proving the system works, I try to make it fail. Higher costs and slippage, other markets and time periods, different start dates, and taking rules away to see whether one of them was carrying the result.

The average trade has to stay comfortably above costs. A system that only survives under perfect conditions won't survive live.

**Breaking it on paper is a lot cheaper than finding out with real money.**

### 7. Does it hold up?

*Paid when it should be*

Two questions. Does it still show an edge after everything I threw at it? And does it make and lose money when the logic said it would?

The second question matters most. If that long momentum system made most of its money while its stocks were falling, something is off, even when it's profitable: the result doesn't match the reason.

**If it doesn't hold up, it gets dropped or rethought. It never gets extra rules to patch it.**

### Exit: Drop it

*Or rethink the idea*

Most ideas end here, and that's the process working, not failing.

Sometimes the idea is simply wrong. Sometimes the part about when it gets paid needs rewriting. Either way I go back to the logic, rather than forward with another filter.

**A dropped idea costs a few hours. A system you should have dropped costs real money.**

### The dashed line: tested against the logic

The last check doesn't test the backtest. It tests the reasoning from the start: the data doesn't decide what's true, it checks whether the logic holds.

That's the difference with data mining: test thousands of rules, keep the best backtest and write the story afterwards. There, nothing exists to check the result against.

**Logic first, data second.**

### 8. What does it add?

*Even a little diversification counts*

A new system doesn't have to be groundbreaking. It can make money at different times than what I already run, do a job the portfolio is missing, run an existing idea with other settings, or cover more stocks and markets.

More systems also means more, smaller positions across more companies. One earnings gap, short squeeze or scandal then hits a small slice of the portfolio instead of a large one. That matters most on the short side.

**Several shorting systems with different settings diversify both parameter risk and company risk.**

### Exit: Shelve it

*Duplicate trades*

The system works. It just trades the same as something already in the portfolio: same indicator, similar settings, same universe.

It stays on the shelf, ready for when the portfolio changes, for example when new markets come in.

**Shelved isn't failed. It just isn't needed right now.**

### 9. Add to portfolio

I size it for a drawdown I'm comfortable with, at portfolio level, and expect live drawdowns of at least twice the backtest. Most people overestimate how much drawdown they can sit through.

From then on the rules place the trades. No overrides after a bad week, and no abandoning it at the bottom.

**You can't choose your returns, only your risk.**

## Where this fits in building a full system

The Logic Loop covers one system, from idea to portfolio. Around it sit the questions that come before and after: what you want your trading to do for you, how deep a drawdown you can live through, and how you'll go live. Those are in [how to build your own trading system](https://www.consiquant.com/build-your-own-trading-system).

The plateau test is the step most traders skip. [How to avoid overfitting a backtest](https://www.consiquant.com/avoid-overfitting-backtest) shows what it looks like and why a lone peak can't be trusted.

## Common questions

### How many ideas make it through?

Most don't, and that's the point of the exits. An idea that fails on paper costs a few hours; a system that should have been dropped costs real money.

### Why pick round numbers for parameters?

A value like 20 or 50 from the middle of a stable plateau shows you aren't tuning the system to the past. If 23 works and 20 doesn't, the system isn't robust.

### What's the difference between dropping and shelving a system?

A dropped idea failed: the logic or the data didn't hold up. A shelved system works, but trades the same as something already in the portfolio, so it waits until the portfolio changes.

### Does a new system need to be uncorrelated to be worth adding?

No. Other settings of an existing idea, or more stocks and markets, also add diversification. More systems means more, smaller positions, so one company's bad news hits a smaller part of the portfolio.

## Want to run your own ideas through this?

In a free 30-minute introductory call we look at your ideas and whether a programme fits. You build, I challenge. Request a call: https://www.consiquant.com/consultancy#scheduling

## Read next

- [How to build your own trading system](https://www.consiquant.com/build-your-own-trading-system)
- [How to avoid overfitting a backtest](https://www.consiquant.com/avoid-overfitting-backtest)
- [Trend following strategy for stocks: how to build one](https://www.consiquant.com/trend-following-system)

---

Consiquant provides education and system-building support, not investment advice. Trading involves risk; past results are no guarantee of future results.
