Skip to the content
TTHINRIDGE Audit your trades Test your strategy free

The shelf · Gap fill · E-mini S&P 500

Gap fill on ES

21Failedout of 100

Short answer: no, it does not pass. Gap fill on ES, tested by Thinridge on 18.8 years of one-minute E-mini S&P 500 futures data (2008 to 2026) with costs on every trade, lost $15,746 net for one contract over 2,892 trades; 301 of 5,000 coin-flip copies of it (the same trades, the side picked at random) did as well or better on the years before 2023. Verdict: Failed, 21 of 100.

Where it breaks, and what to change ↓

At 9:30 AM, the price against yesterday's 4:00 PM close. A gap of up to 0.4% is traded back toward that close, aiming for the close; out at 4:00 PM. Run on ES, the E-mini S&P 500. Times are New York time.

close 4:00 PMopen 9:30 AMgap up to 0.4%aim at yesterday's closeout 4:00 PMno stop · target yesterday's closefadelong and short
What these settings mean
  • fade: trades against the break or signal.
  • long and short: takes both buys and sells.
  • out: any trade still open is closed at this time.
  • The other settings are the setup’s own; the sentence above says what they do.

Tested as written above: no stop, a target at yesterday's close, out at 4:00 PM. A different stop or target is a different strategy, with its own result: Test your version →

Hypothetical backtest: one contract, after costs, not real trading. Simulated results have limits: they are not actual trading, they are made with the benefit of hindsight, and no account is likely to achieve results like these. The standard statement

2,892trades, 18.8 years
-$15,746net after costs; -$5 on the average trade
301 / 5,000coin flips that matched or beat it on the years before 2023
221 monthslongest wait for a new equity high

How to read the score. It has to beat 5,000 coin flips on the 15 years before 2023 (2008 to 2022, kept apart from the years since 2023): the same trades with the side picked at random, so they test the side it takes, not when it trades. The years-before-2023 check and the year-by-year check are scored on those years too: with the coin flips, 60 of the 100 points; the other three use all 18. A high score doesn’t mean easy to hold: read the longest wait for a new high. A score is how the setup did against our published checks on 2008 to 2026; it is not a forecast, and what it does next is unknown. How a score is made.

2008 to 2022: 2,258 trades, -$31,109. Since 2023, the years kept apart: 634 trades, $15,362.

Nothing in this record points at one thing to do differently by eye; the strategy as written is what it is.

Why it failed: it scored under half the points on the years before 2023 holding up, year after year, higher costs and a nudge to its settings.

How the 21 is made: clean data 5 of 5, the years before 2023 holding up 0 of 25, year after year 3 of 20, the coin flips 9 of 15, higher costs 0 of 20, a nudge to its settings 4 of 15. Passed is 70 or more with two more checks; Close is 40 to 69, or 70 or more that misses a check; Failed is under 40, or failed automatically (too few trades, or money only since 2023). How to read a report

Gap fill on ES: cumulative net after costs
Gap fill on ES: how far below its last high it sat, with the longest wait for a new high shaded
Gap fill on ES: the strategy against 5,000 coin flipsGap fill on ES: net by year, 2008 to 2022 and since

What to do with this

Where it breaks

Where the written rule breaks: its shorts lose in both periods, -$17,796 from 2008 to 2022 and -$2,108 since 2023. What holds in both: its trades on Wednesdays, $11,696 and $6,075.

