Join waitlist
Strategies / Mean reversion / Bollinger Band Oversold Bounce

Bollinger Band Oversold Bounce

The strategy buys when the close falls below the previous lower 40-period Bollinger Band (2 standard deviations) after a large move down. It exits at a 5% stop or a 1.25% profit target.

Mean reversionLong onlySwingDAX 404 hours
n/aProfit factor
1,411Net profit EUR
85.71%Win rate
21Trades
-624Max drawdown
67.19Avg trade

Best run of 22. DAX 40, 4 hours, spread 3, from run sweeps:2026-10-04-DAX40-4h-opt.tsv:80.

Entry rules, long

  1. The distance from the middle band to the lower band exceeds 7/1000 of the close
  2. The absolute change from the previous close exceeds 17/1000 of the close
  3. The distance from the low to the close is under 25/1000 of the middle-to-lower band distance
  4. The close is at or below the previous close
  5. No long position is currently open

Exit rules

  1. A profit target sits 1.25% above the entry price
  2. There is no signal exit, so the trade ends only at the stop or the target

Test conditions

PeriodUp to 2026-10-04
InstrumentDAX 40, 4 hours
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-04

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
DAX 40Best run4 hoursn/a 2185.711,411 EUR-624
Silver15 minn/a 1883.333,475 USD-2,523
Silver2 minn/a 6100.003,017 USD-1,052
Nikkei 2254 hoursn/a 1492.862,305 USD-1,345
Nikkei 2255 minn/a 4100.001,811 USD-1,338
Nikkei 2253 minn/a 3100.001,743 USD-1,361
Nikkei 22530 minn/a 7100.001,613 USD-140
Nikkei 22510 minn/a 2100.001,034 USD-1,023
DAX 401 hourn/a 8100.00865 EUR-361
Brent Crude2 minn/a 4100.00480 EUR-156
Dow Jones15 minn/a 2100.00479 EUR-1.50
Dow Jones3 minn/a 1100.00458 EUR-0.00
FTSE 1001 hourn/a 8100.00440 EUR-109
Nasdaq 10015 minn/a 4100.00355 EUR-305
Nasdaq 10010 minn/a 2100.00328 EUR-64.90
DAX 4015 minn/a 2100.00208 EUR-20.90
GBP/USD4 hoursn/a 1100.00165 USD-60.30
Gold10 minn/a 2100.00114 EUR-21.30
S&P 50015 minn/a 3100.0088.79 EUR-0.50
Gold2 minn/a 1100.0064.20 EUR-0.00
FTSE 10015 minn/a 1100.0062.10 EUR-0.00
S&P 50010 minn/a 1100.0049.62 EUR-13.62

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Bollinger Band Oversold Bounce
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Mean reversion
// Direction: Long only
// Timeframe tested: 4 hours
// ==============================================================

DEFPARAM CumulateOrders = false

mid = Average[40](close)
sd = STD[40](close) * SQRT(40 / 39)
lower = mid - 2 * sd
bbdelta = abs(mid - lower)
closedelta = abs(close - close[1])
tail = abs(close - low)

9 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.

Indicators used

Bollinger BandsSMAStandard Deviation
Read this firstKnown weaknesses2 points
  • No profit factor is available, because only sweep results exist for this strategy.
  • The best run has only 21 trades, which is a small sample to judge it on.

Questions

About this strategy

Can I run Bollinger Band Oversold Bounce 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 22 market and timeframe combinations. The best run by trade count was DAX 40, 4 hours, with 21 trades.

How large was the drawdown?

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

Does it trade long, short or both?

It only takes long trades.

Related

Strategies like this one

Trend Surfer

Uses the same indicator.

1.04 PF · 10,813 trades

Heikin Ashi Color Flip

Best run on the same market, DAX 40.

1.12 PF · 3,692 trades

ATR Band

Also a mean reversion strategy.

10.31 PF · 53 trades

Get the full rules, the complete code and the ProRealAlgos portfolio as a member.

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