
Large grid
confirmedIdea: Vary all eight settings at once.
Test: Selection 1999 to 2014, testing until 2026, three indices.
Result: The chosen setting lies on the plateau; the best single cell fails.
48,384 grid points
Knowledge · Exemplary parameterisation
How to test the settings of a rule without fooling yourself. And why only the stop matters.
Exemplary presentation: selected examples from this category. We have tested many more agents, and there are further categories.
Every rule has settings: entry, exit, stop, ATR length, holding period, filter and size. Each setting θ is a point in an eight-dimensional space; for one rule there were 48,384 points. The height of each point is return divided by volatility, after costs:
We are not looking for a peak but for a plateau where the neighbours are good too. We choose the setting whose worst neighbour is best:
N(θ) = neighbourhood of θ in the grid. Testing is done on later years that nobody saw during selection.


Run the same search on random prices and you get many peaks and no plateau. Whoever takes the highest point there has only found luck. That is exactly what happened with the best single grid cell: it failed on other markets and in the randomness test. The chosen setting, by contrast, lies on the ridge.
P_entry = entry price, ATR = average daily range, k = stop distance in ATR.
A wide stop of 3 ATR gives almost twice the ratio of a tight 1 ATR stop because it triggers less often in the noise. Without any stop the ratio would be even higher, but with no protection against the exceptional day. So the setting stays, and the wide stop runs in the virtual book for now.

Five examples, all on a rule that passed the formula test, set up the same way.

Idea: Vary all eight settings at once.
Test: Selection 1999 to 2014, testing until 2026, three indices.
Result: The chosen setting lies on the plateau; the best single cell fails.
48,384 grid points

Idea: Wider stop, fewer false triggers.
Test: Recalculated exactly on five-minute data.
Result: Almost twice the ratio, but the test is not conclusive. Runs in the virtual book.

Idea: Lock in gains, then re-enter.
Test: Three ways of re-entering.
Result: On average the same as without. Meets 2 of 6 criteria.

Idea: Sit out turbulent phases.
Test: 200-day line, volatility and GARCH model.
Result: Helps in 2008 and 2022, costs in 2019 and 2020. Net ±0.

Idea: Protect the day’s gain from a relapse.
Test: Historically across the whole account.
Result: Not better. Kept as a deliberate insurance.
G = daily gain of the account, H = high since entry, σ²ₜ = estimated volatility (GARCH). Sketches are schematic.
In full detail in the book
This is the short version. The book covers many agents, with derivations, formula boxes and all testing steps.