Longs2008 to 2022: 1,009 trades, -$13,313since 2023: 278 trades, $17,470Test longs only →
Shorts2008 to 2022: 1,249 trades, -$17,796since 2023: 356 trades, -$2,108Test shorts only →
Mondays2008 to 2022: 439 trades, -$19,394since 2023: 122 trades, $10,400Test it without Mondays →
Tuesdays2008 to 2022: 449 trades, $1,139since 2023: 139 trades, $2,491Test it without Tuesdays →
Wednesdays2008 to 2022: 483 trades, $11,696since 2023: 131 trades, $6,075Test it without Wednesdays →
Thursdays2008 to 2022: 463 trades, -$14,595since 2023: 115 trades, $4,429Test it without Thursdays →
Fridays2008 to 2022: 424 trades, -$9,956since 2023: 127 trades, -$8,033Test it without Fridays →
Closed at a set time instead
2008 to 2022since 2023
10:00 AM-$13,596$2,529
11:00 AM-$7,846$4,604
12:00 PM-$11,834$1,404
1:00 PM-$14,521$3,491
2:00 PM-$22,221$19,341
3:00 PM-$23,109$15,929
Every trade still open at that time closed there, the ones already out kept as they were.
How it got out (all the years)at the target 2,112 trades, $477,630; at its set time 780 trades, -$493,376.

Every number above is counted from this test’s own trades. A red edge loses in both periods, a green one makes money in both. Picking the best tile is fitting: test your own version and it is scored as a second try.

Or test fewer days, as we did for this setup (below): only after a wider-than-usual day, or only after a quieter one. Each opens the form with that one change filled in; the run is yours, free, private, by email.

What failed, and what to test next

Per contract, the typical trade was up $138 at its best and down $150 at its worst before it got out, against a target $188 away.

229 of its 776 losing trades (30%) were up at least $158, what its typical winner made, before they turned into losses. Taken the other way, the losing trades had been up that much 29% of the time: it's how this market moves, not something this rule does, so changing the exit moves where a trade ends, not whether its entry has an edge.

None of these is the rule's own: what failed is the entry, and no change to the stop or the target fixes an entry.

How far each trade went for it and against it before it got out, held against the same trades taken the other way (the side the coin flips take). Read from this test’s own trades; nothing here is run or scored.

What we ran next

We ran the next one. The report’s one change for this setup is its main setting 10% either way, to see whether the result is the setting or the setup. Both, scored the same way as a second try. Gap size 0.36%: Failed, 13 out of 100, 2,705 trades; 2008 to 2022 -$32,791 (537 of 5,000 coin flips as good); since 2023 $14,080. Gap size 0.44%: Failed, 22 out of 100, 3,068 trades; 2008 to 2022 -$11,959 (46 of 5,000 coin flips as good); since 2023 -$5,489.

We tested fewer days. The setups that came near a pass mostly trade rarely, so we kept this one to about half its days, both ways, with one condition (yesterday’s range against the 20 days before it), scored the same way as a second try. Only after a wider-than-usual day: Failed, 16 out of 100, 1,277 trades; 2008 to 2022 -$19,496 (1,943 of 5,000 coin flips as good); since 2023 $12,145. Only after a quieter-than-usual day: Failed, 17 out of 100, 1,611 trades; 2008 to 2022 -$9,758 (128 of 5,000 coin flips as good); since 2023 $2,217.

What to try next. Fewer trades. Of the setups that trade least (up to about 122 a year), 15 of 133 came near a pass; of the rest, 5 of 402. A condition that keeps fewer days is the first thing worth testing. What the setups that came near share →

Check your own trades

If you trade a version of this, the trade audit holds your own fills against the written rule and shows, in dollars, what your part adds or costs. Audit your trades →

A strategy the form doesn’t know goes by email, about a week.

The same setup on the other markets

Run unchanged, at the same settings, on 11 markets (the shelf’s six and five more; of those five, only a pass or a Close has a page of its own). Each one is its own test: picking the market that did best after the fact is how a backtest flatters itself. ES, NQ, YM and RTY are all stock-index futures and move together, so their agreeing is weaker evidence than it looks.

  • ES Failed 21 this page
  • NQ Failed 13
  • YM Failed 42
  • RTY Failed 13
  • GC Failed 16
  • CL Failed 13
  • ZN Failed 13
  • ZB Failed 13
  • 6E Failed 13
  • 6J Failed 13
  • NG Failed 16

