Join waitlist
Strategies / Mean reversion / Down Close Streak Long Hold

Down Close Streak Long Hold

The strategy buys after 8 consecutive closes lower than the prior close while flat. It holds the position for 7 bars, then sells at market and resets its count.

Mean reversionLong onlyIntradayBrent Crude15 min
n/aProfit factor
1,001Net profit EUR
51.00%Win rate
251Trades
-694Max drawdown
3.99Avg trade

Best run of 12. Brent Crude, 15 min, spread 3, from run sweeps:2026-10-11-BRENT-15m-opt.tsv:2.

Entry rules, long

  1. A close below the prior close adds 1 to a loss count, and a close above it resets the count.
  2. Dojis, with a body under 0.01 percent of the range, and unchanged closes reset the count.

Exit rules

  1. The count resets to zero once the position is closed.

Test conditions

PeriodUp to 2026-10-11
InstrumentBrent Crude, 15 minutes
Spread3 points
Starting capital1,000,000
CostsSpread only. Commissions and overnight financing are not included.
BarsUp to 200,000 bars, fewer where the instrument has less history
Last tested2026-10-11

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
Brent CrudeBest run15 minn/a 25151.001,001 EUR-694
Nikkei 2251 hourn/a 6962.324,216 USD-2,421
Silver1 hourn/a 7857.693,264 USD-1,114
Silver3 minn/a 16553.333,007 USD-2,109
Dow Jones1 minn/a 24352.261,120 EUR-287
GBP/USD1 hourn/a 16157.14739 USD-268
Gold4 hoursn/a 2864.29507 EUR-146
FTSE 100Dailyn/a 1040.00504 EUR-342
GBP/USD30 minn/a 19148.17407 USD-322
GBP/USD15 minn/a 23953.97371 USD-224
Gold3 minn/a 18655.91124 EUR-68.70
GoldDailyn/a 1154.5597.20 EUR-38.10

Charts

Results by run

Top 10 of 12 runs. The full list is in the table above.

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Down Close Streak Long Hold
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Mean reversion
// Direction: Long only
// Timeframe tested: 15 minutes
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE winstreak = 0
ONCE lossstreak = 0
ONCE inpos = 0
ONCE hold = 0

rng = high - low
isdoji = 0

39 more lines: the entry and exit rules.

Setup

How to load it

  1. Copy the code with the copy button on the code block.
  2. In ProRealTime, open a chart of the instrument and timeframe you want to test, then open ProOrder > New trading system and choose "Create with programming".
  3. Paste the code, give the system a name and save it.
  4. Click "Backtest", set your own spread and position size, and run it before you consider trading it live.
Read this firstKnown weaknesses3 points
  • No profit factor is available, because only sweep results exist for this strategy.
  • The maximum drawdown of 694 EUR is large next to the net profit of 1,001 EUR.
  • The code sets no stop loss, so a losing trade stays open until an exit signal arrives.

Questions

About this strategy

Can I run Down Close Streak Long Hold in ProOrder?

Yes. The code is ProBuilder and runs as an automated ProOrder system. Backtest it on your own account with your own spread and position size before trading it live.

Which markets was it tested on?

It was tested on 12 market and timeframe combinations. The best run by trade count was Brent Crude, 15 minutes, with 251 trades.

How large was the drawdown?

The best run had a maximum drawdown of 694 EUR at the tested position size, against a net result of 1,001 EUR.

Does it trade long, short or both?

It only takes long trades.

Related

Strategies like this one

Hull Trend With ADX Filter

Best run on the same market, Brent Crude.

1.27 PF · 1,400 trades

ATR Band

Also a mean reversion strategy.

10.31 PF · 53 trades

See how ProRealAlgos combines strategies like this into one automated portfolio.

The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.

Past backtest results do not guarantee future results. This is not financial advice. Curated and maintained by ProRealAlgos. ProRealTime™ is a trademark of ProRealTime SAS. prorealalgos.comStatsDocs