Join waitlist
Strategies / Breakout / Adaptive Volatility Band Breakout

Adaptive Volatility Band Breakout

Upper and lower bands are 100-bar averages of the close, scaled by a range-based volatility measure. It buys when the high crosses above the upper band, sells short when the low crosses below the lower band, and exits at the midline.

BreakoutLong & shortIntradayDAX 405 min
n/aProfit factor
2,302Net profit EUR
36.15%Win rate
758Trades
-2,286Max drawdown
3.04Avg trade

Best run of 16. DAX 40, 5 min, spread 3, from run sweeps:2026-10-11-DAX40-5m-opt.tsv:14.

Entry rules, long

  1. If a short is open, this buy reverses it to a long.

Entry rules, short

  1. If a long is open, this sell short reverses it.

Exit rules

  1. A short is closed when the close crosses over the midline.

Test conditions

PeriodUp to 2026-10-11
InstrumentDAX 40, 5 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
DAX 40Best run5 minn/a 75836.152,302 EUR-2,286
USD/JPYDailyn/a 3644.441,012,050 USD-367,300
USD/JPY10 minn/a 59542.86383,840 USD-122,010
USD/JPY30 minn/a 56341.39344,280 USD-183,430
USD/JPY15 minn/a 58739.35327,100 USD-97,070
EUR/USD1 hourn/a 42843.4633,562 USD-12,680
EUR/USD10 minn/a 61140.1026,321 USD-25,472
Nikkei 2252 minn/a 68138.7718,322 USD-8,228
Silver30 minn/a 62539.8417,731 USD-17,257
GBP/USDDailyn/a 3056.678,095 USD-3,990
US Crude OilDailyn/a 2236.365,177 EUR-3,824
Gold15 minn/a 58439.901,900 EUR-617
Gold30 minn/a 58643.17991 EUR-840
Gold1 hourn/a 32239.44946 EUR-641
GoldDailyn/a 3537.14900 EUR-869
Gold5 minn/a 66437.35850 EUR-521

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Adaptive Volatility Band Breakout
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Breakout
// Direction: Long & short
// Timeframe tested: 5 minutes
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE vx = 0

hh = highest[100](close)
ll = lowest[100](close)

20 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

SMA
Read this firstKnown weaknesses3 points
  • No profit factor is available, because only sweep results exist for this strategy.
  • The maximum drawdown of 2,286 EUR is large next to the net profit of 2,302 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 Adaptive Volatility Band Breakout 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 16 market and timeframe combinations. The best run by trade count was DAX 40, 5 minutes, with 758 trades.

How large was the drawdown?

The best run had a maximum drawdown of 2,286 EUR at the tested position size, against a net result of 2,302 EUR.

Does it trade long, short or both?

It trades both long and short.

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

Big Candle Breakout

Also a breakout strategy.

n/a PF · 4,636 trades

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

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