One setup, tested, every week

The next verdict by email: what was tested, its score, and where it breaks. Free; leave with one click. Nothing on this site is held back for it.

Sent through Buttondown, the newsletter service you join yourself, as Privacy says.

The engine's report, in full

One trade a day, the first signal in the window, on one-minute bars, with one tick of slippage each way and commission. The coin flips are run on the years 2008 to 2022, kept apart from the years since 2023; the rest of the score uses all of them. Tested November 16, 2026, on data to October 30, 2026.

==============================================================
THINRIDGE ENGINE REPORT
==============================================================

SCOPE: FirstRate one-minute data, unadjusted; the rule exactly as locked; nobody checked it by hand.

1. THE RULE AS LOCKED
   setup type  : The gap as written
   as you locked it:
     Gap fill, at the settings the form starts with, run again on data to Oct 30, 2026: close 4:00 PM; open 9:30 AM; cut 0.4; band under; target close; frac 0.25; exit 4:00 PM; mode fade; sides Both
     the years from 2023 kept apart, the split every shelf cell is scored on
   as the engine read it:
   exit model  : stop: none
               : target: the price the setup names to aim at
               : time exit: always kept as the backstop
   filter      : none
   tries       : #1
   bars        : one-minute (every signal, fill and exit is on the one-minute series)
   entries     : one trade a day, the first qualifying signal in the window
   history     : 18.8 years, kept apart from 2023 on (as declared)
               : trades dated 2023 or later are kept apart; the coin flips are run on the trades before 2023, the rest of the score on all of them

2. VERDICT
   SCORE   : 21 / 100
   VERDICT : FAILED
   UNDER HALF THEIR POINTS : the years before 2023, year to year, costs, nudging a setting
   THE SIX CHECKS : clean data 5 of 5; the years before 2023 0 of 25; year to year 3 of 20; the coin flips 9 of 15; costs 0 of 20; nudging a setting 4 of 15

3. RESULT
   Trades 2,892   Net -$15,746.40   Per trade -$5.44
   Since 2023     : 634 trades, $15,362.20
   Before 2023   : 2,258 trades, -$31,108.60
   Win rate 73.2%  (2116 of 2,892 trades closed above zero after costs)
   Exits by type: target 2112, time 780
   How it splits (every trade, one contract after costs):
                 trades            net     average   winners
   Long            1287      $4,157.10       $3.23       76%
   Short           1605    -$19,903.50     -$12.40       71%
   Monday           561     -$8,993.70     -$16.03       69%
   Tuesday          588      $3,630.40       $6.17       74%
   Wednesday        614     $17,771.20      $28.94       78%
   Thursday         578    -$10,165.10     -$17.59       73%
   Friday           551    -$17,989.20     -$32.65       73%
   A split is something to look at, not a new rule: keeping only the best side or day is a new version,
   and testing it counts as one more try.
   Time in a trade: half the trades last 38 minutes or less; the middle half between 5 minutes and 6 h 4 min; the longest 6 h 29 min.

