Flags exhaustion bars with RSI(14) extremes, volume above 1.2 times its 20-period average, and a sweep of the prior 20-bar range. Enters after a close breaks the previous bar's high or low in the same direction, within 12 bars of the flag.
Best run of 3. Dow Jones, 30 min, spread 3, from run sweeps:2026-10-04-DOW30-30m-opt.tsv:81.
| Period | Up to 2026-10-04 |
| Instrument | Dow Jones, 30 minutes |
| Spread | 3 points |
| Starting capital | 1,000,000 |
| Costs | Spread only. Commissions and overnight financing are not included. |
| Bars | Up to 200,000 bars, fewer where the instrument has less history |
| Last tested | 2026-10-04 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Dow JonesBest run | 30 min | n/a | 1,118 | 65.38 | 13,480 EUR | -11,189 |
| Dow Jones | Daily | n/a | 30 | 73.33 | 13,765 EUR | -8,615 |
| FTSE 100 | Daily | n/a | 50 | 74.00 | 6,432 EUR | -2,806 |
Charts
The code
// ============================================================== // Exhaustion Sweep Reversal Entry // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long & short // Timeframe tested: 30 minutes // ============================================================== DEFPARAM CumulateOrders = false ONCE lastbull = 0 ONCE lastbear = 0 myRsi = RSI[14](close) volavg = Average[20](volume) poolhigh = highest[20](high)[1] poollow = lowest[20](low)[1] prevhigh = high[1] prevlow = low[1]
32 more lines: the entry and exit rules.
Setup
Questions
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.
It was tested on 3 market and timeframe combinations. The best run by trade count was Dow Jones, 30 minutes, with 1,118 trades.
The best run had a maximum drawdown of 11,189 EUR at the tested position size, against a net result of 13,480 EUR.
It trades both long and short.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.