Three down days strategy

On ES futures from January 2016 to July 2026, the three down days rule made $101,994 after costs and made money in 9 of 11 years.

Mean reversionSwingDaily barsBacktested Nov 6, 2026

Three down days backtest, the result

Contract

E-mini S&P 500

  • +$102K

    Net after costs

    After $3,306 in fees and slippage

  • 9 of 11

    Years that made money

    January 2016 to July 2026

  • −$35.4K

    Largest drawdown

    Peak to trough, 1 contract

  • $872

    Average trade

    117 trades

Three down days on ES, net after costs by month, from January 2016 to July 2026: +$101,994; buying and holding one ES contract: +$236,212

Net after costs by month, January 2016 to July 2026.

Three down days rules

After three lower closes in a row, buy at the third close and sell at the first higher close.

A drawing of the rules on a made-up day, not a result.

  1. When a CME trading day closes below the day before for the third day running, the strategy buys.
  2. It sells when a day closes above the day before.
Decides on
Daily bars
Holds
Overnight and across days
Parameters
downs 3

Results by year

It made money in 9 of 11 years on ES. Its best year was 2022, +$20,870, and its worst 2019, −$4,879.

Net after costs by year on ES, with trades, win rate, largest drawdown and buying and holding the same contract
YearNetTradesWin rateDrawdownBuy and hold
2016+$4,2541080%−$4,266+$11,497
2017+$1,117683%−$1,075+$21,936
2018−$2,5571362%−$19,626−$8,589
2019−$4,879540%−$11,887+$35,436
2020+$2,681956%−$20,287+$27,761
2021+$19,2151090%−$6,300+$51,361
2022+$20,8701968%−$19,037−$45,939
2023+$10,4291675%−$4,716+$38,435
2024+$2,9941164%−$11,141+$42,947
2025+$18,453989%−$15,312+$37,010
2026, Jan to Jul+$29,418967%−$6,187+$24,355

Three down days backtest results

On ES it made $105,300 before costs. Fees and slippage took $3,306 of that.

Net = before costs − fees − slippage
ES: $105,300 − $418 − $2,888 = $101,994
Every figure of the Three down days backtest, by contract
FigureESNQ
Net after costs+$101,994+$115,024
Before costs+$105,300+$118,855
Fees$418$411
Slippage$2,888$3,420
Trades117115
Trades a year1111
Win rate71%69%
Profit factor2.421.78
Average trade$872$1,000
Average trade, 95% interval$289 to $1,410$74 to $1,913
Sharpe ratio0.860.52
Largest drawdown−$35,359−$37,597
Time in the market8%8%
Buying and holding the contract+$236,212+$401,004

The whole interval is over zero: the average trade made money in this test.

Three down days code and Pine Script

The strategy as the backtest ran it, and the Pine Script our compiler wrote from it for TradingView.

Three down days
three_down_days.py
1from atlantive import BUY, SELL, Bars, Strategy2 3 4class ThreeDownDays(Strategy):5    """Buy after three lower daily closes, sell at the first higher close.6 7    A day is the CME trading day, 18:00 to 17:00 New York (the run's daily bars). When a day closes8    below the day before for the third day running, the strategy buys; it sells when a day closes9    above the day before. Each decision is taken at a daily close and fills at the next session's10    first one-second bar, at the 18:00 New York reopen, an hour after the close the rule names.11    """12 13    data = "bars"14 15    class Params:16        downs: int = 317        clip: int = 118 19    class State:20        bars: Bars(interval_ns=86_400_000_000_000)21        last_close: float22        seen: int23        run: int24 25    def on_event(self, view, ev, orders):26        if not self.bars.update(ev):27            return28        close = float(self.bars.prev_close)29        if self.seen > 0:30            if close < self.last_close:31                self.run += 132            else:33                self.run = 034            if view.position > 0 and close > self.last_close:35                orders.ioc(side=SELL, qty=abs(view.position))36            elif view.position == 0 and self.run >= self.p.downs:37                orders.ioc(side=BUY, qty=self.p.clip)38        self.last_close = close39        self.seen += 1
1//@version=62// ThreeDownDays, exported from Atlantive.3// Chart simulation: decisions use completed bars; market orders fill at the next bar open.4// Native fills, fees, data gaps and session boundaries can differ. Re-test on the target symbol.5// Use standard time-based candles and the strategy's timeframe, not synthetic chart prices.6// Pine v6 trims old trade records at its order limit; the strategy keeps calculating.7// Margin is explicitly disabled to retain the native signal simulation's sizing.8strategy("ThreeDownDays", overlay=true, initial_capital=100000.0, commission_type=strategy.commission.cash_per_contract, commission_value=1.68, default_qty_type=strategy.fixed, default_qty_value=1, calc_on_every_tick=false, process_orders_on_close=false, slippage=0, margin_long=0, margin_short=0)9 10if timeframe.in_seconds() != 8640011    runtime.error("ThreeDownDays was exported for the 1 day timeframe; set the chart to 1D.")12 13downs = input.int(3, "downs", minval=-9007199254740991, maxval=9007199254740991)14clip = input.int(1, "clip", minval=-9007199254740991, maxval=9007199254740991)15 16_q_safe_int(x) =>17    if math.abs(x) > 900719925474099118        runtime.error("an integer left the exact chart range; this run cannot be compared faithfully")19    int(x)20_q_int(x) => _q_safe_int(x < 0 ? math.ceil(x) : math.floor(x))21_q_iadd(a, b) => _q_safe_int(a + b)22 23_q_close = _q_int(math.round(close * 1000000000.0))24 25var float last_close = 0.026var int seen = 027var int run = 028float close_l = na29 30close_l := _q_close * 1.031if seen > 032    if close_l < last_close33        run := _q_int(_q_iadd(run, 1))34    else35        run := _q_int(0)36    if _q_int(strategy.position_size) > 0 and close_l > last_close37        _q_qty1 = _q_int(math.abs(_q_int(strategy.position_size)))38        if _q_qty1 <= 039            runtime.error("market order quantity must be a positive whole unit")40        _q_pos1 = _q_int(strategy.position_size)41        if _q_pos1 < 0 or _q_pos1 > 0 and _q_qty1 < _q_pos142            runtime.error("this order would add to or partially reduce a position, so its trade ledger would not be faithful")43        strategy.order("q1", strategy.short, _q_qty1)44    else if _q_int(strategy.position_size) == 0 and run >= downs45        _q_qty2 = _q_int(clip)46        if _q_qty2 <= 047            runtime.error("market order quantity must be a positive whole unit")48        _q_pos2 = _q_int(strategy.position_size)49        if _q_pos2 > 0 or _q_pos2 < 0 and _q_qty2 < -_q_pos250            runtime.error("this order would add to or partially reduce a position, so its trade ledger would not be faithful")51        strategy.order("q2", strategy.long, _q_qty2)52last_close := close_l53seen := _q_int(_q_iadd(seen, 1))

