Join waitlist
Strategies / Mean reversion / Dual Setup Band Dip Buyer

Dual Setup Band Dip Buyer

Buys on two dip setups, a sharp drop closing below the prior lower 40-bar band or a close below the 50-bar EMA and lower 20-bar band. Sells when the close rises above the 20-bar middle band while the trade is in profit.

Mean reversionLong onlySwingNasdaq 100Daily
1.80Profit factor
9,858Net profit EUR
61.54%Win rate
195Trades
-1,723Max drawdown
50.55Avg trade

Best run of 30. Nasdaq 100, Daily, spread 3, from run pf:2026-10-05-NAS100-D.tsv:6.

Entry rules, long

  1. Setup A: the 40-bar Bollinger half-width exceeds 0.008 times the close and the absolute close change exceeds 0.0175 times the close.
  2. Setup A also needs the close-to-low tail under 0.25 times the half-width and the close below the prior lower band.
  3. Setup A also needs the close at or below the prior close.
  4. Setup B also needs volume below 20 times its prior 30-bar average.

Exit rules

  1. The close must also be above the entry price for the sell to trigger.
  2. A 5% profit target closes the trade.
  3. A 5% stop loss closes the trade.
  4. A buy signal is ignored on a bar where the sell condition is also met.

Test conditions

PeriodUp to 2026-10-05
InstrumentNasdaq 100, Daily
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-05

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
Nasdaq 100Best runDaily1.80 19561.549,858 EUR-1,723
EUR/USD2 minn/a 23259.48130,422 USD-61,012
USD/JPY1 hourn/a 7100.00127,350 USD-16,540
USD/JPY4 hoursn/a 11100.00120,220 USD-40,450
EUR/USD5 minn/a 9163.7498,373 USD-23,976
USD/JPY15 minn/a 2100.0028,570 USD-27,820
USD/JPY10 minn/a 1100.0020,400 USD-100
EUR/USD30 minn/a 1369.2318,400 USD-14,292
Dow JonesDailyn/a 13666.1814,847 EUR-4,759
Nikkei 225Dailyn/a 19161.2611,668 USD-9,449
Nikkei 2254 hoursn/a 6578.469,264 USD-4,546
DAX 40Dailyn/a 20664.567,561 EUR-2,779
DAX 404 hoursn/a 8274.394,895 EUR-1,747
FTSE 100Dailyn/a 11368.144,709 EUR-1,701
Nikkei 22515 minn/a 10100.004,349 USD-1,165
Nasdaq 1004 hoursn/a 11776.924,218 EUR-2,678
Dow Jones15 minn/a 7100.003,919 EUR-530
Nikkei 22510 minn/a 580.001,969 USD-1,180
Dow Jones30 minn/a 1080.001,934 EUR-1,729
S&P 500Dailyn/a 14862.841,862 EUR-534
Brent Crude5 minn/a 3281.251,079 EUR-983
Gold10 minn/a 8100.00648 EUR-163
Dow Jones10 minn/a 2100.00646 EUR-295
S&P 50015 minn/a 7100.00350 EUR-80.41
Gold5 minn/a 3100.00250 EUR-82.70
Dow Jones3 minn/a 1100.00241 EUR-211
Gold3 minn/a 2100.00170 EUR-52.20
GBP/USD10 minn/a 1100.00159 USD-88.30
GBP/USD15 minn/a 1100.00149 USD-120
Gold2 minn/a 2100.00141 EUR-67.80

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Dual Setup Band Dip Buyer
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Mean reversion
// Direction: Long only
// Timeframe tested: Daily
// ==============================================================

DEFPARAM CumulateOrders = false

midf = Average[40](close)
sdf = STD[40](close) * SQRT(40 / 39)
lowerf = midf - 2 * sdf
bbdelta = abs(midf - lowerf)
closedelta = abs(close - close[1])
tail = abs(close - low)

tp = TypicalPrice
bbmid = Average[20](tp)
bblow = bbmid - 2 * STD[20](tp) * SQRT(20 / 19)
emaslow = ExponentialAverage[50](close)
volmean = Average[30](volume)

15 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 BandsEMASMAVolume
Longer historyRe-run on up to 1,000,000 barsNasdaq 100 · Daily · older data 0.00 EUR

Nasdaq 100 had no history beyond the standard run, so both runs used 10,000 bars.

Nasdaq 100 · Daily

Bars available10,000
Net, standard 200,000-bar run9,858.00 EUR
Net, long run9,858.00 EUR
Net on the older data alone0.00 EUR
Read this firstKnown weaknesses2 points
  • Results include the spread only. Commissions and overnight financing are not included.
  • The code is published as it was backtested and has not been compiled again since.

Questions

About this strategy

Can I run Dual Setup Band Dip Buyer 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 30 market and timeframe combinations. The best run was Nasdaq 100, Daily, with a profit factor of 1.80 over 195 trades.

How large was the drawdown?

The best run had a maximum drawdown of 1,723 EUR at the tested position size, against a net result of 9,858 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

Volatility Spike Regression Long

Best run on the same market, Nasdaq 100.

1.22 PF · 1,850 trades

EMA Deviation MACD Reversal

Also a mean reversion strategy.

1.80 PF · 148 trades

Put your name on the ProRealAlgos waitlist to trade a tested portfolio instead of single strategies.

Copy trading on US indices is available to ProRealAlgos members as spots open.

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