4. THE COIN FLIPS (5,000 copies of the rule that pick the side at random)
   Full window  p = 0.0206  (103 / 5,000)
   Before 2023  p = 0.0602  (301 / 5,000)   <- the one the score uses
   Counting earlier tries, p (try #1) = 0.0602

5. YEAR BY YEAR (each year before 2023 a window)
   Years 15   profitable 7   profit factor before 2023 / since 0.83
   By year before 2023: 2008 $1,684.30  2009 -$2,182.40  2010 $1,662.30  2011 -$1,141.70  2012 $453.20  2013 -$3,368.80  2014 -$14,714.90  2015 $532.20  2016 -$1,447.30  2017 -$3,749.40  2018 -$16,017.70  2019 $1,456.90  2020 $5,775.60  2021 -$1,755.70  2022 $1,704.80

6. COST STRESS (re-simulated)
   1 tick -$15,746.40   2 ticks -$61,646.40   3 ticks -$107,546.40
   net kept after costs at 1 tick -37.2%   profit factor at twice the costs 0.86   Breakeven 0.0 ticks/side

7. FRAGILITY (5,000 resamples of the trades, drawn with replacement)
   Full   CI -$81,271.40 .. $48,241.10   P(net>0) 0.3162
   Pre-2023 CI -$75,246.10 .. $11,491.40   P(net>0) 0.0780
   bad-case drawdown (95th percentile) / actual 1.45x   Top trade n/a   Top-5 n/a

8. NUDGING A SETTING (the main setting moved 10% either way)
   Net kept on the nudge 0%   Turned to a loss: YES   Settings 2

9. COULD YOU HOLD IT (no points)
   Longest stretch without a new equity high: 221 months (ending 2026-10)
   Rolling 12-month windows negative: 59% of 215   Worst 12 months: -$16,017.70 (ending 2018-12)
   Max drawdown $42,677.40   Median year $453.20   Years of median to recoup the drawdown: 94.2

10. THE CODE FILE (offered when all five hold)
   [ ] passed
   [ ] fewer than 1 in 20 coin flips matched it on the years before 2023, counting earlier tries
   [ ] the range of outcomes on the years before 2023 stays above zero
   [ ] it breaks even at 4 ticks of cost a side or more
   [ ] no single trade is over 25% of the net
   => not offered at this result.

11. HOW THE POINTS WERE COUNTED (each measure, then the points it earns)
   II, the years before 2023: steadiness kept on the years before 2023 (Sharpe ratio) -1.21 (per-trade) → 0 points; money on the years before 2023 → 0 points
   III, year to year: years profitable 0.47 → 3 points; profit factor before 2023 / since 0.83 → 0 points; one year's share → 0 points
   IV, the coin flips: coin-flip p 0.0602 (5,000 coin flips) → 5 points; bad-case drawdown / actual 1.45 → 4 points; top trade n/a → 0 points
   V, costs: net kept after costs -0.372 → 0 points; profit factor at twice the costs 0.86 → 0 points
   VI, nudging a setting: net kept on a nudge 0.0 → 0 points; settings counted 2 → 4 points; turned to a loss: yes → 0 points

12. THE AUTOPSY (where the money came from and went; the rule as it ran, no new try)
   Exits: target 2112, $477,629.60; time 780, -$493,376.00
   On the books, before 2023 (net -$31,108.60): 10:00 AM -$13,596.10  11:00 AM -$7,846.10  12:00 PM -$11,833.60  1:00 PM -$14,521.10  2:00 PM -$22,221.10  3:00 PM -$23,108.60
   Before 2023 -$31,108.60, since 2023 $15,362.20; largest year before 2023: 2020 (no share of the net: the years before 2023 lost money overall)
   Nudging a setting 10%: 0% of the net kept; turned to a loss: yes
   Flat stretch: 221 months without a new high (ending 2026-10); median year $453.20; years of median to recoup 94.2

   Longest wait for a new equity high: 221 months, median year $453.20.
   The one next run, if you want it: the neighboring setting of the primary trigger (10% either way), as try #2. Prediction on file: a plateau under 25% means the neighbor rejects too; this run is to show it. Three such runs at most, then the verdict stands.

13. IF YOU TRADE THIS BY EYE
   Nothing in this record points at one thing to do differently by eye; the rule as written is what it is.
   That is what the record says about the rule as written. It is not what next year says.

WHAT THIS CANNOT TELL YOU: the score assumes this rule walked in
once (see tries) and that your development did not touch the
years before 2023. Only you know both. Not investment advice. No
guarantee of future results. Statistical analysis of a mechanical
rule as submitted.
==============================================================

Raw market data: FirstRate Data (firstratedata.com). Statistical analysis of a mechanical strategy as written; not advice.