How it was tested

The published rules, never tuned on the data, with real costs on every fill. Every strategy here is tested the same way.

Market data
CME Globex daily bars, Jan 2, 2016 to Jul 31, 2026
Rules
As published, with the published parameters, never tuned on this data
Size
1 contract on every trade
Contract
The most traded one, rolled as the market moved
Fees
The broker's $0.50 a side, plus CME's and the NFA's fees when the window opens
Slippage
1 tick a side on ES, 2 in NQ's regular session and 3 outside it, 1 on other markets, where it was not measured
Stops and entries
Tested on 1-second closes and filled at the next bar
Contracts traded
ES: 43 contracts, ESH6 to ESU6NQ: 43 contracts, NQH6 to NQU6
Costs paid
ES: $418 in fees, $2,888 in slippageNQ: $411 in fees, $3,420 in slippage
Warm-up
None: each contract reads only its own bars
Flagged days
ES: NoneNQ: None Days the data holds too few bars for. Flagged, not removed.

Could you pass
a prop firm challenge
with the three down days rule?

A backtest says whether a strategy makes money. Our AI runs its trades through the rules of every prop firm account, then tells you which one it would pass and at what size.

No card needed. Free credits every month.

  • Most money: Blue Guardian Futures Direct 50K, $5,084
  • Best payout odds: Funded Futures Family Straight to Funded 50K, 98%
  • Fastest pass: Phidias Express to Live 50K, 11 days
Blue Guardian Futures Direct 50K
Most money

$5,084

Median net across 2,000 simulated runs

Evaluation
None
First payout
97%
Fees paid
$1,521

Median net across 2,000 simulated runs

Best 5%$13,143Worst 5%−$412
Day 060120180
Example: ES opening range breakout

Questions about the three down days rule

What is the three down days rule?

After three lower closes in a row, buy at the third close and sell at the first higher close. Atlantive backtested it on CME futures from January 2016 to July 2026 after costs.

Is the three down days rule profitable on ES futures?

In this backtest it made money: on ES futures from January 2016 to July 2026 it made $101,994 after costs, over 117 trades, positive in 9 of 11 years; on NQ it made $115,024. Buying and holding one ES contract over the same window made $236,212. The average trade was $872, its 95% interval $289 to $1,410. These are hypothetical results of a backtest, not of trading.

What are the three down days rule's rules?

When a CME trading day closes below the day before for the third day running, the strategy buys. It sells when a day closes above the day before. Its parameters are the published ones, never tuned on the data it was tested on.

How was the three down days rule backtested?

On CME Globex data from January 2016 to July 2026, one contract, on daily bars, rolled to the most traded contract as the market moved, with the broker's and CME's fees and the slippage measured on each market. Stops and entries were tested on 1-second closes and filled at the next bar. Nothing was fitted to the data.

Can I run the three down days rule in TradingView?

Yes. The page carries its Pine Script, written by Atlantive's compiler from the same code the backtest ran, for TradingView's strategy tester. A chart's fills and fees can differ from the backtest's, so test it again on the symbol you trade.

Can I change the three down days rule and test it again?

Yes. Rerun it in Atlantive: a new chat opens with the strategy's rules in the box, for you to read, change and send. The agent writes the code, backtests it on the market and window you name, and reports the result with its costs.

Rerun it in Atlantive. Change the market, the dates or a rule, then send it.

A new chat opens with this in the box

Backtest a three-down-days strategy on ES, 2016-01-02 to 2026-07-31, one contract on a $100,000 account with default costs: on daily bars of the CME trading day, buy after three consecutive lower closes and sell at the first higher close.

Never sent for you

May we measure this visit?

With your consent, Google Analytics and PostHog count visits to these pages. You can separately allow Google Ads to measure visits from our ads. Visit measurement starts only after you choose. Cookie policy