cumulusproof DEEN

Knowledge · Exemplary formula agents

Of many fixed rules, only a few pass.

Formula agents follow a fixed calculation rule. Three families: reversal, trend following, calendar and events.

Exemplary presentation: selected examples from this category. We have tested many more agents, and there are further categories.

What a formula agent is

A formula agent follows a fixed calculation rule: if a condition is met it buys or sells, otherwise it waits. Every rule is fixed in advance, calculated with costs, tested on both halves of the period and set against random prices.

Whether an edge is real is measured by the t-value: mean return per trade divided by its uncertainty.

r̄ = mean return per trade, s = standard deviation, n = number of trades. From about t = 2 pure chance is unlikely; with many attempts the threshold must be higher.

Exemplary formula agents from three families. We have tested many more; some are pursued further, on a paper account, under observation or live. Which ones stays internal.

Reversal

Reversion to the mean after a weak day holds up. Minute-by-minute patterns do not.

Back to the mean

Back to the mean

watched

Idea: Buy 0.5 % below the five-day mean, sell at the mean.

Test: S&P 500, long daily series, with costs.

Result: Works, but is very similar to other reversal rules.

Crash buyer

Crash buyer

watched

Idea: Buy after a panic day and hold for up to five days, target +2 %.

Test: Nasdaq-100 and the VIX fear gauge.

Result: Positive, but rare.

Recovery

Recovery

rejected

Idea: After a fall and a pause, buy at the first rise.

Test: First seconds, then one year of minute data on four markets.

Result: First +9 bp per trade, in the large test −8.6 bp with t = −3.

Return p.a. −5.8 % · risk p.a. 2.6 % (after costs, unleveraged)

Spike reversal

Spike reversal

rejected

Idea: Bet against an extreme minute and hold for 30 minutes.

Test: Best of 42,000 variants, then re-tested.

Result: After costs −0.5 bp per trade: the classic fake winner.

Return p.a. −4.8 % · risk p.a. 7.4 % (after costs, unleveraged)

Fourier wave

Fourier wave

rejected

Idea: Continue the strongest wave of the morning.

Test: Knock-out test against random prices.

Result: Explains 57 % of the movement, and just as much on random prices.

Return p.a. −2.5 % · risk p.a. 7.1 % (after costs, unleveraged)

Trend following

Short-term trends make money after costs almost nowhere.

Trend run

Trend run

watched

Idea: Follow a steady run, with a trailing stop.

Test: Nasdaq over ten years, DAX, futures.

Result: +4 bp per trade, t ≈ 2, flat recently. Runs in the shadow book.

EMA fan

EMA fan

watched

Idea: Five moving averages line up like a fan.

Test: 216 variants per market and direction.

Result: Only on one market; the profit comes from a few trend days.

Quiet breakout

Quiet breakout

rejected

Idea: Buy the breakout after quiet minutes.

Test: Minute data for Nasdaq and other indices.

Result: 77 % of breakouts fall back into the range.

Return p.a. +1.2 % · risk p.a. 5.5 % (after costs, unleveraged)

Opening range

Opening range

rejected

Idea: Trade the breakout from the first half hour.

Test: DAX, Nasdaq, funds and futures.

Result: −0.2 to −2.1 bp per trade, on all markets.

Return p.a. −3.0 % · risk p.a. 8.6 % (after costs, unleveraged)

Trend scalp

Trend scalp

rejected

Idea: Follow short trends with a tight stop.

Test: Nasdaq, Dow, DAX and gold.

Result: Earns less than it costs.

Return p.a. −4.5 % · risk p.a. 4.6 % (after costs, unleveraged)

Seconds agent

Seconds agent

rejected

Idea: A stable slope with little noise continues.

Test: 40 days of second data, DAX and Nasdaq.

Result: The control sample is practically zero.

Return p.a. −12.5 % · risk p.a. 2.7 % (after costs, unleveraged)

Calendar and events

Dates provide stories, not signals.

Event breakout

Event breakout

watched

Idea: A bracket around the price before inflation data and rate decisions.

Test: Nasdaq and DAX, hold for 90 minutes.

Result: The edge shrinks every year.

News

News

watched

Idea: Follow the move after a news item.

Test: News with a one-minute delay.

Result: The move has usually already happened.

DAX morning

DAX morning

rejected

Idea: The run from 9:30 to 10:00 continues until 11:30.

Test: Learned until 2021, tested until 2026.

Result: Hit rate exactly 50 %.

Return p.a. −0.1 % · risk p.a. 5.2 % (after costs, unleveraged)

Intraday momentum

Intraday momentum

rejected

Idea: The first half hour predicts the last.

Test: Nasdaq, Nasdaq fund and DAX.

Result: No edge after costs.

Return p.a. −4.3 % · risk p.a. 3.7 % (after costs, unleveraged)

Before the rate decision

Before the rate decision

rejected

Idea: Hold the morning direction until the Fed rate decision.

Test: 108 rate decisions since 2013.

Result: −5 to −10 bp per trade.

Return p.a. −0.6 % · risk p.a. 1.7 % (after costs, unleveraged)

bp = basis point = 0.01 %. t = significance, from about 2 not pure chance. For rejected agents: return and risk per year after costs, unleveraged, on one market. Sketches are schematic. P = price, C = close, H = high, r = return, σ = typical volatility, q = trade direction, S = stop.

← EvaluationParameter-optimised →
Book cover: Returns Without Self-Deception

In full detail in the book

Returns Without Self-Deception, chapters 4 and 9

This is the short version. The book covers many agents, with derivations, formula boxes and all testing steps.

Start the free randomness check